2022-06-03 02:29:00,834 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-06-03 02:29:05,138 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-06-03 02:29:08.154  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Jun 03, 2022 2:29:18 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jun 03, 2022 2:29:18 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jun 03, 2022 2:29:18 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jun 03, 2022 2:29:18 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-06-03 02:29:20.748 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-06-03 02:29:21.860  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-06-03 02:29:22.558  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-06-03 02:29:25.832 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-06-03 02:29:25.837 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-06-03 02:29:25.839 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-06-03 02:29:25.843 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-06-03 02:29:26.047 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-06-03 02:29:26.050 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-06-03 02:29:26.642 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-06-03 02:29:32.640 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/]]} Jun 03, 2022 2:29:35 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-06-03 02:29:37.035  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 39.812 seconds (JVM running for 47.33) Jun 03, 2022 2:29:41 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-06-03 02:30:21.138  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-06-03 02:30:21.146 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-06-03 02:30:21.345 DEBUG 1 [nio-8443-exec-4] .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-06-03 02:30:21.348 DEBUG 1 [nio-8443-exec-4] .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-06-03 02:30:21.357  INFO 1 [nio-8443-exec-4] .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-06-03 02:30:21.359  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-06-03 02:30:21.360  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-06-03 02:30:21.360 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-06-03 02:30:21.361 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-03 02:30:21.363 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-06-03 02:30:21.438 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-06-03 02:30:21.443 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-06-03 02:30:21.650 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-06-03 02:30:21.735 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-03 02:30:21.736 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-03 02:30:21.739 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-06-03 02:30:23.278  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-06-03 02:30:23.280  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-06-03 02:30:23.281 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-06-03 02:30:23.282 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-06-03 02:30:23.288  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-06-03 02:30:23.289  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-06-03 02:30:23.289 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-03 02:30:23.290 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-03 02:30:23.290 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-03 02:30:23.342 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-03 02:30:23.342 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-03 02:30:23.343 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-03 02:30:23.349 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-03 02:30:23.349 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-03 02:30:23.350 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-03 02:30:23.351 DEBUG 1 [nio-8443-exec-4] 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-06-03 02:30:23.553 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 712829248973629835740511744322801834410026870895 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Fri Jun 03 02:23:35 UTC 2022 Final Date: Wed Jun 02 02:23:34 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [1e:93:0a:40:af:5a:f6:3b:9e:c0:04:93:5d:7f:c4:09:61:e8:32:c5] modulus: c0da5949d13bd46d23229e7f8dcae7a3c7360ee35a6eb2d3654d64aee97335ba3e4fb92654f45662c7cda6ded5fba8af94c5366bbe54159dcd320d26ec448e554d390d4bd11d21bc63b2a4693124d4924487a40e1219563a0d69f7be04e181b8fdc38924ab32effbd4bf1aff0b45354c7f022c1a6d692c5c14656b2189d2233f1a2149a3d0027945db4dc043f32fb1109384e5d5bf91cbd33a3de33312b812a5d52d918c8085c9b90e944b07aeca923cf3558d4c5990786dd00e518beaa1692a42c4239da2aaa96a549eadd4c43242fbd0bef57bddf8a613ecca1b67b143da943954cd4f1bd5b8c0a99b1481759a3ea633b7c1c399a12199c40350892a3cf6e09ee60c8a7f3a427862f83eb1c94ec543d0d904fce449504c06bd3d8b23cd1ac55289073ec6946c0e2587c9db0d669d56249e839b98dcf14a623f9dfa60527364d943adf4c1efa1297bf069082b362d59aac41efc63e98a3ad645af2251a7d8767aee8aaddf8f087d8b43691758e9cdcc2db2be73c898b7526e30218a7289948b public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: aee9e929a3a78ba3d761cba457d40b952694d205 aa4b5e6f223364f7d08f49bb908792b3d8fd0f16 56d57678be406bb4ba3c593899b0ac8086e9deb5 c301ff52841da4171edd07259a92b03336c2268d 2da8905bdef2de8b6898c42faac54d210f467fab 6838518fd14b2173dec429d195b0a467f1a387df a5112143696ba948d418e246f65d1e797f5ab39b 0b38025257cc70c516f7a330dceadf129da258b3 56608a31203ba3129bb41387a7afe8036b99703e 39588e2e8eed73f23a3cc291922e412562b72cea 235952e72c1fd415860aff289699d632f859fef4 7211b7a2d98567e4cf633ca65354824e5e52d5ba b929784cce337c1af34180068b612b1bcf58b45c 1d3d2cdeefc65945bff8086cc8073dfcbfbe9380 209a81164ef8feb42905b554ccc0a0870e4e8bdd d68a336c4ea7fb13ce3f0ef0f9923a9a7566e86e 166682bcb469ee1bf3a4bd071a6e1cb38a89c671 66db6c15560904d19ae66fcc5072b54abcefb829 541b97c2ad05c20f09ec539de3a21d0f81f7658a eac7ae20 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 [df:bc:82:68:9e:89:40:2f:15:b7:3c:c1:dc:8d:83:f5:ed:a9:f3:ce] modulus: c3eeaa58d003a01f69691329b41951387074e5b03d2dfce405aef0ee203634e3308e6a798699b758bdbe205692c6bcda94c966b65d9c33d5c830735239082bdd8cf81b9616b4a6942cbce767cb918617c167edde259da8fba765990c0e02d5b4935e0bf2b9278525a4dd9481ae0c8dceaccb1801bcca9ac11e4e27a2b6e8e65c51656118a27120ad5fe46cb86c50eaea9bd8a117880c27466f365f80cf9e2137cef35e7136553a19143a8c2ec725e1e5d739205565b108067c76a658ca325b7bc1c6972c4050314c24a7df7d1ba3e33887bca4ffa44032e91c7315f759e53975cb72103d4bd0888767cdcf2268c3c172340764df81b02972a3a7b403753900cd public exponent: 10001 ]