2022-05-25 05:05:16,672 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-25 05:05:17,797 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-25 05:05:18.430  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default May 25, 2022 5:05:20 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] May 25, 2022 5:05:20 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] May 25, 2022 5:05:20 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] May 25, 2022 5:05:20 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-05-25 05:05:20.626 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-05-25 05:05:20.893  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-05-25 05:05:21.046  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-25 05:05:21.666 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-05-25 05:05:21.668 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-05-25 05:05:21.669 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-05-25 05:05:21.673 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-25 05:05:21.707 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-25 05:05:21.709 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-25 05:05:21.823 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-05-25 05:05:22.421 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 25, 2022 5:05:22 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-05-25 05:05:23.185  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 7.208 seconds (JVM running for 8.748) May 25, 2022 5:05:48 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-05-25 05:06:00.318  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-05-25 05:06:00.330 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-05-25 05:06:00.362 DEBUG 1 [nio-8443-exec-4] .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-25 05:06:00.365 DEBUG 1 [nio-8443-exec-4] .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-25 05:06:00.379  INFO 1 [nio-8443-exec-4] .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-25 05:06:00.381  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-05-25 05:06:00.382  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-05-25 05:06:00.383 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-05-25 05:06:00.383 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-25 05:06:00.387 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-05-25 05:06:00.392 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-05-25 05:06:00.394 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-05-25 05:06:00.428 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-05-25 05:06:00.431 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-25 05:06:00.432 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-25 05:06:00.435 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-05-25 05:06:00.978  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-05-25 05:06:00.980  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-05-25 05:06:00.980 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-05-25 05:06:00.982 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-05-25 05:06:00.990  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-05-25 05:06:00.991  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-05-25 05:06:00.992 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-25 05:06:00.992 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-25 05:06:00.993 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-25 05:06:01.003 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-25 05:06:01.004 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-25 05:06:01.004 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-25 05:06:01.009 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-25 05:06:01.010 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-25 05:06:01.010 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-25 05:06:01.012 DEBUG 1 [nio-8443-exec-4] 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-25 05:06:01.037 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 234985929768046926459754787994997417310552620388 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Wed May 25 05:02:56 UTC 2022 Final Date: Mon May 24 05:02:55 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [02:44:8f:bc:c3:32:b7:73:bd:ad:e6:e8:36:fa:43:b0:85:1d:59:3f] modulus: f2a41342872f01de3138d180e1f932f8e37956f5ed1336f30dfda95ed6a34ffc9157ab9c5e412fb1787bc1b197fe18f2f8fcd26a3b3b1df148c460e2bcea3ec5672aea8d379a2cbe2e6639dca3a08d3470cb00ceed4607c1868975f5958c31255f9dc28210f8f6f6c2283fd71b361d8908cdc30cde6f7966686813323be17bfc3c3b7f0a879018d02cc653da504f39ce45fe174f17e44bf250f161b205f6999477e0caaf0e013bcd7eea8992f9f2ea94d54953e40dc8e15945706a79cd9368f886d64d272d8b28c65951a277cc39654dd25b618149724d54fd14670a612063603b4572eff301cab53fbdb376547846ecea1442f411f8b31a6c1a80cadb59fd45df40a39d01fd4e2c10a6bf54587fe8bdc96575292f00742dd5b1933ac9beb68385df567f138a41d43a0946dbb0649698f7005ef4d3b7712f0ffc04852c504b4c2e579394bb0ffb6b075b288f037701982bad4e42a97fe55495e85867a08ed8982c0373649121fce44ead1b87c88fd75a1506c2eb283a518293d4425dc61ad74f public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 5989ad293a7842dea87cb96b2890ac2984645aaf 83949c45b03c3d97eec11cc3df28f0dba1655d11 3ad34b76769c9393983b3b32ccee9e70bd03e41b 2a7e22b778ec45f328257ae3aa6635d6e6930ce1 530f670a2d217439c3734382cc566df2ba3fdf76 64e7e5c7d41acb8ffe6bd4b8139ac29078267644 409d054f59c6495993e9e182fc8d0ee579b905ed 1ee6a841e962d1fa33e3f123f08b96389637359b 87c96ca2d7ee5bcde0debd9f44b22920e1df8427 bd349e125c50a37343845dfa35c51f23e945107b 3896a499691f3893a39a706d440943d3ec70b7cb 94cf04a8d9733348fd8c8b99459681c48e9545e4 d471fc5ba5c26a98446668105be2fc0289280c94 8e0a4bfcf15407b8f6879c66d1e8eb1c99b40cb2 22094df9333ac9041cc3bc842e15d05ca2b0aba1 735d437456ac4098b03cb443f8a1d767fe40e25d 46af507dad6a1bdbbe124856c1b60e946f405cb8 7c6339d0941a84ebbb611e208386ea51b85260c8 17ebb175831e36b599ddceefd68957c146ebc489 4168bead 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 [40:3e:4a:32:dd:31:95:23:2b:36:2e:1f:a7:89:01:97:e3:d8:4a:30] modulus: bb7ef3b80ac433bd33450c49c8e77a106ed9a15d023d24a3d9989f63c7a68dde72acfc1eecbf888bb6be7e14e6679b4539a2741c7e4e5b0a4ba27bb423a248063d2eabbc975c5ed957ce53cb65205ffc2a9c0a7c13ccafbb53d937288d4ba36e15cb2bf25099d309b10f031b85ff8b9f320ad747c9dea77b2cfe775186c13ada6939738ff7db4efeac42a189f13a4a47cebfcac0abfffc6bdde1c50157a5c9bb55d1dc03f6cb22b396c881d42d9d288504676fd6148dad823b543140bb8a0e7d880cf8b29a59dbdc4984dadccd5a0d8c1ccd1da54697b414d33ff3291fac3ad3d4b178d5dea604e6be07605995000249f958351810be5f4a733ebd6ba1b0d237 public exponent: 10001 ]