2022-04-01 04:59:27,425 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-04-01 04:59:28,569 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-04-01 04:59:29.337  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Apr 01, 2022 4:59:31 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Apr 01, 2022 4:59:31 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Apr 01, 2022 4:59:31 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Apr 01, 2022 4:59:31 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-04-01 04:59:32.211 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-04-01 04:59:32.500  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-04-01 04:59:32.674  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-04-01 04:59:33.458 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-04-01 04:59:33.461 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.CertificationController: {GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String) {GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String) 2022-04-01 04:59:33.463 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-04-01 04:59:33.467 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-04-01 04:59:33.508 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-04-01 04:59:33.512 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.s.u.SwaggerWelcome: {GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest) {GET [/docs]}: redirectToUi(HttpServletRequest) 2022-04-01 04:59:33.637 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-04-01 04:59:34.341 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/]]} Apr 01, 2022 4:59:34 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-04-01 04:59:35.203  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 8.657 seconds (JVM running for 10.52) Apr 01, 2022 5:00:02 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-04-01 05:00:30.819  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-04-01 05:00:30.831 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-04-01 05:00:30.888 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-04-01 05:00:30.894 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-04-01 05:00:30.930  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-04-01 05:00:30.935  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-04-01 05:00:30.937  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-04-01 05:00:30.939 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-04-01 05:00:30.939 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-04-01 05:00:30.945 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-04-01 05:00:30.952 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-04-01 05:00:30.956 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-04-01 05:00:30.998 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-04-01 05:00:31.014 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-04-01 05:00:31.015 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-04-01 05:00:31.020 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-04-01 05:00:31.728  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-04-01 05:00:31.731  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-04-01 05:00:31.732 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-04-01 05:00:31.734 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-04-01 05:00:31.748  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-04-01 05:00:31.749  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-04-01 05:00:31.750 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-04-01 05:00:31.750 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-04-01 05:00:31.751 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-04-01 05:00:31.765 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-04-01 05:00:31.766 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-04-01 05:00:31.766 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-04-01 05:00:31.773 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-04-01 05:00:31.773 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-04-01 05:00:31.774 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-04-01 05:00:31.776 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-04-01 05:00:31.812 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: 419976620763646229154180093432372525734247167730 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Fri Apr 01 04:56:54 UTC 2022 Final Date: Wed Mar 31 04:56:53 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [6d:69:46:ec:4a:5a:2b:3a:8e:a0:c8:ce:e2:ca:1e:f9:89:a6:25:bb] modulus: ed64f3c1a838e016638021f296f4d5822106aa492c02c629cb12841b086cb1249c9a28e7e69347245541b61386a20b69cecb39b5a5c1defccfaa60659303247945229bbeba03abf8de0b4310bd3050816a80cb318a7a642c963d0198fb72bf15a5ac33fe1e7ce703c413de5c9dbcaff61900a52db01cab81081a5e35fd0ab408a0c3f07b85fef6ca0cfb4675b21ae8c065f4af4c05403798192610f37ab777391b00b8b744f8c6ea6ee3481ef51b4d2d1744d4eb92080ec008602656ba626f573ef950fe2b81e85312c5b900f30f674668993c285b368aed7de66f34320ad9ec2c68b3f86cd7d1c08639d79616bf758b7845473e83eafe9d095647d8472ea56dbd59c022907afa7e31013295d9f32e8b853a2e8e7d960216a5b380549378ccb3206b308734abff825c38c27377ebc4f395be656cc522aa799abd03f886f03fba9eb390bbcfaf4ab0bdeb9af2ada9fcb0886c0e50ebfe9142dc9381e52d6e28dacebce8b06936dd2ebab0e5200d87a9c91bf40d36cd90996bd029c252d88514a9 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: ad8018163a58deb0129ecd9a5066fc26da17d5c8 f06f63dcbc530efb29ec9a8f7ff5199c583972f8 a241580eac7c11e44657e2cb526f93d54ede5e94 4834f1b3077a57d2133a984a9dc4339b71202cfc be991e98c68b43d8af7bd26c71cb255f044cf81c 82225bb51a42f8b3aa9393c4084079781849ef74 aaa3026874bbfafcd25660f080c5fe0e3b674f27 32b560aae603b1dcdfcbf9430353bd90d98621ef aa2ae8043b4ef6eff3423fd56de139b875da5ddd 69db147cc469743baa35b6512ea63e73ff29d01c f285bea711b7b9425b6e288daa69336b5b6ce127 f6fce9f70fd9eef94f0bdef64cbe5e65d3d15481 3707bb56b8520e5a8e0e3e5574a0e3a5f2794f38 fd07f6712c6ea9c81dcee8f894f88e1d1b8dd6ab 181b2d4e41ed68df6bc8387da4df4360ddcc9141 2c5053a1f1ebcd4558aea85e4182da7263e68d54 d0543e6eed380cd92e8b645439b5a091087f47bf 313855be52738e58d9fd24b2152960eff3927918 00abf95e6894230791d07bb0908550aa73432c88 18034a32 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 [6c:2c:a9:1f:4d:11:c0:45:36:26:50:32:d5:22:ac:fd:35:e3:7d:ad] modulus: b5d8f17791c5cac91c9911ffc4d3803e9357a2f6d773e1148814d621803937ec7abc7245cd73cea9e6dd4ec498a1d7b5dd0534780dbda90f334c34f01474557a8b933fe240ede52d6f7b3cdce5ff551dc94d32f700a5bbc983e91a4cc142fda390549adf3e31a4e045853bacc9f0cbcf1605672db37b5282ebb10a7f777e4f1c545bf60edbf7ddd309f20cf3a5696e04a106ba5dfe98efb3a60f161fdaa8ce9d7bfe7d46fa292ccddcdf4b4fe8dcde59096a6fd79a52fd04941130e2777ed2aa401c1280024ad7eb2856b4bc16af723f647e22feb007355e4e8214296c9fb38ac78da14960a55e9486f4570f2c674931c6cf3a079e27d3f1000c21c0e3059041 public exponent: 10001 ]