2022-10-01 03:13:06,368 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-01 03:13:07,462 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-01 03:13:08.329  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Oct 01, 2022 3:13:10 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Oct 01, 2022 3:13:10 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Oct 01, 2022 3:13:10 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Oct 01, 2022 3:13:10 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-10-01 03:13:11.296 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-10-01 03:13:11.604  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-10-01 03:13:11.782  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-01 03:13:12.649 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-10-01 03:13:12.654 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-01 03:13:12.656 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-10-01 03:13:12.663 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-01 03:13:12.706 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-01 03:13:12.710 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-10-01 03:13:12.846 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-10-01 03:13:13.587 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 01, 2022 3:13:14 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-10-01 03:13:14.577  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 9.164 seconds (JVM running for 11.198) Oct 01, 2022 3:13:34 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-10-01 03:13:46.581  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-10-01 03:13:46.600 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-10-01 03:13:46.649 DEBUG 1 [nio-8443-exec-2] .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-01 03:13:46.656 DEBUG 1 [nio-8443-exec-2] .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-01 03:13:46.678  INFO 1 [nio-8443-exec-2] .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-01 03:13:46.681  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-10-01 03:13:46.682  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-10-01 03:13:46.683 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-10-01 03:13:46.684 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-01 03:13:46.688 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-10-01 03:13:46.695 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-10-01 03:13:46.698 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-10-01 03:13:46.750 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-10-01 03:13:46.761 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-01 03:13:46.761 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-01 03:13:46.766 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-10-01 03:13:47.898  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-10-01 03:13:47.903  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-10-01 03:13:47.904 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-10-01 03:13:47.906 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-10-01 03:13:47.922  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-10-01 03:13:47.925  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-10-01 03:13:47.926 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-10-01 03:13:47.927 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-01 03:13:47.928 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-01 03:13:47.950 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-10-01 03:13:47.952 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-01 03:13:47.952 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-01 03:13:47.966 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-10-01 03:13:47.966 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-01 03:13:47.967 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-01 03:13:47.968 DEBUG 1 [nio-8443-exec-2] 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-01 03:13:48.001 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 509261373272911816219633336970917197051442135296 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sat Oct 01 03:10:40 UTC 2022 Final Date: Thu Sep 30 03:10:39 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [fc:36:05:e1:7b:70:96:58:37:ab:ef:66:a7:73:94:c1:1a:2c:55:dd] modulus: a28103bed223b4a64fdb6e140e51088bdb5888d2543e918050172bf1ca1f11abccacabdb458951708e29ce9545f584bf716e5a7fda6df402ee730a1b16a3430f2ad5551e59a108814560a9405dac53740d0519db0282890aabf271aee736dec8f7d37e1420ebec1bee73035751d086c3eac93f1384f0a4f088e42db4e1763eb71da141a8532ed128ba4cea6b1473027201da2d3be1858eed0bf813e7daaa7f6a3dd35d5174cce645f624a5a71bb586f40168229206e11af3ec332b21749194043b801aa29da64e9cb60f6fae71ac7ddc16b6559f9ae6469e1cac2deb469fec5f19716dd7ebd62a1d2c45ed38b29c46a910438e544ccd573cef48905b5fd34254c80e6068f5245bdeacbdc30e01c74a56c14d345bf8d2c79bd4e4be07cb3c44c7d06058db46b00f101ca1c7a4ff9d105f442fc6d9f999e457d57b164efe3e0a3247f4bb125757d89a6b15cad344eb64e93f4333803c4967af834eb5bad3ac9425ee2a00223763046fea1b70946c5f421200c0449edb4b94dc2f7f2f32cfe19a6f public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 6e082937a8bdefd540312e96827284cf6bdbc4b4 e7f4c76cd9ab2b33a90d22e5789e363e5c3f728e fec35b86d3810ead31b5a4ba56e5fee13e27cd01 b62dc676713a4eef94ad9d8c12a5724c6c071a0f adc263ac9b6322be0d5a9066019920a49503aabf a4b5c070143d849b5d99e9bc84a57450fc6ae2ec 8d3e8973c79d2e24f3d2f967d664109633692fc0 177f6f656eeb182bf2c60407808a922de6354e93 eeb008c7b71e273ada4362c4ccff956733e53b0f adc415ff786004b696c4b54282ac04c779a1a58f 11e7e3a8651e07aef489855316b1dc28a18b8c90 4b8ee83814de92fbcb5aa6e594b55fc73e1109ab 8678a47359c9cce97f120579e97d06a16542516b 5fdfa17286c617fa32f4ea226ffd18e60394362d 59c9402f9f641f74bcaba99198faf446ec7a0755 4f32fb6b7cdf9c10e219a7bb191b6739ddd34aec f07722e9bf9d0ffa309730c341fa63c0e7747e28 b898a4674e0f83dbeeb33e65fb3f6d89b70872c2 2bf0de6622d8933bd3f6c38a54a96cd02af326aa e1cd92d3 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 [94:45:a8:5b:0c:8f:b7:98:f2:92:09:11:d9:c2:1f:63:81:6c:21:45] modulus: ddc7d7b701c15e346f7e7ca6f14061592c1185ab91c26ba6007a904b4bfbbd3f70c011b5eb58b6eb8f615f2fc982b886bbf71b3cb65144bb0df45d1c9c96310623a93fc2f06ee3cd78d0e4eb393e3f7d0a503d70d21dc4f764487de6e460fc3dab9bf606874aa60a472c0f51956da74f43f7b7b6c282ddd9f754cc77203b94bb0a2e5c1287b970c3b51d915b1b62da7d8f02c30cfb489d0e9606d68d764a742ec13d5aa28e93427ef5ea1e31617b87efeb10f95b7c9e148635b08ec7cf4da4f9e785e7318701357f7ad081f045a6a08b9a19add53a46fcff51412b21ac4563a6e256f2a8ab30975ef0c1b55f676fe6338dd7d81b95d878c50d2c75665ff0299d public exponent: 10001 ]