2022-10-02 05:19:54,202 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-10-02 05:19:56,065 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-10-02 05:19:57.186  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Oct 02, 2022 5:20:00 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Oct 02, 2022 5:20:00 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Oct 02, 2022 5:20:00 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Oct 02, 2022 5:20:00 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-10-02 05:20:00.908 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-10-02 05:20:01.361  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-10-02 05:20:01.616  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-10-02 05:20:02.821 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-10-02 05:20:02.825 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-10-02 05:20:02.827 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-10-02 05:20:02.833 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-10-02 05:20:02.888 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-10-02 05:20:02.901 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-10-02 05:20:03.112 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-10-02 05:20:04.220 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/]]} Oct 02, 2022 5:20:05 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-10-02 05:20:06.022  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 13.39 seconds (JVM running for 16.059) Oct 02, 2022 5:20:27 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-10-02 05:21:07.309  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-10-02 05:21:07.325 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-10-02 05:21:07.382 DEBUG 1 [io-8443-exec-10] .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-10-02 05:21:07.386 DEBUG 1 [io-8443-exec-10] .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-10-02 05:21:07.419  INFO 1 [io-8443-exec-10] .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-10-02 05:21:07.422  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-10-02 05:21:07.424  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-10-02 05:21:07.427 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-10-02 05:21:07.428 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-02 05:21:07.434 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-10-02 05:21:07.449 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-10-02 05:21:07.457 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-10-02 05:21:07.532 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-10-02 05:21:07.541 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-02 05:21:07.542 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-02 05:21:07.546 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-10-02 05:21:08.717  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-10-02 05:21:08.721  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-10-02 05:21:08.729 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-10-02 05:21:08.751 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-10-02 05:21:08.777  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-10-02 05:21:08.779  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-10-02 05:21:08.781 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-10-02 05:21:08.782 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-02 05:21:08.783 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-02 05:21:08.821 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-10-02 05:21:08.821 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-02 05:21:08.822 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-02 05:21:08.829 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-10-02 05:21:08.830 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-02 05:21:08.831 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-02 05:21:08.834 DEBUG 1 [io-8443-exec-10] 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-10-02 05:21:08.950 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 669603842897259882444202286883808665035402824097 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sun Oct 02 05:15:34 UTC 2022 Final Date: Fri Oct 01 05:15:33 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [50:5e:11:47:9e:d8:51:4d:22:7c:ab:ba:3e:0c:f2:9b:fd:19:4c:ff],[56:66:d1:a4] modulus: d7d3869743e394b7de20c855be1f9e65c5d911a6426c5bedfc5981b5b06596245247bdb0a2e9d3446a75d8fd6ed3a504daa9a90e3c65d4e33dae8557ed1b09a296041c5cf72cf8a6b4099efcc659bf0b3c5b32b73b0a156ca255226f94d2e8c9e561337cc8dbd3c3e6105088c9fd67701518896777d785078179fb04cd4a801f1e54fad15e6d25990907b8aa0e76f8443ed9256494307a31f33917b25bf0f1302eb0098b4b8901b5f8aa654772320049f61e92761c8a1c874408bc8abcd5acb8db26b8edbfe334a43468e5a5de2b72e70d7ab7f8817d0affba5655fd8a09ade34c5f85a784bc3e5b481073a27fc19351637db2b8550ba07529812ff5e8ea553ca2b258a378da069a5b087e643d96d08b783ec3424b9ac9f7e4f9c4288d0b854c5b6e6c6b1993e49ef8b2a23003c672f98e018d83ab2469152c5daabbe8078aacdde211fefc68ddade4d99b5096e16d90e72605ef56afc1b063c4e8b8f4e90464eb90d1be75ed105eba2386e60371f84b8cd05a8179cb80b4fbf7369835698d2d public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: af8150831321bb24dddc2bd076360dc584f4f786 da81b2c6291f0ada127beada36bd027025a8f0e4 a27903bfb523e01e956003e0212b58ca919170fc 0db73a1ec9f80bfc0b82cc321ca98e981ec4b494 fbdf59f47a9e776cc2d2b39af57344ad2e6d85c5 622c1d6cef0e059a7c26ff0ee32e6ad21b96c31f c68827d8a795e89c665c429818694ab7f6b7f645 7e1c18be47726bc17e2faa6631e472579c4d951e 978acfd76253c28f7d14c22c60bef8a233417334 e58cf0034ef0767b2e10d4e556ed59ab1159e194 c8a97a3d4874ea409fb9a0ebe105e0207b4f09f4 5c2478457956e0fb69d0d27c7688c8762fc5621a ab914c5ba7ca974d7bb1c98af92bef093cae347b 5dd16b010c1f3269cd613999110c2b023e9cd580 f2f8e57ec063a205abc44816fc87de5894debd57 6a19f72f6739ba393b47a8f5dd053e7939397cd5 3e1ec84aff8f11f07e72266621acff595a5b70c8 99ddf0402abbda49dbd34d6f0b7df39db5ace39c aac20ae65b90598e86e03fa943d3641ffab9bfc1 ab00b713 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 [32:03:e5:1e:ca:8a:6e:77:67:64:72:7f:3f:9f:b3:4f:0c:03:12:74],[56:66:d1:a4] modulus: d62a8ad016296dfde18670072dbc1ed8aa474e8d7ac94a8cd9d95471c801a39df55517649c8dc19fba2b92e0345ed80ab480ed270d3b0fb8e47d765fe9c592470b5b3ca0496ae59ce9ec57c74d35eaad61fa38e2c9b8a1b8833460b1d74b0bfb3253cf3a941d3145c9684575a4cedd8d099cac63d2b5418c167d2382a7f8c0726899a144781da0d3e7bc7d1376311226103bed26fcc5fc4eaf13a00f3be80e4945fee8d1e59fc72792adcda1d32e6884a4124f5aff36f7e2ad48120a87122a8e1c81e45aa5652e7ab7cce9f7c6d4f31026c663f6697e0d9b87b987acf88f094be04937b9ec8e2b4e92e98ffdd7a7967370f5e760624298c02f722c8e0e608e1f public exponent: 10001 ]