2023-01-01 05:10:15,109 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-01 05:10:15,921 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-01 05:10:16.558  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Jan 01, 2023 5:10:18 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jan 01, 2023 5:10:18 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jan 01, 2023 5:10:18 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jan 01, 2023 5:10:18 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2023-01-01 05:10:18.808 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2023-01-01 05:10:19.082  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2023-01-01 05:10:19.245  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-01 05:10:19.943 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2023-01-01 05:10:19.946 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-01 05:10:19.947 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2023-01-01 05:10:19.950 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-01 05:10:19.990 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-01 05:10:19.993 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-01 05:10:20.111 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2023-01-01 05:10:20.798 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 01, 2023 5:10:21 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2023-01-01 05:10:21.651  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 7.338 seconds (JVM running for 9.004) Jan 01, 2023 5:10:42 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2023-01-01 05:11:12.891  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2023-01-01 05:11:12.897 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2023-01-01 05:11:12.931 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] } 2023-01-01 05:11:12.934 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'} 2023-01-01 05:11:12.950  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] } 2023-01-01 05:11:12.953  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2023-01-01 05:11:12.954  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2023-01-01 05:11:12.955 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2023-01-01 05:11:12.955 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2023-01-01 05:11:12.960 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2023-01-01 05:11:12.967 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2023-01-01 05:11:12.970 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2023-01-01 05:11:13.018 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2023-01-01 05:11:13.024 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2023-01-01 05:11:13.024 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2023-01-01 05:11:13.027 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2023-01-01 05:11:13.799  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2023-01-01 05:11:13.801  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2023-01-01 05:11:13.802 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2023-01-01 05:11:13.803 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2023-01-01 05:11:13.811  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2023-01-01 05:11:13.812  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2023-01-01 05:11:13.813 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. 2023-01-01 05:11:13.813 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2023-01-01 05:11:13.814 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2023-01-01 05:11:13.830 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. 2023-01-01 05:11:13.830 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2023-01-01 05:11:13.830 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2023-01-01 05:11:13.838 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. 2023-01-01 05:11:13.838 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2023-01-01 05:11:13.838 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2023-01-01 05:11:13.840 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 2023-01-01 05:11:13.876 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: 606837809337350438732585274654123330377666261722 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sun Jan 01 05:06:38 UTC 2023 Final Date: Fri Dec 31 05:06:37 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [99:57:7a:33:d0:a1:29:c4:c6:8e:95:7b:e4:ca:92:22:a5:d5:4c:f7],[56:66:d1:a4] modulus: c55acd42a4df9f946668d6ccba0a80579afa46709c405895e98d91227cfb4fd8bdf9b9e8cbd822295902ddc00bda6649307d83f481a484be40627c0811062e2fe56638b8a7e69c851b661ae16f1e43cbf2eba2d1f71e601f6c25ecfec54afa0f0454f48f60ff6b05c3bc46537396a4522a753efe8a20f2e2287d1d9b9a6df40c5eb4b4d7c83967b69865830379e89060614dff633ee5c75d2ec77bfee26d9a15bc4b46e6ae0187049a22605642e0ad589c12e473877549249e83772c10cca9fd93919cae7550592eaf6665d1ba28f7f75e996ba0117ae5bfc1e358350cbd138836aafc17558769f0ededdd834dc4036b429576b5ffed9076946934f12012c95988266c25a19ed3fcc04ba31e260f3c6a5d5a0cc06defed462211ac6dc74f8ddb8d2cc45ef8238b4ef1fecd5bc555d479ec592fe0c739dba149e624e667970c4172e1d7d045712c16a4241bc9d2cba0093109e2d5d79056f3782ffc3b4a941a94c7774266257063fcfab6b4cc3fa0ac8a02ba9c89a977776bc27d17bea2b299e3 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: aa49c7aacf9a2f6eb80dd0a6587a58520aa23b92 088cbe71d4eaef3f1a6a0c46d5e4c7e79c20913c 595e49f033f6a2dc210fb5f6f32ac0b992084c66 6983d45ebd2074f8015213f20d5d0a38bd93679a 88e0f69b365f46881b3fd4f45fb96608228a832e c422229cd2f174822958f20e9d3a663e4321131b 9c71da8acba58488d589092a5f86817b8bb3ce56 5ed1a8990fe82f754d9c727e7fbd14e9c700a5de 120309bea41b1a59c9798a8043b9ab30628da972 ed4acd53c849b32ffe927c3df342457a8a6f1c34 6fc746fdaf5e5c8e8076e101953ac0569c7e88b2 7aef87c55010bd957db7b9da69d987a5068e9f46 92c5d8d4ec1b07235d03e6f2f7fec4b28ca2af5a 44dabfe279621d800404e93a4050019d0b58995a d8d09b46b08249cdf89ecc831580dc8e19a0d54a ea3b8fe46e5f7aebf8c6bb805ea4cbf40fb6b2dd 43d6553a269a0d69701290aa54a59a9b8301ebac de0b89aeb85a177ddec99fc1244ac7bb408c1113 1385af240fa1a8797ec00a5d016fcda6a018dec2 706ed8be 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 [46:c0:64:1a:af:87:28:d1:3c:a8:ef:18:c4:1c:74:46:04:6b:e6:c6],[56:66:d1:a4] modulus: d93cff3cded7d32a2ddd1d5b02f5677e0e788d1f151e52817f5729120478c273b8ba82fda86a06e35469dc8a0c31768ae5cc0c55d67e8b9c346c7df11d20499a06d28cebcea66482e2d0ece27def8b0c3037c64358922511e1ad24436a237245b20de21163c785c67f888eb3c3161b0d3c64c9691d67dbc6b5c7babf5af1a1f3702df3ef7ada4e9c6c5fb2337ee3c9d188c262f4c582883fd2d7bb653bd1388b0404c51d3dd57b6a6bec7fc1e2bad31dbab9371d3dd7d9ca98cf7c6402d776b49dfaed105df4b028add5d7ac4a8ab5269a90f22f123694b247646a9aa307d51d297aee0f7f29a8b05cd006f5ad8e68f06fbdbf63c79d63398236e72b9f44472b public exponent: 10001 ]