2022-06-14 05:14:27,409 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-14 05:14:28,436 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-14 05:14:29.323  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Jun 14, 2022 5:14:31 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jun 14, 2022 5:14:31 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jun 14, 2022 5:14:31 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jun 14, 2022 5:14:31 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-06-14 05:14:32.126 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-06-14 05:14:32.414  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-06-14 05:14:32.598  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-14 05:14:33.310 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-06-14 05:14:33.313 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-14 05:14:33.315 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-06-14 05:14:33.319 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-14 05:14:33.359 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-14 05:14:33.362 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-14 05:14:33.490 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-06-14 05:14:34.121 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 14, 2022 5:14:34 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-06-14 05:14:35.049  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 8.489 seconds (JVM running for 10.397) Jun 14, 2022 5:14:56 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-06-14 05:15:14.688  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-06-14 05:15:14.695 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-06-14 05:15:14.732 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-14 05:15:14.735 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-14 05:15:14.750  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-14 05:15:14.752  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-06-14 05:15:14.753  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-06-14 05:15:14.754 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-06-14 05:15:14.754 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-14 05:15:14.758 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-06-14 05:15:14.763 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-06-14 05:15:14.766 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-06-14 05:15:14.804 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-06-14 05:15:14.809 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-14 05:15:14.810 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-14 05:15:14.813 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-06-14 05:15:15.589  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-06-14 05:15:15.592  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-06-14 05:15:15.593 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-06-14 05:15:15.594 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-06-14 05:15:15.603  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-06-14 05:15:15.604  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-06-14 05:15:15.604 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-14 05:15:15.605 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-14 05:15:15.605 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-14 05:15:15.617 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-14 05:15:15.617 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-14 05:15:15.618 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-14 05:15:15.623 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-14 05:15:15.624 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-14 05:15:15.624 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-14 05:15:15.626 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-14 05:15:15.652 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: 440546989318437656440708508511703954368210451790 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Tue Jun 14 05:10:58 UTC 2022 Final Date: Sun Jun 13 05:10:57 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [d2:1a:9a:7a:e0:a7:2a:44:99:43:16:47:aa:c6:99:fc:8e:9d:0b:f5] modulus: c9749034f4f80395b3f53038425e5e9fdbe9750c0eaf999677fb52eb82e1ee14c151721352f349b4b787e64fac95d69662bf53e3d215fe8b88a024d6d0d81bcaaf5c7dfbe5c44849ac892e882309a3d830195637de691528d25f1afd2c1b88a8004563e34dfe92c21c84d57298672c32a2fda83ee9a4e4dc9c7c6005a3d0ea19d43791bf47efd877961183e27322ba945f2864ceb30c42327b1b22cf74bf609608a2cde641c24eaae60689fc894ecef8f5a8c9a02d87a0903fc3449501bdd16a913fb4a2838ea8f028f258bcb7b33cad1afa352827832cea983653aca326b965b0f85c5ad99490d24d1bc25aa0d12d46c926c7b98071e7ae9196c5614420051e4f81bb19e0a1650b8f1efdfb430ce4a9548bccb921e7fa2702f0c712fa187420700242a3a3f7aa3cf8a02af5cdadfab0a262e392385d1c7514b9e2274ad361d0f3404c042044b7d028ecca7a9ed7c02201aabeee73018bd93ff36d548a86ad5271455519c84b81d323748a5a3f937aaaa4457497c1b211aa9bbb93acace525ad public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 1c0999be5b6299cc052a123c78f6046bcb5a0fb4 ac6a49d22c05766a93bc202e9d78868574919dd0 3c56e80dc2b44ae7a1f997f64c96f8c145ec5474 7a5ab8e969ba7fd9f7df8c1674e2611a31d7daed 4ab0bb766528f1617c69070a2d0c2c3017aaa228 73d0df00adcd7a63a7572f56f2f3cbe073da4148 1a17d00b7bd17c43c85e5dba04ebcca3f219b6f8 491bf2478a709ce210aa69d05e27eafbaab2e8c1 c186dac8c2199b7f2beecef12713a65df25c753f 5eb7407c33e3e5e10afb05501b0d1c7008111595 ce24b59744793e712bcb87d9019e9533fb2d4806 7f24120c0e1988a90f78eca7c9ca7245021768a2 67b677950702d4888280494fd3eebbbfa1aa6950 83426a00a565a6a7812967dd249e021e867d45cd cdab3dfb6891c68932b705578531bdca1a6efca4 d7f30a4e7ee3d2f46a5629af1657edabfa866688 dc3f9cddfd392a32405c5b5ee7bd6da49e8ff7ad 9a333e2510e5b1e629c6de7dca946447d39efde4 cc7cea2d0551a3f741e47d7a190576f80593e57b eb4a9344 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 [46:68:c2:a2:c2:2a:64:38:28:c4:30:5b:b8:d1:00:5e:e8:e8:64:30] modulus: dcf2f7b359d79adfcc6f06508d8ce5a166364bbc847620b39a89870bce254dd7d1c473af31abc22bf8213b6e89aa2356abdaa7ac244966831b478f7fa552fe3a6c1651e8ef42fd3ebbd3f4239010c213699b74ac1c1aed2046cd46cc273a0bca7ed98bb6505a05b10de39a0f8cdbd68a1302277c72ab5a0155b248dd8857bd79da955e139ef5354a59ce51d2d97c16e3ffa543a66bbee501f9a5be5c8f818d470e78ab45698930b885acae65e3d8ce3fd9b65b1def18ff78dc9122a9563c2e6a69a0f197be33615fd7fb787fe0901a371706ce247f59176d5b73fd3cfbae693b22e9e2fce5988d07711de25f07eced49a58ddc76c9cc425fc3ea7be016f56937 public exponent: 10001 ]