Results

By type

          2022-03-06 05:04:15,178 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-03-06 05:04:18,149 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-03-06 05:04:20.192  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 06, 2022 5:04:26 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 06, 2022 5:04:26 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 06, 2022 5:04:26 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 06, 2022 5:04:26 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-06 05:04:27.869 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-06 05:04:28.627  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-06 05:04:29.181  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-03-06 05:04:31.301 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-06 05:04:31.309 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
2022-03-06 05:04:31.314 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-06 05:04:31.346 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-03-06 05:04:31.472 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-03-06 05:04:31.481 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.u.SwaggerWelcome:
	{GET [/docs]}: redirectToUi(HttpServletRequest)
	{GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest)
2022-03-06 05:04:31.781 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-06 05:04:34.059 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/]]}
Mar 06, 2022 5:04:36 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-06 05:04:37.197  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 24.294 seconds (JVM running for 30.237)
Mar 06, 2022 5:04:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-06 05:05:08.005  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-06 05:05:08.068 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-06 05:05:08.182 DEBUG 1 [nio-8443-exec-2] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 
CSR: { Subject: { C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=https-server }, SANs: [https-server] }
2022-03-06 05:05:08.201 DEBUG 1 [nio-8443-exec-2] .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-03-06 05:05:08.323  INFO 1 [nio-8443-exec-2] .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=https-server }, SANs: [https-server] }
2022-03-06 05:05:08.344  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-06 05:05:08.350  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-06 05:05:08.354 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-06 05:05:08.355 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 05:05:08.364 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-06 05:05:08.378 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-06 05:05:08.386 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-06 05:05:08.512 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-06 05:05:08.535 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 05:05:08.574 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 05:05:08.584 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-06 05:05:09.553  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-06 05:05:09.565  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-06 05:05:09.566 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-06 05:05:09.571 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-06 05:05:09.604  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-06 05:05:09.607  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-06 05:05:09.609 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-06 05:05:09.609 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 05:05:09.610 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-06 05:05:09.638 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-06 05:05:09.645 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 05:05:09.646 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-06 05:05:09.665 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-06 05:05:09.667 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 05:05:09.668 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-06 05:05:09.676 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Verifying certificate CN=https-server,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-03-06 05:05:09.770 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 669221312998707317386973680667748394096563869824
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Mar 06 03:04:20 UTC 2022
           Final Date: Fri Mar 05 03:04:19 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [52:9e:0f:70:28:7c:fb:46:70:91:84:0b:53:0a:57:8e:aa:27:15:5e]
            modulus: d859b8a2394a3a73b8ce93e682f641142176356101c783ff09f817e7c18b290e3d7389d46448ba0fda4504c71fc5a0474f8d9a07f2558e96cd1d4d7fb6c4b81483fe10dc5876953abb2d6077690a6d9fb06ae311bda86d6fd76b41ab686484533eab4048d5f832243c6979fca31baf1eadbc7ec7cfe27950db7fe5130b7ba929557a793b78bba1a4abd42976da69a150529fca81d571934c0f09cf81e5c2890b8e7b1c521c89438c257e32ca8a35114d5bc4d1b1d1243c4bda1831a1962dc41492391e6b92bffdfc525b2658df6d038f73bdabf560d5a5e8978fc7d19982ec2632acfb52a787ef0170c4a5172fe3a95c2fe0ca9a93ee1627fd1848af89187d0c43f48e407640b47bf6818123fc94a20a80e3cc34829dccca9ed82c463114692b8df161391770961e17df40d0d7848caa26adf33ce8369932f26b11d496d4b9604e3d9690644901a773ef274bb27d9aeacc818f3f4e58037ecc3c20b74e17d21c5d7b316312faa32e401a1c27684847d10786212572e347dfd947d6fa08f0b245
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 134092919a10d2c689ae475f842f4962b52c0d0f
                       4262bd85628f53175f389ba4bedb468fba296b37
                       21a09d08a3b7d330fd84cba7a19e18434d865f5a
                       2e6688cb40bb59dd0e0fd2ff363c2c3fe0dfb314
                       35c2327656a64099df0e8c81d819555fbf356ff4
                       5cb9c51ea8d75388fab8fe77957b429a31956abd
                       c95d4b1037f391a5e370776f95076e67281a35f6
                       86dff3e274f2b254904ab2d0df6c4120831555e2
                       96cbdcccaa826193e18dbba4e5f51b88e1eca255
                       c0aa70502d7a91978998e43324c73ba6a539585c
                       13ddcfd146de6ce794504c6b30d64687e728c745
                       a3853a8e486c1a0259609830a2d34d6830c91aba
                       c5c30de9898b5aca515c3d661418cca6a478f99f
                       a035c1988fd1dd03e9f79fba5f50b8c910ee99ca
                       5a1eece5eee7584033e1dbf76990fab4961cf8b9
                       720fc18269f67d6baf2959ea433ec394d948bcd5
                       127eb64b10a63f0c98c021a7fb040d5433be1972
                       5a173aff6e5879b43401ab7f4b2e947e3003c827
                       dac8485fbd3ffe7776ef898fcc765f3282ebab94
                       37876373
       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 [d6:41:8a:d4:1d:57:85:02:c8:3e:ec:0a:79:fb:34:0a:54:8a:55:38]
            modulus: bc6e2601406a6ddd38b409308d261825e0bf0d9ac68f1b850887fc7478fe84ad0d4fa68a9ca3220bf7063f711a303627806008624bc033ec3af25680d7b542bcc21605cb519d1a627f6d6004630a01b6f0578ac5371a0d0a096d16beb5adca267468b453da3a4648d9fd2ec8d34870525400842d060550bb7afbda5d2f176073d22556c92a9ee126fe2d630db0309a014d0f788153d3661bf10f2705302da00a4aed990e9ed8d1b8f808599c21c9360a74431e7a5830c5008957362f2a592990bfbcfbdcb49a96052b75a4fd1622d8296d7c0423b386ef330dd5225dc3009d7d27ba4cf6786232b75b6b0058bf2dde5eb2ab7e1af1f6e7652ae2540c9dc6cb87
    public exponent: 10001

]