2022-05-30 03:02:45,653 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-05-30 03:02:46,353 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-05-30 03:02:47.025  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default May 30, 2022 3:02:48 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] May 30, 2022 3:02:48 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] May 30, 2022 3:02:48 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] May 30, 2022 3:02:48 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-05-30 03:02:48.809 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-05-30 03:02:49.002  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-05-30 03:02:49.124  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-05-30 03:02:49.645 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-05-30 03:02:49.648 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-05-30 03:02:49.649 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-05-30 03:02:49.653 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-05-30 03:02:49.694 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-05-30 03:02:49.697 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-05-30 03:02:49.798 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-05-30 03:02:50.322 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/]]} May 30, 2022 3:02:50 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-05-30 03:02:50.992  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 6.01 seconds (JVM running for 7.24) May 30, 2022 3:03:19 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-05-30 03:03:34.752  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-05-30 03:03:34.759 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-05-30 03:03:34.791 DEBUG 1 [nio-8443-exec-2] .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-05-30 03:03:34.796 DEBUG 1 [nio-8443-exec-2] .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-05-30 03:03:34.822  INFO 1 [nio-8443-exec-2] .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-05-30 03:03:34.824  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-05-30 03:03:34.824  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-05-30 03:03:34.825 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-05-30 03:03:34.826 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-30 03:03:34.828 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-05-30 03:03:34.832 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-05-30 03:03:34.835 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-05-30 03:03:34.871 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-05-30 03:03:34.877 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-30 03:03:34.878 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-30 03:03:34.881 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-05-30 03:03:35.430  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-05-30 03:03:35.433  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-05-30 03:03:35.433 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-05-30 03:03:35.434 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-05-30 03:03:35.441  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-05-30 03:03:35.442  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-05-30 03:03:35.443 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-30 03:03:35.443 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-30 03:03:35.444 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-30 03:03:35.453 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-30 03:03:35.453 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-30 03:03:35.454 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-30 03:03:35.459 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-30 03:03:35.460 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-30 03:03:35.460 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-30 03:03:35.463 DEBUG 1 [nio-8443-exec-2] 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-05-30 03:03:35.489 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 15197065822717590712319887734506219990212021612 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Mon May 30 03:01:00 UTC 2022 Final Date: Sat May 29 03:00:59 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [c2:89:04:35:b7:93:6a:d8:81:1d:91:9a:68:c4:de:f9:e2:0a:2e:e5] modulus: d7e8d0239dfe703b1edeec9aad667ac1acf75d81a52f8281851765be898cb8ea16f18beb9f0ff72ef6d8430f2e47734e4bb66e79d2fd556cb641bfbdb65c1fdf881d3a7297834254bd5ad6a7189b34e3f1e024120dd913a3c074f53139296f534a2fe926b780209bdad3d12c9176da4e3c6899529a875a3de92ee4f83a577b805b684ec77b4b7fc42be742d91c97e945871672c686d3521e4fd32e181c8bd06780fed8d01b95ddb822ad9e1e8fc368d3d31b60359e5b33af376518069242772b39ad858c6b8ce56e680b725c00f70dace9367e332df3e88b5c66065e4c70aad3b9a8b3d1dbd77a43cefe428d7ed229c4d5bdd3dd5c8bd67df2f72e162976271bc008600b03adc2d957346ca189240d6f9656eb8e30a96ab5546de922ffca4f23963d5b1be812ce6fea0d7fd0b5c991553eef0e77d0f4c09e2b050ffc17bdddfff37208bc4a304dccb3e95448d069c03737928320c11954dea4311aefd16152b7085a51ec154a0b8be3f5f8c604fc28fbf2420a5b55edf933a47f5ceed28b328d public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 62fd19b3403a7b4cbef7ea656d0e3f6a8b77060f 809ac9b2d8beebb0a654243f09b0ecff4d960e25 2b1ff071f2425fa698c055b0b6a42ae10a8a1a22 b47800604cffc66eaa509965dc314b24f7b0f127 b73c8a8208987da79e88e20e82f651117b745222 96a0c9b17e8cd18602dae2a32684a639530db4b2 9c98d4eed9435cb3e41ed0c20d4cd3fb20100ff1 ffeef6fa26aa1ad6395ea975fd873963872c140e 1b2d5ae75078c5fd82b65cbf73f6678f7bffe285 985e24bd517b8934b0a19e5814a280c936e65e3d dff07fcc8d55ec6bcfa2225ddc2a2b5921b0eff9 94b4691c413b22430ba0db0bf7379aafbefb9aed 9df0e580094f2b8e6a9af2fb967faf7334ce84e7 6e463ce4b988bcb453d85e8c17b5c4aeed54be69 f6c4ace8027c668e6224c37be0ef0abd8dbeced7 abbda8a1c9ecfe466c0941cdbaa897ddffe9a34b 75c314433c05db7288b82487f861c2a12b307f76 e844879e82af56164c724820b753a65345b77024 eb47a7cfa1911da3ae3ba474047b817ddfa2fd62 7bfb578a 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 [e4:08:59:15:a8:78:c5:b2:04:f0:72:f1:a1:06:30:3c:ac:6f:d9:80] modulus: b88d68b41c88a996058c514fce4fe2c95d48dbf73b338357d352dd4887763786f243ad094976fa8cd52b3c35515d2e6bc7bc45375738c649124bd72dc0d78d28fcc3bb862c9da2e0a995df4d1c91502cee2986aa21872eb4b2b0e7b41eb67c37dbc74ab7e9cff9e4a58f8e45d580f1f40e6c5c3334a14f930d38992cec50a2ee9d881110c7250be561c47f2fbb750e9f900f9e3c6839fedb1e15eb7760f500818c97744cafb695be56117eabe0be6a67650f23e566b7ac6894045180d511a291d8d0d6de882d2c419f95289a5f074e392f5e5d860d9acb9d5397d6d257d5e02be3776a529ebe4f092da47e407d163c3274bfbfedd3fe915bcaff07b1de8f4a79 public exponent: 10001 ]