Results

By type

          2022-02-13 23:06:29,208 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.
2022-02-13 23:06:29,895 main INFO Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.5.8)

2022-02-13 23:06:30.581  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 13, 2022 11:06:32 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 13, 2022 11:06:32 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 13, 2022 11:06:32 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 13, 2022 11:06:32 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-13 23:06:32.711 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-13 23:06:32.984  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-13 23:06:33.123  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-13 23:06:33.710 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-13 23:06:33.713 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
2022-02-13 23:06:33.714 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-13 23:06:33.718 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error]}: error(HttpServletRequest)
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
2022-02-13 23:06:33.759 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
2022-02-13 23:06:33.761 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.u.SwaggerWelcome:
	{GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest)
	{GET [/docs]}: redirectToUi(HttpServletRequest)
2022-02-13 23:06:33.854 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-13 23:06:34.338 DEBUG 1 [           main] o.s.w.s.h.SimpleUrlHandlerMapping        : 'resourceHandlerMapping' {/webjars/**=ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]], /**=ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]], /**/swagger-ui/**=ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]}
Feb 13, 2022 11:06:34 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-13 23:06:35.204  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.597 seconds (JVM running for 7.987)
Feb 13, 2022 11:07:04 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-13 23:07:31.016  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-13 23:07:31.025 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-13 23:07:31.079 DEBUG 1 [nio-8443-exec-9] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 
CSR: { Subject: { C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=sdnc.simpledemo.onap.org }, SANs: [sdnc.simpledemo.onap.org] }
2022-02-13 23:07:31.082 DEBUG 1 [nio-8443-exec-9] .o.c.c.CertificationResponseModelFactory : Found server for given CA name: 
Cmpv2Server{authentication=Authentication{  iak=*****, rv=*****}, caName='RA', issuerDN='O=EJBCA Container Quickstart,CN=ManagementCA,UID=12345', url='http://ejbca:8080/ejbca/publicweb/cmp/cmpRA'}
2022-02-13 23:07:31.101  INFO 1 [nio-8443-exec-9] .o.c.c.CertificationResponseModelFactory : Sending initialization request for certification model for CA named: RA, and certificate signing request:
CSR: { Subject: { C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=sdnc.simpledemo.onap.org }, SANs: [sdnc.simpledemo.onap.org] }
2022-02-13 23:07:31.104  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-13 23:07:31.105  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-13 23:07:31.106 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-13 23:07:31.106 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-13 23:07:31.110 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-13 23:07:31.117 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-13 23:07:31.120 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-13 23:07:31.161 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-13 23:07:31.165 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-13 23:07:31.165 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-13 23:07:31.168 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-13 23:07:31.697  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-13 23:07:31.700  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-13 23:07:31.701 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-13 23:07:31.703 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-13 23:07:31.712  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-13 23:07:31.714  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-13 23:07:31.715 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-13 23:07:31.715 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-13 23:07:31.716 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-13 23:07:31.731 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-13 23:07:31.732 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-13 23:07:31.733 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-13 23:07:31.743 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-13 23:07:31.744 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-13 23:07:31.745 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-13 23:07:31.746 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Verifying certificate CN=sdnc.simpledemo.onap.org,OU=ONAP,O=Linux-Foundation,L=San-Francisco,ST=California,C=US as part of cert chain with certificate UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
2022-02-13 23:07:31.771 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 696018187943325622654721715660831742524878246377
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Feb 13 23:04:49 UTC 2022
           Final Date: Fri Feb 13 23:04:48 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [bf:22:ad:b3:5d:db:48:3b:3f:86:ad:a4:73:6f:9d:52:24:81:cd:30]
            modulus: b6914589c7071c6b2203fa556c37f98b42482e505262629ed46a268bc664160d24aaa6441667a81f0a589c1219ff75b3a6d3b85263ad039a05e901cbca9f985a19512f69607b5bb4d9e7ae463a04e59e9e017c9f0a022326c97dfa1155e6fc510c194f2aae02b686fc83453ad8c29579905eaa0da192ea329e82d2663880e611e78a14bbb50912c162ff1865c1ec1090852cab17d54053763872493d1f5b93ac1e443fd2fb85e86f5a846db19c29e23a161c645e9dd4f4dad9b9fe0a840b90d6e2ef7a3a81ff08ca24ca23300e0d4c6fbbb4c5fdb21ed5f9de7dcf3d84eb384290a02a634a061dad9c9066104d3fe4953a039d3ea0c3846637e344de50516bd6dbfb03637fd1af7e73b3233ba9922ee013025a7e4d3b7cf56c78ac81e65047adcf70bcd9c455409c13a7035624af4c4a835cf1a4e4b1d8c2d2c8a34e6fe13fa2b8e412f74e0eefc5bcf1b92e66b42f1f61e8ecb876f5fee95e796722b2cfc2abe5d6ad8bd37489d2c69fef2660a54386a1d432fb22eda0ec77c13ea9fde19c03
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 8b5ed8c61ea92dd7a88c6b6755c994e8e88288f0
                       1f111bce8bd45f075a038ddcbe8cbf8682882568
                       5a47848604cfca9b7565a2b59874026a70a3cbb2
                       272d13751356ebd3350d3310cf1bd9ba2ea3ca58
                       dad538956b3d6474ec26f5159d9ef40358c6f307
                       d3f7c97b7638fcda456f4d2d9740705bb534dbb6
                       ed0cf1fe467855e8704c5f860b0c04e045a451e1
                       3c1997430756b233bb64805ab31e00d17f271b52
                       92415374f1e67682c27661febc5795ee9016d72f
                       4567f80c00bd2175348e175ac6c2508dd0814981
                       e4fefc9ba701d1327e3b304d4dda7f675c6f4d8d
                       c423aabec0023a9788db3bf76bd75d9d7accc405
                       a8c9e7786f497066696d5c185f5a38c44a6dbe0a
                       a9bfdc4d538db80b64c8636ca5ce6929adc9dd17
                       d62594612eceff6ba853932022962e4c83506ff0
                       ffd5c36cfc55bd0ea74a6e7762258718849b413b
                       36ddb92ed529c6353ba06b49fc1c8753ee2bce7a
                       d148e356f97439f8264a8daa12c7fa889eaaa783
                       3beaed768e15d1cd0c471e89d924ecbccd87e1cc
                       a132db32
       Extensions: 
                       critical(true) BasicConstraints: isCa(true)
                       critical(false) 2.5.29.35 value = Sequence
    Tagged [0] IMPLICIT 
        DER Octet String[20] 

                       critical(false) 2.5.29.14 value = DER Octet String[20] 

                       critical(true) KeyUsage: 0x86


  Policy Tree: null
  Subject Public Key: RSA Public Key [f4:ad:ab:2b:64:c0:b9:cb:c0:7f:2e:83:b3:9e:5e:5c:c1:25:4e:1f]
            modulus: c7f5755589df627a0e33b8f28a27730842e29cfe1b68154c9e9eb7f13437bea48ef2b32d42cf3015ba5372a643c6c074632949b0ce8f099d18417b5e121748283daa0223b15213183e410fae15891d6cddaa2cb7ee24144374187a1989b807d3ac2abaaa0080b7c0488188e10912c1cbe7e49127a926eb0f9b78f0853a7758e7ed89af53b3023c882c590dd428afa853b4087b25a454b313a6b1ee7a2c2da70f369a4a44c94922b334525a8f2ccd85256f0412526f89b05bed45335ce3d79cf178266c89fc05ebd7afe1d685f14059f2113eb60f282184e8343e1c37c482a9d2c0c6fad494bcb7ccae9c01c1c7f018690327592cab8fb9354cc9e3381208791f
    public exponent: 10001

]