2022-03-18 00:12:21,807 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-18 00:12:26,797 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-18 00:12:29.912  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Mar 18, 2022 12:12:40 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Mar 18, 2022 12:12:40 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Mar 18, 2022 12:12:40 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Mar 18, 2022 12:12:40 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-03-18 00:12:42.689 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-03-18 00:12:44.107  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-03-18 00:12:45.008  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-18 00:12:48.806 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-03-18 00:12:48.808 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-18 00:12:48.889 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-03-18 00:12:48.892 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-18 00:12:49.008 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.s.a.OpenApiResource: {GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String) {GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String) 2022-03-18 00:12:49.010 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-18 00:12:49.600 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-03-18 00:12:54.904 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 18, 2022 12:12:58 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-03-18 00:13:00.191  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 41.699 seconds (JVM running for 50.412) Mar 18, 2022 12:13:01 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-03-18 00:14:10.306  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-03-18 00:14:10.401 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-03-18 00:14:10.595 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-03-18 00:14:10.600 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-03-18 00:14:10.706  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-03-18 00:14:10.708  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-03-18 00:14:10.789  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-03-18 00:14:10.792 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-03-18 00:14:10.793 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-18 00:14:10.798 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-03-18 00:14:10.806 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-03-18 00:14:10.809 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-03-18 00:14:11.008 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-03-18 00:14:11.012 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-18 00:14:11.013 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-18 00:14:11.016 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-03-18 00:14:12.396  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-03-18 00:14:12.398  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-03-18 00:14:12.398 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-03-18 00:14:12.399 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-03-18 00:14:12.406  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-03-18 00:14:12.407  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-03-18 00:14:12.408 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-03-18 00:14:12.408 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-18 00:14:12.408 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-18 00:14:12.498 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-03-18 00:14:12.498 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-18 00:14:12.498 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-18 00:14:12.505 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-03-18 00:14:12.506 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-18 00:14:12.506 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-18 00:14:12.507 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-03-18 00:14:12.691 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: 531966919607550575758416694250651455264465167443 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Fri Mar 18 00:08:19 UTC 2022 Final Date: Wed Mar 17 00:08:18 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [e2:c4:8b:bb:1f:5e:94:79:8d:4b:f0:9b:8f:47:6a:71:b3:e2:37:72] modulus: dfba23489b3b5418299d6bf4717397835a6d07eea311a0093455277ab2b0b59188df9343597c4b4f7838e1b28b50b6105537e202e5f96a4fb3006d95fa2ce989ca2b38f4ef5a3276a5384b60b0ae2c65277e6f8fd337dad67e4a97307b2ca33ba6edc8642d3e3f8d054f49fd059de5fc61633f7670c162171c1d5d8c6b2121d01bf7f677265f7102e28f491af270dc544f7ab04d57edc663ba4db48c03f1ba97afc6302dc8b643048e3bd012c522e289da66c066a65f236ba88e9460d6549205f689b40485186fb9ef725eb66f584b29a0a23b325072f7b8fc484655787f688822db8663f86e9ba765658f890a2526e70fc2d0b6ae059ff9770d1bad44b40cafe545609abed8bca871e827e0a342006b39cfe1f71202aecfdaafef8164c21b86e3e90cd83f6deb49b9e081280f32127eafafea6cc67537c6f063144a36b5e440bf84ba9624d90321afc8ecbf4caaab448ac2b3120a8f0b172d1bac5d7ddfc04ac8d25d77dc30c50b3e5c233db132b922d392b794bb35fecd0622c307be973c45 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 424008a19c352090dedb5fef902e8283a4dff7ea 892bff1c2250e091192dec7f7fd2296ff270a6d7 dee98c5447522fa7b0a5067d743ab5f56aae1d86 d5277436c639c538d335e0775912fb5146cf8ef9 d362e59419be8b95f9f0510b5a3f8e9c2e4f40df 046adae11f526d2f2cb2af74c029d9aac1fe5775 e523af653305eb18e43a3b773460e82ea8fd80f5 7ede8fb18f401fb321683fae617b08a079e0017a f7596e7a671b6603f038a047c017faf5db284d93 5964172e9dff38a0b63eb1a768d8d16402cea1da 4fb3a768315d309847d308e9a1223c2ecbbb6646 21e57a191e8cf0c72aa9edd7a8e7acf9676a6d01 031a88db09f3358c0d72fae482173e26394303dc b9f685081e14620fda09e45802c8bd1b9e0b8f54 b93a63ceb1916579004f9bc60457ccb1c449786d bed42610b1ba4de98366ef945f308d0d3b20ab08 f427607f56f1d778430e87516833e41c347151bb 4d6b4425535e1ed19dbfdc376fb6f63c331ed68f b18e6186cd13d0c94c3c7784aac8af62051057cb c06869cf 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 [d5:6d:5f:9f:cf:cb:34:76:44:30:da:20:e3:69:ef:67:fb:86:22:95] modulus: e7476c41fb91ef7ebf58535586077fa05e4134d95f9f3b4c4a9365b4fa3b39b5bcec1f777986b00a696f6f861247bad5c8bc042ed31d34e76f04b4f9c260702b8d08ee00f60dfcf073b41604f4ceed6bb76e6039c2ad654c1b4d2a327c0e884c9e6af614f83b239e08a4b6dca003acd902386b11f2ab273e7a39a1c3d497fcf81afa86eece9baf921add9ec365054584c5bafce3888e0fcd96c6037b0dddf05a861dddcbfe912b64246d1ba3e9c918741e94dd568b512e488d4b7144fa02b7ce7bbe62e2c9487853ada146f4aa37a6ad784d322f24ab188293f2f3f3389808a71c7c9a7543a8600f91110201b6b6d24c500479a0b7f910f02d22b8e3c57feb79 public exponent: 10001 ]