2022-03-13 05:00:17,331 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-13 05:00:18,391 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-13 05:00:19.454  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Mar 13, 2022 5:00:21 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Mar 13, 2022 5:00:21 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Mar 13, 2022 5:00:21 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Mar 13, 2022 5:00:21 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-03-13 05:00:22.621 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-03-13 05:00:22.994  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-03-13 05:00:23.231  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-13 05:00:24.103 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-03-13 05:00:24.106 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-03-13 05:00:24.108 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-03-13 05:00:24.115 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-13 05:00:24.179 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-13 05:00:24.183 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-13 05:00:24.335 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-03-13 05:00:25.166 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 13, 2022 5:00:26 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-03-13 05:00:26.514  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 10.293 seconds (JVM running for 12.483) Mar 13, 2022 5:00:51 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-03-13 05:01:20.418  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-03-13 05:01:20.433 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-03-13 05:01:20.479 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-13 05:01:20.485 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-13 05:01:20.511  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-13 05:01:20.516  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-03-13 05:01:20.517  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-03-13 05:01:20.519 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-03-13 05:01:20.519 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-13 05:01:20.524 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-03-13 05:01:20.532 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-03-13 05:01:20.536 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-03-13 05:01:20.598 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-03-13 05:01:20.605 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-13 05:01:20.605 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-13 05:01:20.610 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-03-13 05:01:21.400  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-03-13 05:01:21.404  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-03-13 05:01:21.405 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-03-13 05:01:21.408 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-03-13 05:01:21.421  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-03-13 05:01:21.422  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-03-13 05:01:21.423 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-13 05:01:21.424 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-13 05:01:21.425 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-13 05:01:21.444 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-13 05:01:21.445 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-13 05:01:21.446 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-13 05:01:21.458 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-13 05:01:21.459 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-13 05:01:21.460 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-13 05:01:21.464 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-13 05:01:21.519 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: 455101075514229461897873158650111539190015554863 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sun Mar 13 04:57:45 UTC 2022 Final Date: Fri Mar 12 04:57:44 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [06:7c:b8:9a:60:d9:bf:65:9a:2c:74:8b:11:2d:a1:6c:a9:37:74:9b] modulus: a03bd7bb7bae17e5c093eb41025c1669de5b753bebd0dd37af766def1f84898e0728569793949d8f5538669eeffb10de015ff6f48b42dac44391436646346334ea7b26ebc7f0e0d59703e1bb749816ebb49d765dca1391ef822c6ed0622e396a4cd81cc014770fc8600e8a78d9fc46a93b3c1170f4f66698ae1d8150a0a69140de3266b29dae1d13c075f5064ba9761694f035a29b76aba59d828639e5e48da0f21ff31e6e37e6c1ba3dbcdaa1c04f7a99315c7f864a4a07d38176e3af3a629bcb86b264a425a72119cc831ff7eaedea866dcebd2531bb1d8a599ed7ecf6e37338f3e7d4324de3bba3ee4d028a0fab1395cbbb145b5a8451ce38a137c107d71144dc79a6386cbe03fcb0bf05e480ae1453a4ddefa0d69161e3b726e0dd58672ac5108e0f12e52e55394e7446b1ae1602ccdbb9d75fffc0784bf4c914be513ead3747b44108f021eef3a62617ab78342d22cbea9bcca2c960e91f33b60724fb8a3bd64b5c8c67ebb260c15866689241597b4a6b68451f40c620f71876758ba383 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 547586ca11b66ae57fdae1b30fb2bdd536781ecd 4536294280d443752e1a17ad8bbb998bb9d3771a ef4c799591703585ba1b93c204c7e7bb6ed83454 9b40e2f486b6c2cc7958bada5ee13fa9a66e1d9c 6103f1cb707b3273b8d183a58b7103dd46f51340 eaa92fe3abc88e2d65e3d8a313d88484a7232354 e8b6534906f7b7b9f7ae873759e39d7b83e6be37 607f3e0abdda5f5992baa5117e8a8fd2f574b9de e50e70556010b6cd7d4df0db4672b51a0a8d8763 2ba6885df76b9c6747f91604057c1a9dd9817736 548c47222906eb1cb5030cf2c3037197315a0712 b0ff09fe48d6ea30d3f4c5601b49a353c52de609 dc8b04ec338f90e62f46c30de463101dd06df613 cd5a3531af3be923e14b8385a7c78ae4d422981f 011249f8fee62e4aa9aad844acc9867f808f1e54 f9df22c521bd26e871aed53d1b0fdad9d183371a ca63314ed349b927915eb97c6fcf3e3eefd853ff 25ad4483ed86fab6c4a2f376433f547df175df75 bdace8a3ddc00ebd5cb31c8e7ff5df07d25f596f 80624f20 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 [06:62:61:6b:be:06:5b:4b:ff:16:a7:69:10:a5:03:bb:5b:cc:4e:51] modulus: 9ff75a95c18d066c8e19a4940bce2ca7be775b3b7df2feab2956215738e881a98e9ed5c72d996d007c6ac3d1e6d876d1e9a37bbfef83594132681f2435d4ddb9ec9c4837367493218195c732f42727a2791abce09e3fa543f439f7b0c540b3729d9a70597f9c1c039f4e95f8344e34a253e39e673616bc81fb6fe4820f633d83c9830adbda93bf13634b9430e17b01ae6dc9ef332cda67ec87ce5815d52cc3dc11935c230852ea63fea3d16e48f62302bf8e511c23fea91a9d7cacd0eda9a804f6ec317336bedb69f2f0cb4b1e2c3dbd8745ad8dbfbd40b29793fb8c7000c0b0e3918b7cfc4af54f967c5120099bddf78870a7e1cd1e4d4ef99e74336f8e40cf public exponent: 10001 ]