2022-06-28 05:13:36,598 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-06-28 05:13:37,410 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-06-28 05:13:38.173  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Jun 28, 2022 5:13:39 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jun 28, 2022 5:13:39 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jun 28, 2022 5:13:39 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jun 28, 2022 5:13:40 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-06-28 05:13:40.529 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-06-28 05:13:40.817  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-06-28 05:13:40.966  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-06-28 05:13:41.612 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-06-28 05:13:41.615 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-06-28 05:13:41.616 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-06-28 05:13:41.620 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-06-28 05:13:41.662 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-06-28 05:13:41.666 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-06-28 05:13:41.783 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-06-28 05:13:42.371 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/]]} Jun 28, 2022 5:13:42 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-06-28 05:13:43.147  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 7.463 seconds (JVM running for 9.538) Jun 28, 2022 5:14:06 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-06-28 05:14:30.774  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-06-28 05:14:30.781 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-06-28 05:14:30.819 DEBUG 1 [io-8443-exec-10] .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-06-28 05:14:30.823 DEBUG 1 [io-8443-exec-10] .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-06-28 05:14:30.846  INFO 1 [io-8443-exec-10] .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-06-28 05:14:30.848  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-06-28 05:14:30.850  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-06-28 05:14:30.853 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-06-28 05:14:30.853 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-28 05:14:30.858 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-06-28 05:14:30.864 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-06-28 05:14:30.867 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-06-28 05:14:30.905 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-06-28 05:14:30.911 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-28 05:14:30.915 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-06-28 05:14:30.924 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-06-28 05:14:31.640  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-06-28 05:14:31.643  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-06-28 05:14:31.643 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-06-28 05:14:31.645 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-06-28 05:14:31.654  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-06-28 05:14:31.655  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-06-28 05:14:31.656 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-28 05:14:31.657 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-28 05:14:31.657 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-28 05:14:31.667 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-28 05:14:31.668 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-28 05:14:31.668 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-28 05:14:31.674 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-06-28 05:14:31.674 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-06-28 05:14:31.675 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-06-28 05:14:31.677 DEBUG 1 [io-8443-exec-10] 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-06-28 05:14:31.707 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 197882027629392083949560446798821006937744861036 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Tue Jun 28 05:10:35 UTC 2022 Final Date: Sun Jun 27 05:10:34 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [f4:f6:67:22:c6:8a:97:f9:6f:f2:4c:fa:9d:98:bb:cc:e4:c5:73:3d] modulus: e18f5ec406bf99760a0f562eb5d07458afa89146e1c97be6fc040b837428befc89c7e59281a15afaa2d0371a9f7dd6067cfbb1ccd218d668e59acf46089f8af20a1f5b21834c58ae8ed2ac3e0432b844a9fa5ec0fc8b4ffecb9e50bf41896b68e6827579a1d64af7e73dfc56cacfd98bb0a901256308602be85462d0a0a56f1e97156c0873a87803aaa855862452b2c8052dcdfe0347440751ca995c8648d02cf9da4d7817e69a352a6a67d7b3631778beeabbf3283a28de3f5bb0b9792e8f27b0a762106fb67cbdf7bd123092d53c9885f3ddcefa09dd5a0b43f02f7c5a00797a98ad9ac7cc72149c60800f1a98f3e45351f2069bbb1bceffde5ee34978bfcd0281544558c349e7d5f7d8a38f920ffd4f4dcb3ba23405469cd5acfa6684e4870196f07adb69235f9445d7181269bb4965781b86b3095a41cbf9f4a96b638cdb94b79d550f3dc41b7092600d48264141da3b4a7cbc9849f0f46bceebb7b72dd6827162ed39ed8d1ba26dd6b76f2f14bf57d934b0dd69f45facf88dc99e3fbfcd public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 3ed70ca95c33f078e595a42c5bdbfdb1f0bb9d32 fc8aef5d1fba2f5c181b2b0f17c86e408771984d c847d1a7901154a878701effe180fa57cb8be281 fffe4ebb75fb5be65a5bc1ac68299dd01d6c7581 8eabfd37c76a3f3c42db6f19d9640a6f323dc1d2 0fac2a490f10978d63f7eab5da26e181204822c3 a1563c7be2b32d5e757915eb816401b551479863 de364c8aadcfd38283f5bc6975fdd8cb0ab60d43 51931cb2cfeed471df48815b277f7a7f7d9d7ca4 3c735c71c6772d082b42a371af549cb78f2ffd63 e36c1739f8c08e1f8f17e299a9fc2addfb61890d 341c92da36a132bb642391e0c698e4ff7f5343ea c2448919c86748d93ea6c27417476568ebf70b42 a6bef8714febcdd189efeea6bd4f77e75cba5a31 ce2a594b57ad2ef355c4bb7fb3178f998ebc2778 8feb1f80f95adf5f4b38a80f46a03c9bb772caaf faf76884d0313c33278e88575088a5005082119a 65b73b47e35699637df162e34fc5f506a58ce179 79ad1edcdba4523efd77af96240ce6a815149fb4 92ba57bd 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 [ef:5c:1e:64:03:69:d1:48:21:14:1e:ce:cb:7d:b6:5b:1d:63:30:87] modulus: d957523258ef8966ecd93ca534ab0403407d2c6e127d9d680fb3b013e3ff5cf151e4f9309925a514e6fd8245dece967f21b6f5ecaabc2f16675468d2c9af548c09d3254b10c4ee0bf4e4f07c0f69b218d16a0ba67c28443d77ec0e7472d569fb3fb44b023645fc4a07afed7760c1cb4b8c0ac5898a398e2c59af7e510e7b2a7c51c421fa1ea1b8f4cafcf664b3388679757e838e2594babb8a68bb6f76a0edb970fc3a8c46f2a867fcf8cb375908eeed0c1f7021f322ebf320c65b4b933ab54bc4f74474614fe63e34a2a78f41ac57f9a386650aa75065bc030da5c34d99036164864850da43d7b476ce7437da7be41d1c0bf4f3a0058111e5535f792ecd0337 public exponent: 10001 ]