2022-09-30 05:17:10,245 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-09-30 05:17:11,082 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-09-30 05:17:11.797  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Sep 30, 2022 5:17:13 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Sep 30, 2022 5:17:13 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Sep 30, 2022 5:17:13 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Sep 30, 2022 5:17:13 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-09-30 05:17:14.230 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-09-30 05:17:14.513  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-09-30 05:17:14.681  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-09-30 05:17:15.349 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-09-30 05:17:15.351 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-09-30 05:17:15.352 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-09-30 05:17:15.356 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-09-30 05:17:15.391 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-09-30 05:17:15.394 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-09-30 05:17:15.508 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-09-30 05:17:16.206 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/]]} Sep 30, 2022 5:17:16 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-09-30 05:17:17.074  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 7.595 seconds (JVM running for 9.371) Sep 30, 2022 5:17:42 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-09-30 05:18:03.681  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-09-30 05:18:03.688 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-09-30 05:18:03.726 DEBUG 1 [nio-8443-exec-9] .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-09-30 05:18:03.729 DEBUG 1 [nio-8443-exec-9] .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-09-30 05:18:03.745  INFO 1 [nio-8443-exec-9] .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-09-30 05:18:03.747  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-09-30 05:18:03.747  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-09-30 05:18:03.749 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-09-30 05:18:03.749 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-09-30 05:18:03.752 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-09-30 05:18:03.760 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-09-30 05:18:03.763 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-09-30 05:18:03.811 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-09-30 05:18:03.815 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-09-30 05:18:03.816 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-09-30 05:18:03.819 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-09-30 05:18:04.587  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-09-30 05:18:04.589  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-09-30 05:18:04.590 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-09-30 05:18:04.591 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-09-30 05:18:04.600  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-09-30 05:18:04.601  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-09-30 05:18:04.601 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-09-30 05:18:04.602 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-09-30 05:18:04.602 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-09-30 05:18:04.616 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-09-30 05:18:04.617 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-09-30 05:18:04.617 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-09-30 05:18:04.622 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-09-30 05:18:04.623 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-09-30 05:18:04.623 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-09-30 05:18:04.624 DEBUG 1 [nio-8443-exec-9] 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-09-30 05:18:04.655 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 3430300525379874437536642235544789226140538504 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Fri Sep 30 05:14:55 UTC 2022 Final Date: Wed Sep 29 05:14:54 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [f0:e2:76:2a:fc:71:da:ed:23:b6:24:4a:0a:0c:1b:59:35:c0:50:a6],[56:66:d1:a4] modulus: cbec9cf6e998c7d61d6c1f3a9f411e5859f86d39a70766f3fd668d1d33658fd9583f4fc6be33fa0ead1c292e8e71b349223e8024bfd4e91c2965229776b087153052e22839524f8d5af7407946bfaafc928d80ade761961a0bd0913d8cc8368335c11459c7505e4280807033441814f4157f6acedd770020a27b63b6558d56241cfe76dc99f72eb56110349033997f182f25efe4ce1ebc9396adc7325b2c2d1b38c9ad5efd87fcdad158850a4fb8940612b45f76ba12ff32bd3fb9011f86a133a48098f8ec191b2b584490070e3afd7b6e82f49e2ae9ad3c0c418dd306a0ba784f9875c87ac56612f53ce8b9db9630d4889842c75d04da2066337715e998c49185f90feed124bf983954328f3f0a0019bf5fa5f1e73711711b1213b536599d213b21e7796fb6233353201237b0b2c1254c3f8fc28308bfa65c498fddb84e1b9925ab6e025ce567a9b383ebd0dd8a4724fa32133bc1e5b1095a1958ca9656fc688b2dfe969cd38dfb2c35af5a26b597dafffac49993f017b75fe31d83d1c2ff15 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: b149df8e369adb090a0e83c63bf864b754d9eb5f 9c8edb414ceb36d485af81472393068c1fdd4bac d778b4ffc74d927320fa10196fb5644f3b2a12a8 b2673c2bf74ed4dd6383c46947204490872f36ad f381b02d245853d5e8c0e05c3ce57f0fc4764d5a c2becfaccea808143ed80b48915a54a239551b75 e06f8c75d2232495e0cbfeed37927f48418411f6 3c3a2a5ff7ea519e4146c3b4a2f536d3dff9f4e7 2f3df346c4d4e56b4842f3f31f192f9b1cf35fd8 99fe890c7b4af71992f0fc5d747725e79b122969 c87df7951820b7114c814ba6542f601b7da814f8 286eaf300d3e130ebba65e4880d9b0498c26efd4 34f12398b2b6303affbc2e45661bc24643443031 c7a8ecf7cfdce0810ceff2acd9328750a841d01a 92df73f9e0ff75448a54d6583d103759ef6b12bd 6e4c356bfb6c88d3e3bd6946ce0b0a4a25ab935f bb9cb5d858930cc227c0e5d6f2560040886bde5d ccfccb17f6bd5091243b31a6ce1b09bc0f162bf0 b875fc779dacf5b76b36b3bec852e648d762f116 1bfc9eaa 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 [76:04:72:28:d3:fa:29:83:34:56:a6:25:be:95:72:80:f0:e1:28:a8],[56:66:d1:a4] modulus: cbe40be60a5f60092d48d57e015d2e130ced26804d297a7062db752def8ff07a0cd506a2cc291a9f5ed7ece2422e9a12697aed6a366bf75a59f2c94f7dcaa582a7551f0c86acdc1c999ff44b6e2d3e2a0e4393e026f9dc9a28a3f8ab1e12f0e3cd05396fab5d54e4a7f647d1541da647a53f99ec88e794e475d1dcbf77ac1f57fec4ed3fe0c208fc788d2de02ffdc9021f3daace98b19b2195724c2cd92df9f3d3ed100860abbd87dadc0df052f94dfc4835531e7706549e44a18e2663d1a61c4f3d74e95098b8b28538817892cb388543d687cfd197bbb97b177a1bafd0c7d1e679cf7a222efe4076d42b56dac585bc79a67dcdf424aa1c863bcc69269abb53 public exponent: 10001 ]