2022-06-15 05:16:33,406 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-15 05:16:34,379 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-15 05:16:35.206  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Jun 15, 2022 5:16:37 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jun 15, 2022 5:16:37 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jun 15, 2022 5:16:37 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jun 15, 2022 5:16:37 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-06-15 05:16:37.829 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-06-15 05:16:38.144  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-06-15 05:16:38.311  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-15 05:16:38.990 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-06-15 05:16:38.993 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-06-15 05:16:38.994 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-06-15 05:16:38.998 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-15 05:16:39.038 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-15 05:16:39.041 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-06-15 05:16:39.174 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-06-15 05:16:39.777 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 15, 2022 5:16:40 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-06-15 05:16:40.675  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 8.225 seconds (JVM running for 10.141) Jun 15, 2022 5:17:05 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-06-15 05:17:34.455  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-06-15 05:17:34.464 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-06-15 05:17:34.501 DEBUG 1 [io-8443-exec-10] .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-15 05:17:34.505 DEBUG 1 [io-8443-exec-10] .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-15 05:17:34.522  INFO 1 [io-8443-exec-10] .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-15 05:17:34.524  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-06-15 05:17:34.525  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-06-15 05:17:34.526 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-06-15 05:17:34.527 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-15 05:17:34.530 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-06-15 05:17:34.536 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-06-15 05:17:34.539 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-06-15 05:17:34.582 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-06-15 05:17:34.587 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-15 05:17:34.587 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-15 05:17:34.592 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-06-15 05:17:35.534  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-06-15 05:17:35.537  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-06-15 05:17:35.537 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-06-15 05:17:35.539 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-06-15 05:17:35.551  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-06-15 05:17:35.553  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-06-15 05:17:35.554 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-15 05:17:35.554 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-15 05:17:35.555 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-15 05:17:35.566 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-15 05:17:35.567 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-15 05:17:35.567 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-15 05:17:35.574 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-15 05:17:35.575 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-15 05:17:35.575 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-15 05:17:35.577 DEBUG 1 [io-8443-exec-10] 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-15 05:17:35.608 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 352432694724517110097191288886924916916922022618 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Wed Jun 15 05:12:28 UTC 2022 Final Date: Mon Jun 14 05:12:27 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [9a:a1:70:95:df:27:07:d7:7f:18:bb:e8:58:97:b7:11:0a:9a:0c:54] modulus: bed468283037f9b5ff38e1ae3287c1dd768a714c8016e6b69eb16c490e98cf23eb2eb109bbca517635ac215e12102d317646a3eb0270ebe66cce27447358454b9508f365084ec87c1db30f2f4058fdba047bc1693f217038080d2b3d65c574e739d8013b680160a3954daac7128a8684fb67bc5a4f5d2bd813822ee519991e548db692e975a9531f419da4d47a3588d93aeab1f5a02bc0dba2012ad99b0724c1eed32480a8e9a7d784dbb14e63d3c203dff6fb39a6d369f407c4e7895a0708e4d15c5bd35366102096bd46f99a22466a4e4a92e1dc187c075ae80c62296f2b972e0e4b0d150adc1d7bbf5285d5622db66b4db8346d6e05ad7abf104e15d9d969d48002acd9c835a6bb284ea24d7421f342cc7d95d09857d22b0d88f7db950d48624f51a3055cc99140911bd09fd2da70e66d54319c1991fc9a24c2ba302c875be2f8d5b183032af1349d255be17ffe87477aeb99583e08d4013f93e328968bec3fb9e681f3898ba5d27143d0a9525a49b39c6d5ee263fc2c443594bb76836723 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 70358cceba7d4c56f34eb452a95c6b344f18b578 0bd850bdd286b0a8347aee481846a864c61f737d 1a854fa193f4105b1ffefd5bb722aa1a168bb282 78c726f9602be944c7cc26732e8090f2469157dc 209924e39529d0592a480f9bb170fd41d5173fb1 6484f62bae046d9c53d66e2b3997b39e10e5c68d 6ecaf3892bf8e4a960db91f732a8ce4e1fd7c2a0 646dc4a124559db90939d7d242242181dcd5fc49 cf289ea93c69f86339b4b24f0f7e77c8c50de2d5 e3453187f4dbb77ab1c6100cf3b46fc40080ae2e 6feb13e8296909e68f3f74d0a56b943dac6b0fd4 6c230aac50494bb60b2f68fb95cc9ad2f3c3c85b 6436312c6c82ab93585fc9fae29dd293e7b88ee6 51734b802fdf6d25a242ba15e65c8fba3e562fc3 d65c236607d8f54de29bac86965d3440f975efb5 6dbd33ebe1edbb4eb070ebb60d3f8eab483efe14 c39282988065f5de2e65c6b52145a37301e965a0 6a35dd877f3e4889aa8d404ff46399e66fc96b17 aff1d60f5154c7c752a7490f8d17701dcc45f64d efed89c3 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 [60:ed:d8:5b:17:a0:62:6e:8a:8e:cf:9f:fb:7d:63:4e:62:d2:79:d9] modulus: b28078d7ae5ee4855d495e17ebd58cc89d09a7d1cdf64696a9fa85b7a959cf827abcf9016b3aabef7ed3a6ab78378d8829729cf924ce7a759d5d55cbaa775cf00a4e02882ffe660b318b02591ab30f3dbe3d4234714d17005588d4a92855e4a45be565fb18fec02776e4653b59c1288661039d52d2d69998badc0250fb2f65803100b1442bbb057f27bb04f08d89c5077c32d6b8f445ced75ef4435e321b3d31a82a212d7a8f7f3759fe7ab905445ef29cf4624dba801533eadcb08777ed1ad696714128240166e8fad58268f67eaed45aff54d33f6816595894c66c6241255aed2351ef01ca4e47898789122bd6165eb8f0a5668a972c386ed38fd2aaac9ab1 public exponent: 10001 ]