2022-05-22 01:57:47,413 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-05-22 01:57:52,321 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-05-22 01:57:55.030  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default May 22, 2022 1:58:05 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] May 22, 2022 1:58:05 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] May 22, 2022 1:58:05 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] May 22, 2022 1:58:05 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-05-22 01:58:07.535 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-05-22 01:58:08.825  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-05-22 01:58:09.519  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-05-22 01:58:12.831 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-05-22 01:58:12.911 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-05-22 01:58:12.913 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-05-22 01:58:12.917 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-05-22 01:58:13.112 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-05-22 01:58:13.115 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-05-22 01:58:13.723 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-05-22 01:58:18.923 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/]]} May 22, 2022 1:58:22 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-05-22 01:58:23.316  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 39.695 seconds (JVM running for 47.895) May 22, 2022 1:58:24 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-05-22 02:00:05.813  INFO 1 [nio-8443-exec-6] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-05-22 02:00:05.823 DEBUG 1 [nio-8443-exec-6] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-05-22 02:00:05.942 DEBUG 1 [nio-8443-exec-6] .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-05-22 02:00:06.009 DEBUG 1 [nio-8443-exec-6] .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-05-22 02:00:06.027  INFO 1 [nio-8443-exec-6] .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-05-22 02:00:06.111  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-05-22 02:00:06.114  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-05-22 02:00:06.115 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-05-22 02:00:06.116 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-22 02:00:06.119 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-05-22 02:00:06.124 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-05-22 02:00:06.126 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-05-22 02:00:06.328 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-05-22 02:00:06.410 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-22 02:00:06.411 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-22 02:00:06.415 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-05-22 02:00:07.850  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-05-22 02:00:07.853  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-05-22 02:00:07.853 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-05-22 02:00:07.854 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-05-22 02:00:07.912  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-05-22 02:00:07.914  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-05-22 02:00:07.916 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-22 02:00:07.916 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-22 02:00:07.917 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-22 02:00:08.011 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-22 02:00:08.011 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-22 02:00:08.012 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-22 02:00:08.020 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-22 02:00:08.021 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-22 02:00:08.021 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-22 02:00:08.023 DEBUG 1 [nio-8443-exec-6] 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-05-22 02:00:08.218 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 446508292270539258243814766869663538107443682131 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sun May 22 01:53:23 UTC 2022 Final Date: Fri May 21 01:53:22 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [a7:bc:72:52:99:18:95:1f:36:3f:5a:f5:bb:f7:61:d4:a4:3a:86:f8] modulus: db9d8d7e9baf7e17b605a20ddd5f10cc833c360906ea165ad7de66ad08456c22799c0e3f12ec6d98f6be9c049841f0e5de2e80f67b96b95a2065adc983d25915c06ea5a9cdb82af31d8693c3f03e22aaa8a23b69fa1a67de3f8babd83c7a886b64f2f1b27d91576533aaae0951f5bf75f6886e89ef40a8abad09d2cf0fee5daf2985e3cb9d5fa8582e29ee19fd45d964706c52a96f1a7a164935e086c9e31e3479c42195797016d98829302c2d1217e53bbda6cd4d912fb043c192da96dbba4d4f3cb9c6fac0a965995dc6af51ad206efbabf8bbff7f829c03ea751297dc8c6c03e80b34484d9a07b21b9fdab905ed5162248e03f053fc3899b942b272a380da54c248fbc8977bd0c02b8f92bcb7d613ac16d8d3bbdc206e0c7bcffc91baaee5350f413b69fc16a86d0222f4757fb4a40e86a601bc0c9548b589f21cecf65ce2789f72be2f1ef3fde6735ddaec3ed934e5cf68e60fe778ae2f821a3a1ac9211e87ec8cb13e759d15d66381e9175f1b663cfd2f4e157009be9476e8276de2d47f public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 86f259a2c26fec4681a53baa2d43088dca30b8d7 adf9c175cbe3973556baf10d47f01e51238b9a41 23e197d9ba0e865a9ff51ae002140cf6b301bb4f 0ad452473a08658b5e95cfcaaf027527dbe08eb9 c61cb139e1fc88b505c658ca2d3a60d31da02889 236a4ba00bb1534d1891c799b836f770aa66a806 43db8fd316f88897d66d754d840061a52c3023ea c64de4f01f84748e517d8e9c060478236e519319 e505aface44245d8932168300772b0eded133856 ee83eb9e17bd32632c1b5cb143853342faa577ee 1b0277eaa078d331d0408df6bac74ca497490905 deaa5287a70c8e8de78a68e09de885e0871296ec b4b2bcc090f026f837c0425ece161024dbc18292 967193ea80e6f465dae2b47051ebc4666e6ee4dd be236dbc3f32ef04f905bd1b25ebcd9ba62deb08 ea4bba73389a62796bb005d34e9bc730202ccfce 141fbad7eb209818008001320906b9abc0585a42 cbcfce3a6e6bdf6975599abf0201dcc7a8eaa5a4 3686e769b353a27cc3456a0ce14f7725e2c5abf8 8d5f986b 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 [c7:79:e0:53:e4:35:88:33:01:49:73:a6:16:37:26:fd:f7:cd:c1:49] modulus: c6a2f7b943e1b69d08552f49fb2677138582928c4930e598bd64ea81638ff3224c7dd6f833b895617d29bc3238bf2d5523b1c25b1dd46999496d09ba4ece44d8189a1046d31a4ba5adbd2804056cbac2c9ce991a53dd181c77eaf6a4de3f0406a463ed242fc27b74697150e0dd307ab27b3a6c241753a61d91080536998c7ba4c8b3cde26d97c353c69729f3464e05bd361b205af5f0507c26f489d69319067e317498d8134bf59b25708d0e8456d7c860ecb83e6ddd09990ce5ecad7a435fa0e9701bbb2bf7e9390167abf0db980297e9d7934e4b54b2a16d7e8d246da0331f9b184a18968b871e8f611beb31d9505bf0044de882c509eb170cf636d6ca9b69 public exponent: 10001 ]