Results

By type

          2022-03-05 12:05:29,525 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-05 12:05:30,339 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-05 12:05:31.118  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 05, 2022 12:05:32 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 05, 2022 12:05:32 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 05, 2022 12:05:32 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 05, 2022 12:05:32 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-05 12:05:33.404 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-05 12:05:33.660  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-05 12:05:33.836  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-05 12:05:34.417 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-05 12:05:34.420 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-03-05 12:05:34.420 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-05 12:05:34.423 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-05 12:05:34.460 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-05 12:05:34.462 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-05 12:05:34.569 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-05 12:05:35.090 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 05, 2022 12:05:35 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-05 12:05:35.930  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.972 seconds (JVM running for 8.258)
Mar 05, 2022 12:05:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-05 12:06:07.877  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-05 12:06:07.885 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-05 12:06:07.926 DEBUG 1 [nio-8443-exec-8] .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-03-05 12:06:07.931 DEBUG 1 [nio-8443-exec-8] .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-05 12:06:07.952  INFO 1 [nio-8443-exec-8] .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-03-05 12:06:07.955  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-05 12:06:07.956  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-05 12:06:07.957 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-05 12:06:07.957 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-05 12:06:07.961 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-05 12:06:07.968 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-05 12:06:07.972 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-05 12:06:08.010 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-05 12:06:08.016 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-05 12:06:08.016 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-05 12:06:08.020 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-05 12:06:08.518  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-05 12:06:08.520  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-05 12:06:08.521 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-05 12:06:08.522 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-05 12:06:08.541  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-05 12:06:08.543  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-05 12:06:08.544 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-05 12:06:08.545 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-05 12:06:08.545 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-05 12:06:08.560 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-05 12:06:08.561 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-05 12:06:08.561 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-05 12:06:08.569 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-05 12:06:08.570 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-05 12:06:08.571 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-05 12:06:08.573 DEBUG 1 [nio-8443-exec-8] 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-03-05 12:06:08.601 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 592526160964498373086695960617070788731333088988
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Mar 05 12:03:16 UTC 2022
           Final Date: Thu Mar 04 12:03:15 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [22:ff:9c:4f:90:ec:9f:23:7d:36:a6:73:72:9e:06:76:ec:0d:01:c1]
            modulus: aeb80ea0a1a6777ce55d5e294354d4425b8294f7172a1842501cef54a9e3473d4b6366f2159ff3a53bff9bd62a66c12c8407041b23a5bc045c3070e109a19d762ddd2e85d96a432a2bd965f7be39adc29e205b77a2679eb20cae7e6c90bc08914bbffac904e51b511adbe0633534f5628e8bdbd2ac5477fd6fc1835564d16d115f74b7d66c4045bd7a3fe32b4f0927cbbb0491cfa9a822e48566109b441b82f995cdefb21e10a61634078b614e4a7d9d9f3a8cbe83ae8a30fd18deab23a6b0593a3a74e1b7e8cd648b7bfb96675b67a2318a442cff29350ad5bd766c96c27aeb47c11a57cf13be56aa1ffdd5d9d95366786c48bf6266d642cb23de02934765129d3f4713c650e7621f128f0ee95bf4e605cff77622d184117ec915892437e96693db11322685626a2701479fc24ce216435f1dbbeb06e195c81c8c73e0b4b5823f9cb04ba7f1fa7a68b9d95c848d8cccac76999401f3d50637d8cb4e3597179d3626b853677b807e3505ecd4b34271b6c2428cbf680e383f33d123375fc35a1d
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 5f03e017e990ce437e37868fa0d540881fa2181e
                       0a1b15d532e6293d30ac110c517fd4d664a29cbc
                       8653b25cfc1cf22464ad69fd9cdcc7b4e39dea66
                       1d5c759211b276cbb3bb2b66d9fc68832526a5d1
                       aafd62006bb7e6160b766c3e6e99b2047753c803
                       c0d1256f15c24510a927b48f270bfcf2920c78ac
                       849df00a4ebfd0548d1182ddd961b6153709d43e
                       652a53bd24684d2d98d03b591886733d91320186
                       dbf8393ba8cb06cfbf2cdb8a633df98c924d0375
                       56c55c511adac914a4decebd21c9fe26d38e8685
                       7e2cf924e3f4c8555cd25892d084e9c656e5f2ef
                       ff7e7c828d58707f6272000d5b3e25efe59ed552
                       8a2b3b86d40abe6a88b6501eebdab8eb2fe0e25b
                       68082446ed5eb281f50679097313d34b2577fc39
                       bc4620779df39ba01aa793bf65104adeb91fa1b2
                       e6221e8f03b44ba54b92a88a1046afdd31c94d91
                       46b487b7de332a958471b5151ceb45fd7991e2ba
                       0d8595f95466d4316ad5c1f8b5bb23c4aa033fd3
                       e9306ac1e01b35db5cded2c07f4e02233887ea76
                       7eb713e6
       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 [4b:f3:0b:29:f2:78:f5:bb:6e:b5:22:c8:b6:a6:e4:a0:ee:0d:78:36]
            modulus: cf0e63777d3fa7e582cff933cde7ab7dd1ed3b835ab17e4fb299754c9efedb6598bd6f2046e2ee1a57bb538f9485125448b8f5d31f42b146713d2a5c00e49771ffb1226869b9fccc613f5ddad5e6a6b1ac4eabe7f1eba8e933abafc775ddfd50d9f2862103ab878cfb7d4b2d359f68b20d3758fea15f17136726b230093fab1f7741fb52c6ac31f851b402f6a25c0b91ab218a3fc54e9aba079f7997aabb20f1f2d4ef3d59b59004694a636db1ad5d937bbea2db30c31fc15e04a85ec38e85f1ebf0fa56c97b765cfcdcd0fc2698eeda872dea6128936aa837110bc03138fdb0ebab852738aaff79f925f9274fa7ee626a5345e97ba723c54416c0ded21b8ae3
    public exponent: 10001

]