2022-03-28 05:07:00,034 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-28 05:07:01,459 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-28 05:07:02.738  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Mar 28, 2022 5:07:06 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Mar 28, 2022 5:07:06 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Mar 28, 2022 5:07:06 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Mar 28, 2022 5:07:06 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-03-28 05:07:07.217 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-03-28 05:07:07.715  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-03-28 05:07:07.977  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-28 05:07:09.180 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-03-28 05:07:09.185 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-03-28 05:07:09.188 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-03-28 05:07:09.195 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-28 05:07:09.257 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-28 05:07:09.263 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-28 05:07:09.446 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-03-28 05:07:10.343 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 28, 2022 5:07:11 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-03-28 05:07:11.865  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 13.082 seconds (JVM running for 16.461) Mar 28, 2022 5:07:35 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-03-28 05:08:03.508  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-03-28 05:08:03.611 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-03-28 05:08:03.716 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-28 05:08:03.747 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-28 05:08:03.871  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-28 05:08:03.876  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-03-28 05:08:03.878  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-03-28 05:08:03.882 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-03-28 05:08:03.883 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-28 05:08:03.894 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-03-28 05:08:03.938 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-03-28 05:08:03.949 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-03-28 05:08:04.050 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-03-28 05:08:04.077 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-28 05:08:04.079 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-28 05:08:04.087 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-03-28 05:08:05.170  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-03-28 05:08:05.174  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-03-28 05:08:05.177 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-03-28 05:08:05.179 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-03-28 05:08:05.199  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-03-28 05:08:05.201  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-03-28 05:08:05.206 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-28 05:08:05.207 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-28 05:08:05.208 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-28 05:08:05.236 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-28 05:08:05.237 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-28 05:08:05.237 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-28 05:08:05.252 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-28 05:08:05.252 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-28 05:08:05.253 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-28 05:08:05.270 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-28 05:08:05.350 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: 290595705179917562767702619661746609852316807951 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Mon Mar 28 05:03:33 UTC 2022 Final Date: Sat Mar 27 05:03:32 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [77:fd:c4:b3:24:2c:0d:4c:76:ac:00:94:15:53:91:10:3d:79:f7:12] modulus: c16e28524b00c1c43514833c7541c40d9d5f68a96e0ae17bb2e8cfef4cbe7d2d00875d4d194f993e1e7aad8c18366db072843a843eca678d5763fa09c5075595f2dd2b9d2003365c39991377a3c2dc3f4c7acafba80af5e05886ea6f0b4b9cb08f6783a779557b9a935d3108574b90b677818f8ab3ad4e3cf7f7f96f4459d5b8933bd5795560b59e1cb393035cb8e7f51d4ed13312eef84422662ca5752ed3a0a6edd7c8508d8222c96f345f9b8c339954b37fcf1e1b9912fb099159022a0e6d76a82dd8d3e17d25d00e774ea3fa742f7f77ad5f05496d9ac67673ccfa9d6e29a18a1a78c300075c76a48ebbc93c4c417904f877228855081976139c1f4150017f622008fc2d21083bf3e438e71f8973ccba5506dbf5ec18dc816b9e063f97b3a219d55c68396074d95f50cdc2b7969f7ca19632c3aac1a129c6fc02dad4ae24725608ea5e39f931a17e861ad25f9b8b699de8dd667ce723e46f8897e3ec348deee5079a0c37c06829af4e09465d9e903c3ac6f33ab5452846ad964a3fb15ba9 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 8c92cf173de4769cfc6eda4d0ed960b6218c375f 0b96e483fe2bdf1b5de43a72e485baa695414643 736b35018c11049a7b42cc1826bc6a5bd953e8da 2e84ecc1cdc3473f20e01224d9e5a8f270571357 12c616a53f8391f87bfdf3cc0ecc942dd1b03e75 dedd320ac9717cbe83075ea09f4c80caf79965f9 444f60440f5983d47fef7e2b484694f27c843560 a2d50c1bb344268bab021c0f1c15cda656eda283 f76576f1e173d688c3bfed37b5a0042b0f3a79e7 1319caee36a41f5b7d4c13a07ff59e379b543a82 dbb9f6b48a1085e7279878a653d8cb152500d7c4 5e052c51c727014ba1889284155d93aa4cd886db dc40f58c95f7928ebf3ecf55ff3de4bb6284e1a4 f2546c2a1559c0b40ad616089ddf1ebbafec7b38 09b71a86fb3ba7a368ecd47672a2dcf5918d87b0 135b50b8630497a71832e3e3910ba37875ebd931 38245f851876007ffc1ba35ad0e02cde3f882328 fb6510fda4772f1816f2ceaef0303986f6b9ef6e 6ecb91b7c68d2e2f186e9d4c62e689f2477139ce a87c7e62 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 [82:6d:d8:61:8c:00:f1:33:b1:bd:d9:04:5c:eb:25:62:11:5d:e5:52] modulus: b65cdbfa4629f375257f421aafbf26a4e69f3e476daaf6d2cb084b54638ed703947d827a7afbda368fc46eb297a998e05fa51fda83402f6642f7562fe01fecaeefbc8c13e0ae5ebf6a4246aa6cc51bc010c2c8eef4e3e53c0a4ba3b5dfb82bedbbc800dad2ba64d910b85ba7197c777e1eb0531540069929781a2a9f605d70c1bf762bd49c4ba2e69533e04fa6857dd96952f02aa363ad2733c9c389574036d97f6b09b8565be9764f5bdb979b4c925adc57f18915b8b8f950ead372fab897a01021011c77b45beb8f908bfb96b39cb0159ccece9b404f1ca280eb10980e5cbdb153e9e0a8a2da98c6f80b8292d8a444ce6ecca92786f2e3c23e424ab8fd37e5 public exponent: 10001 ]