2022-11-26 05:05:09,639 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-11-26 05:05:10,897 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-11-26 05:05:11.684  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Nov 26, 2022 5:05:14 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Nov 26, 2022 5:05:14 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Nov 26, 2022 5:05:14 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Nov 26, 2022 5:05:14 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-11-26 05:05:14.788 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-11-26 05:05:15.142  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-11-26 05:05:15.383  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-11-26 05:05:16.373 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-11-26 05:05:16.379 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-11-26 05:05:16.382 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-11-26 05:05:16.388 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-11-26 05:05:16.449 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.s.a.OpenApiResource: {GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String) {GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String) 2022-11-26 05:05:16.454 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-11-26 05:05:16.630 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-11-26 05:05:17.385 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/]]} Nov 26, 2022 5:05:18 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-11-26 05:05:18.669  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 10.019 seconds (JVM running for 11.969) Nov 26, 2022 5:05:38 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-11-26 05:06:14.972  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-11-26 05:06:14.981 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-11-26 05:06:15.039 DEBUG 1 [nio-8443-exec-3] .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-11-26 05:06:15.042 DEBUG 1 [nio-8443-exec-3] .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-11-26 05:06:15.060  INFO 1 [nio-8443-exec-3] .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-11-26 05:06:15.063  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-11-26 05:06:15.064  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-11-26 05:06:15.066 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-11-26 05:06:15.066 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-11-26 05:06:15.070 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-11-26 05:06:15.079 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-11-26 05:06:15.083 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-11-26 05:06:15.137 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-11-26 05:06:15.144 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-11-26 05:06:15.144 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-11-26 05:06:15.148 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-11-26 05:06:15.938  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-11-26 05:06:15.940  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-11-26 05:06:15.941 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-11-26 05:06:15.942 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-11-26 05:06:15.951  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-11-26 05:06:15.952  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-11-26 05:06:15.952 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-11-26 05:06:15.953 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-11-26 05:06:15.953 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-11-26 05:06:15.968 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-11-26 05:06:15.969 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-11-26 05:06:15.969 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-11-26 05:06:15.975 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-11-26 05:06:15.975 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-11-26 05:06:15.976 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-11-26 05:06:15.977 DEBUG 1 [nio-8443-exec-3] 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-11-26 05:06:16.012 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 195952702820153454662797816952360722077089350782 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sat Nov 26 05:01:21 UTC 2022 Final Date: Thu Nov 25 05:01:20 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [45:b4:ff:42:21:15:42:9e:ec:25:f9:d3:c4:ac:01:9d:20:ec:8e:51],[56:66:d1:a4] modulus: f1e6709733e57e8a630176b9ffa42ab2c1ffce1fcec6e21f3b6d971f9c36023c9db1ba64f45888813b1000c40b9ff4712cf3bf122269d8d53eaca2c65d45eacbb3369032be4a4170859df4746ddbae28738a2657c3637900fd4ab33c1f5e02c23318f6ddc30f095902f5c4dfcbee901ed345aaa4a45df6f52a1c307b088edb06bc64068bd530cb7789ac156d84c4f8bd43b97b386b69c93ea6613dd81ef5595e073ba9704a54cc1455c21755f1429626bc5ec55a98a9a052b9362733351e5f4278c526eaec33e175753f322da7d627b222fe949b962548377fdd633021979cfe61975cf94264fb3acb6ec8a956dc1adf7854d035d627cc77de12347fa1945fb83858d15bf99783320ef5a6fb2d0da1848ebde3d4c9f591679546e14baa3d7b98207cf571eb52d6e87531ef8e79e4af64b92ba67417f1a8262a6d3e5022fde30269b72f46333fd2656bfba7c73690e8f190ea734f3f5dc2bad25f62e4d3d0e4c1a230487c71c68ee26f2e3ad83a883765816f887e1767e7cd543c0043867288a9 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 56dcd4cca486bd284d50960b368ea289fd452905 d98fb8666bf9a752a85210ac5f824647e3de89e8 6300dba53954efd964506b4fa19882300c43f059 50692ffc4934cb5488ab20b7dc0726eb94d66bae 7a7af54d17b18eef521d49bca86afc4d1034c291 536c6dde802931edb81335ae7ceb4e60105cb3f8 d25e86fa58a007e742b00ef6d23993b31495f5f1 35deaf2b9659310b3b1b72bc1cc10385882d8131 6167dc9a879db8c573ed902aa743647f71b64d2d 8a958686b4473b5c2022b6db8414d76c321e9c58 93481ba605c1e9497effe92dc23b8f44ea5a8328 99b2503aa27589936c11e0c3d140f6bcc5843ae8 7ca483c8298803f2204d6a3bafa95a4d24f9ce31 8d07d076d205093ce946eafaf890ec97249ff5b5 03c0df868ef619409f915a4f40c360409ba10e3c a6fc29cfc66776477ec2c7483f82fe661d3e2e0d fe2fabb80030a50a878643bba887928e61166d30 d40fc1e3a9855aefbfb422f05a930704abda0afc 0c6dd8f92eb49f99351fbf1a95892e166475ce51 a3d6193d 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 [02:84:f5:de:dc:36:a5:2e:a5:1f:b5:dc:da:94:ed:34:43:5a:51:a2],[56:66:d1:a4] modulus: bf4b80ec72770823798122e578dcb8069dc44f488bc3648deb2b517a43b3d245098d3842afcd17f1ae30836773d0570af82c65f6417a8bf97049960321cf3d34ba22faebcb3388ba7d76f6ec812280026a976d65ac0f5dc880e1b8ba2f033af1cf576532f0fac6e255438f69c26630c6b5767ff8104f41712d318c1e863a17865f71f058ac9c1c0168a81ad38dafbfc5c7ef6708f38cbc0bfa8a8f7043779b24f0035501f54a1a51f435c46ac562505421da0b7051796e759fb5dd4790c7a399e0791fbfa9cb78ac6ac16ccaddc58d931e6f56e051d8be19ed6b25fcc8bbf78c9bc653dda9747473dc7f203349fa79294aeba65d5a9f457919a941a2e934727b public exponent: 10001 ]