2023-01-14 03:16:00,350 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. 2023-01-14 03:16:01,800 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) 2023-01-14 03:16:02.558  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Jan 14, 2023 3:16:04 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jan 14, 2023 3:16:04 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jan 14, 2023 3:16:04 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jan 14, 2023 3:16:04 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2023-01-14 03:16:04.802 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2023-01-14 03:16:05.073  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2023-01-14 03:16:05.236  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2023-01-14 03:16:05.940 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2023-01-14 03:16:05.943 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) 2023-01-14 03:16:05.944 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2023-01-14 03:16:05.948 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) 2023-01-14 03:16:05.984 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) 2023-01-14 03:16:05.987 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) 2023-01-14 03:16:06.124 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2023-01-14 03:16:06.832 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/]]} Jan 14, 2023 3:16:07 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2023-01-14 03:16:07.741  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 8.269 seconds (JVM running for 9.946) Jan 14, 2023 3:16:30 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2023-01-14 03:19:16.021  INFO 1 [nio-8443-exec-6] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2023-01-14 03:19:16.030 DEBUG 1 [nio-8443-exec-6] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2023-01-14 03:19:16.094 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] } 2023-01-14 03:19:16.102 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'} 2023-01-14 03:19:16.134  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] } 2023-01-14 03:19:16.137  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2023-01-14 03:19:16.139  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2023-01-14 03:19:16.141 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random integer 2023-01-14 03:19:16.142 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2023-01-14 03:19:16.147 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random integer 2023-01-14 03:19:16.156 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2023-01-14 03:19:16.160 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2023-01-14 03:19:16.208 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2023-01-14 03:19:16.215 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2023-01-14 03:19:16.215 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2023-01-14 03:19:16.219 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2023-01-14 03:19:16.890  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2023-01-14 03:19:16.893  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2023-01-14 03:19:16.893 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2023-01-14 03:19:16.895 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2023-01-14 03:19:16.904  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2023-01-14 03:19:16.905  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2023-01-14 03:19:16.906 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. 2023-01-14 03:19:16.907 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2023-01-14 03:19:16.908 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2023-01-14 03:19:16.925 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. 2023-01-14 03:19:16.926 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2023-01-14 03:19:16.926 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2023-01-14 03:19:16.932 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. 2023-01-14 03:19:16.932 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2023-01-14 03:19:16.933 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2023-01-14 03:19:16.934 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 2023-01-14 03:19:16.971 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: 441944373117423538199248105481427934534251795373 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sat Jan 14 03:14:02 UTC 2023 Final Date: Thu Jan 13 03:14:01 UTC 2033 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [3c:a1:da:91:21:00:ca:31:e4:c2:39:5e:dc:1f:26:0a:bf:7f:66:69],[56:66:d1:a4] modulus: b3fb861a104f7ad626021e77d5ccc967e0f89b7ab9f1b86ae5261aa1d37b1546b86437abfde4d945ed23d5a36b9751df53beae68abadb6aa480e96d631bd5fafa40cd84ef6bf8e9af5de8c9cb65a79c2e415a4616a0eec5e824706933efe006bafa71e0c607186de99c346eb51e1d9249acb582a719dc7f4ea208be3c314c666918e4e9a98d2f1a60e02de76e83d3b0ab3c47e157a4df5a89de73d025db08e7aef87b40c050e4fd95ae357a781dac47aa598f857a3f72a448bee1af5b2b98d47c6564dcc29b32b13a65a7b9d6b7066b125d85db12b36f582bceca6200f38e6f31219cf06b45831e93c5195fd2165a75561b162ab2579b168aed0f81d91adf4c9fe8b872857911a1fb582f5a735d50bd7e6cfbde8f9ad8cc7338b62334b3d50666f5070f57818dae70054d0b130d93f81ae1b2554088a2200f40fcc4cc45f87f530d62b47242379675f10ed2d41302b10f9f0263ada4b87b4421ba7e88516d86c4aefd584c0802b82fa7a9baa307627cad66480d680b995f419f637b8fc69fc01 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 8d50f25a04ae7b6140bc73e1194df920e3bf578e 41e5b4891e55c6aae7445e814418ff80ff3f0848 5db6bec98eb921f8c608656943890b21cecfffdf dea0ddc36c34976d9908e57c039b34aea6424e72 d1cf75e20ab41ed57c3df3fa064e37b61660c86c eef3fb9516d2decd67224bce42e1862ca54d8177 7964ded09a08a61c689d0937c406e8ebceec3f2f 64fca28b2c46056a5b36c310589b1d9b825fd42a 7fd01a56f98de74a8ea4fe2234f48e2318676536 7a66e541897090e6d2c5d001d343ad69c6a64171 966b0f45e5664c6fa680c1ff13c9de3b1d90f51a 48016329fc4647680646ea2dcff5b302fc862068 66ae633f04041cab17cb00990b5e981aaf25b7e2 6d6a6b4b76afc5a4dce4ab7b664f4e609833a161 8690dc8cb3eb6d70561dc60873c30e0b75c86498 4070ea19a465781bc0e9893fe461a01a64849fed f86737c7ccd0975f7352d4e33dd8583f7bc9e3da 415d03aab0cc7ca3dd5bf1134a67662522f6b2ef b15c17a8d64a70c68af9f5490e139aa7fba35fa5 37c5a634 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 [b2:69:39:aa:e9:b9:1e:b1:55:20:fb:a4:5f:a6:0c:41:7a:1f:4c:37],[56:66:d1:a4] modulus: b24ad712242514a36cbccf48e7756b07ee39c1276811be526260896aae2d14c555db26cfe7e7b53f9f3ee83265bc4d1e14e5018da496c030e27e20ab3c275395e51f44881d10bb00b3f7ba4b6ba528d6a71851d1334a63690e571ae5acc4ff6dc4daf3051d4e3d45bae2cf2eb43398793a22d8e6c6321f17af98eed2a9c268bbe96ee2daebef25f81146cc7f501dccf6c92709bc3a3293af8b43937463d4bd12bf29b6ef2ec75bda68d961c0f97cd5ab5491fb95db50f33b1f4486b917ef08c6a1b04ad1ebedef1af859a3665c802183d2bc737acb0aaf0d56f609c9b0c0b2cbb9ecc17c39544050aacf752c0a921ab9d8da2ce1ecc5d1b353f76b0871f8d865 public exponent: 10001 ]