2022-07-20 03:18:11,306 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-07-20 03:18:13,608 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-07-20 03:18:15.017  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Jul 20, 2022 3:18:18 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jul 20, 2022 3:18:18 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jul 20, 2022 3:18:18 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jul 20, 2022 3:18:18 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-07-20 03:18:19.803 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-07-20 03:18:20.230  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-07-20 03:18:20.465  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-07-20 03:18:21.583 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-07-20 03:18:21.589 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-07-20 03:18:21.592 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-07-20 03:18:21.603 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-07-20 03:18:21.672 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-07-20 03:18:21.679 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-07-20 03:18:21.872 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-07-20 03:18:22.828 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/]]} Jul 20, 2022 3:18:23 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-07-20 03:18:24.388  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 14.601 seconds (JVM running for 17.662) Jul 20, 2022 3:18:43 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-07-20 03:19:04.426  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-07-20 03:19:04.442 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-07-20 03:19:04.530 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-07-20 03:19:04.539 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-07-20 03:19:04.571  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-07-20 03:19:04.576  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-07-20 03:19:04.578  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-07-20 03:19:04.581 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-07-20 03:19:04.581 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-07-20 03:19:04.587 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-07-20 03:19:04.604 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-07-20 03:19:04.611 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-07-20 03:19:04.679 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-07-20 03:19:04.687 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-07-20 03:19:04.688 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-07-20 03:19:04.694 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-07-20 03:19:05.449  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-07-20 03:19:05.454  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-07-20 03:19:05.455 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-07-20 03:19:05.458 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-07-20 03:19:05.476  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-07-20 03:19:05.478  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-07-20 03:19:05.479 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-07-20 03:19:05.480 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-07-20 03:19:05.481 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-07-20 03:19:05.512 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-07-20 03:19:05.513 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-07-20 03:19:05.513 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-07-20 03:19:05.529 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-07-20 03:19:05.530 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-07-20 03:19:05.531 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-07-20 03:19:05.536 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-07-20 03:19:05.612 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: 92657408065287363658614600528341741363136548179 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Wed Jul 20 03:14:52 UTC 2022 Final Date: Mon Jul 19 03:14:51 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [b5:b6:5e:88:44:75:46:53:eb:ac:b5:3f:63:2d:23:20:61:94:0f:80] modulus: b412d0fd1159b01e67943f15d5925232d2395344a0eac0e29ca3070b2aa1f8676933012d795241e4353219a1da6223e90f0dc1632fa8d7a852bbf713e2e1d51381866dd73cf37bbb97245845b4c7988ec9959db19e9d8611cd34f320a21089156f6b4cb0c02b5a08a6122443b05ce9e394825b1c8c7bc5b6097a38c9fef64f9658a415de2ebc8d715b61882d480b3ea848f9a92924705e9ffa2c7fa650e7e01a210a0c8ad33051a20e0c6790e772956bd634f91409f44cf3566d2ac4ba1d56cff76400454cdb6013f1c1af7cdfa6b8547ee5fc5156bf6cd2520bc08f25fefb26861d26cecbf679bce2521da8ac2dacad723cf57454c1ab7b8b3513255be857fc56accb1f8a1c93fb161ecd5b93726d40f44915d405df7833dddf8329303af5b21bfba3282713169f92ef798b3705c41b7a09ea0a966701d99623eee081dc54f4b56018cc2dcf99ccbf0173858fbfe41455631eca808ffb2240f7d476b5477f6fe0d831eff8121ef0e8e0df1b869d184af91435b0fdb2dbb289c4f2c19fefa03d public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 702b499df368203c89e2f05ea2121998003ccf35 777f341f0a9843100723b43ca245059389d5e602 f1d48bf77fc6f7000dca876c093664e42a6f729c 959fa013d6b1e57b0125e1a65f8032c546848bb7 265af75e0499f695f16dd5cf79bb41ede87b2927 41c612bbaa2c495c0e629b220b24986af00701f5 394aaec1a8e1857fd5b4885ae3c2f573dab42441 11a9ac3d6c79580c2c160d081f4c3c7cbd8efdfc 3279a656587a0082730cd28e976ae529415e2d13 14f0985bfd42e4c486f46bcb6ae2924e53b37bb1 32ba3183ca020f1bc1999cd7c1d27e2871c1ae4a d283b904c3d3fc540914714e68cd846c140cbd5e 74c8dcc1a41dfc0d4536c29818761d3a75bb6463 c3a6efaf719aa0530ca6715dc9eadfdecdc335ee 22ab3df86ce45c22a30e6d642ebf9c7ed6234ed0 c1ae1265e28651805d5fc2f00f6cd8eedc3a72e2 610cf30d06fbab37f23cfd4e77cbf6dd0a394fe9 7b11a837707f53800e3a4367872de67592f06c7e 7b0d5a53f58883a3ca6c11d2c3791d56ed876871 1682ceb0 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 [90:25:bc:0b:ee:d4:2d:3c:6f:73:85:19:83:7e:03:08:8e:db:42:29] modulus: 9eed22edf8f430d1fb8af97b619f5753e8785e20f5bef298f6c576417e9140fd5e57b90a740b1f2c31c460791ff19513ea0aa86df06e68baf4fb273e060c2f9323278fb6fe0f575623ff1f89db5d0b7c8f742f6f3e30fe8b8eb8011063d0754072c361d50850b34ce962ed1064920a4a383ec8218100847778bc91f26c45228551276564ae0226add9bb6c6a7030cb6765aa3181152798e8b1a7a14c88fe3c50a3783ce65cc79df90bc104b35882d0c81b784f67e42b902535369ddf21ff0ad5de8b458f292c0abe1967b0bcbf35ee89acbc18699fb5315c7c7cec8ec9f7473bfe57f8a143afc0535769c138e90e826c882c579e481833fb5f3065d98ebf078b public exponent: 10001 ]