2022-12-06 03:03:10,699 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-12-06 03:03:12,760 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-12-06 03:03:13.682  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Dec 06, 2022 3:03:15 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Dec 06, 2022 3:03:15 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Dec 06, 2022 3:03:15 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Dec 06, 2022 3:03:16 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-12-06 03:03:16.616 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-12-06 03:03:16.937  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-12-06 03:03:17.151  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-12-06 03:03:17.926 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-12-06 03:03:17.929 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-12-06 03:03:17.931 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-12-06 03:03:17.935 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-12-06 03:03:17.976 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-12-06 03:03:17.980 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-12-06 03:03:18.099 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-12-06 03:03:18.927 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/]]} Dec 06, 2022 3:03:19 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-12-06 03:03:20.013  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 10.593 seconds (JVM running for 13.058) Dec 06, 2022 3:03:39 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-12-06 03:03:49.813  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-12-06 03:03:49.823 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-12-06 03:03:49.861 DEBUG 1 [nio-8443-exec-3] .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-12-06 03:03:49.864 DEBUG 1 [nio-8443-exec-3] .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-12-06 03:03:49.889  INFO 1 [nio-8443-exec-3] .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-12-06 03:03:49.891  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-12-06 03:03:49.892  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-12-06 03:03:49.894 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-12-06 03:03:49.894 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-06 03:03:49.898 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-12-06 03:03:49.908 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-12-06 03:03:49.913 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-12-06 03:03:49.966 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-12-06 03:03:49.975 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-06 03:03:49.975 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-06 03:03:49.979 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-12-06 03:03:50.600  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-12-06 03:03:50.604  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-12-06 03:03:50.605 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-12-06 03:03:50.607 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-12-06 03:03:50.619  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-12-06 03:03:50.620  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-12-06 03:03:50.621 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-12-06 03:03:50.622 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-06 03:03:50.622 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-06 03:03:50.637 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-12-06 03:03:50.638 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-06 03:03:50.638 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-06 03:03:50.644 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-12-06 03:03:50.645 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-06 03:03:50.645 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-06 03:03:50.649 DEBUG 1 [nio-8443-exec-3] 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-12-06 03:03:50.679 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 469773687849548213302389279468020294913554401031 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Tue Dec 06 02:58:09 UTC 2022 Final Date: Sun Dec 05 02:58:08 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [3f:f2:11:c5:39:8e:b4:04:e5:c1:31:e3:6b:d4:a8:d8:d9:00:b0:8d],[56:66:d1:a4] modulus: c77ddc6f52cd255d6aaffe97f74d8fe71df11a76075467171f4eae0c1bafebe904a853898ed0642ee2d66eb1a65eaf36f0e0d41df0fb520f8949c3cf828f7036a31b99beacee49e0a16e0868d289f8dc6db88f6dbaf57930b71939fc8c30ebc76b268858c570d37fb052444e791222fda9d61e4e0e19479acffbe800afa2e3621ab4b127ab060ba2b809e7f47fc1a1083cd8c860fdaf749869b87cd09388b51c3fe8c016817a95039f24310776e456cbba9d8fb2c9e6f8997fc011144656b3c8f46188380afea76a3857fb604c28604959d3ba262552f3d8c4ab75219191c72ea99b6329b52739d04d1665fdf0abda6655c774a02b3337a46b948c3590efff053f0e7546ec973528e19c5efefb78025f4d1db4dadf6e643ee60f2f867d49a611c7f0bfd915a2d87177ae34cf4d277edda9aa2ffc94c80d32f1c561b3dd7940c910aa42371e6bb41f76610bca5699dcf1e21846b0024a5039e95ac551d087e8cb2d72518e80d435e4ddf3fda09221ec339ac68549316dd83f8b37414fe3f8908d public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 14b9ae815418f5088e7ac987b53f20e9d5586d54 88394fbfd05d1a6aa203a4f899cd001b2c99ab7a 320c7f19760edd2832b79d5186ae1d2368c8b97b d9d555024cd8444d8fadb4b9b50de115e6749b3a 574de3430dbb42c6dd9fcddf59a0f37e41b0ce90 0b56e1a0034d460be907a991f255f7a7adaded13 193b8d62cb17ef81dd601dba33a384fbfe20d007 e113cebbb32937363acc2633bc47c37b5f332e0b 09e653e5afeaea519c946585b0b899f8828c3b25 7e87f3dc82d3e4989bb750dc5f88254aadb6ca30 389e8be9be7b19da0383b11d13fe3eaeec5fbedf cdad07d553ba9fb3e1f3e08cc47e581224ffbb13 0494aeb9b8a704728f0f63f50df6f298da7e0c67 f9630ff12505caa19a93bdf233d36730c2de803e 6dae63f48bc3e7782c20f26162e006740851c5e0 6f1de08797ff507eb27e5950169d60901dd9448b 4eb36ade8595ef6acd7baa5db389eed4fe83ad1f 67cc06d0bf8999fd3984ef89855bf861efdd6b83 770c66ea2729eb3fc0082cb668244a4285557746 5213a046 Extensions: critical(true) BasicConstraints: isCa(true) critical(false) 2.5.29.35 value = Sequence Tagged [CONTEXT 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 [70:f7:ec:dd:d0:a3:97:33:56:ca:03:47:9f:68:59:23:9a:3d:27:96],[56:66:d1:a4] modulus: 9faf2933c8a7d567f2a8aada442b3e8974d1108f7c615330b4d7f1484c338072f90e1fd73d1a46f53ebaf6115e395ab88ade4a86e2002eb8723f165f15f04cf3a25afa3b3ee1c65deac1ce97f4306ad058c4a54c11910c1db5bf2f1c3d2296831f23c91b690d5328d2e681ffa22f0ecc7b0b165854fc4be432af42a15239300816a2c99f904e16d4986d77c1607e75ab4cee151f791f77e8753afd3a7fa9bf174a3f02cdb0c7e23f7b2906169196a41f7c903ada9b75d1b301faee66af842c2428d979703ebc64f873ba5524e2bb9cca59ca46fe664aa49deb00127076806b20b9b4c041620bbfdb77e964ff40252995352fe647a6c4edee81d89c5a75ded685 public exponent: 10001 ]