2022-09-30 03:02:54,257 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-09-30 03:02:55,064 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-09-30 03:02:55.886  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Sep 30, 2022 3:02:57 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Sep 30, 2022 3:02:57 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Sep 30, 2022 3:02:57 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Sep 30, 2022 3:02:57 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-09-30 03:02:58.471 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-09-30 03:02:58.763  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-09-30 03:02:58.932  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-09-30 03:02:59.654 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-09-30 03:02:59.657 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-09-30 03:02:59.659 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-09-30 03:02:59.662 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-09-30 03:02:59.701 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-09-30 03:02:59.704 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-09-30 03:02:59.844 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-09-30 03:03:00.481 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/]]} Sep 30, 2022 3:03:01 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-09-30 03:03:01.354  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 7.861 seconds (JVM running for 9.552) Sep 30, 2022 3:03:27 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-09-30 03:04:30.472  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-09-30 03:04:30.482 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-09-30 03:04:30.524 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] } 2022-09-30 03:04:30.529 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'} 2022-09-30 03:04:30.548  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] } 2022-09-30 03:04:30.551  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-09-30 03:04:30.552  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-09-30 03:04:30.553 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-09-30 03:04:30.554 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-09-30 03:04:30.558 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-09-30 03:04:30.565 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-09-30 03:04:30.568 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-09-30 03:04:30.608 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-09-30 03:04:30.617 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-09-30 03:04:30.619 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-09-30 03:04:30.625 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-09-30 03:04:31.276  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-09-30 03:04:31.279  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-09-30 03:04:31.280 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-09-30 03:04:31.281 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-09-30 03:04:31.292  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-09-30 03:04:31.293  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-09-30 03:04:31.294 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. 2022-09-30 03:04:31.294 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-09-30 03:04:31.295 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-09-30 03:04:31.308 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. 2022-09-30 03:04:31.309 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-09-30 03:04:31.309 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-09-30 03:04:31.315 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. 2022-09-30 03:04:31.316 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-09-30 03:04:31.316 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-09-30 03:04:31.318 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 2022-09-30 03:04:31.350 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: 280090428864408987871629136726551207273479488772 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Fri Sep 30 03:00:45 UTC 2022 Final Date: Wed Sep 29 03:00:44 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [9b:d8:ef:e4:c9:cc:85:c2:4c:18:b9:7c:bf:dd:af:59:cd:63:ed:0d] modulus: 9f6710525a9473ea066757298fd2e430607245c6aadb2dffdba1d4f71468d31831baf55edd1e0159e1e02daa579ac66368339e18135e83bf1ab8b526cbe5bb755cad394782155d4bf4c88a3e84ecf986cf43df68d4b0ef359a7c53c03cc754bde1f2c3c506da56229204fd75faf879398aaf9b2dbbe22ea52530b50adbb21749e9698aca3c7208e7627db5ecdd9439ba5b7ca68e45df92460885580025a62a61dcd0af720d5d6f4274eec31b77bf5aa80bfd748c31b3ede38bf848ee554651f8f6c042695bfc5679381551f871f075bdbbc1c1656285aa3e5e2f7f1ee0b865b1bd3c9603e67985c71b4853591e01fca4bfff7a60e7369ece12eb0e3742911644f94485ff7f246eba1e95a3d58838b91a4c2b655173f2698fdcee2ddbda2dae0c1fb85e38418bc741130600c10e389dddbaf0fc2e1dbc1d8be4f6ac040b921a418649b18c6f5fd6f929f49c78c42009e12e56a226d75f493d455bcd13fd5cbb6d5f4bf1f44d950e11c9e0948be38799c0cd6154ab04cc14fd6081cc70016bfc07 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 191e03c9d6926491a0d677b0f93aa601a951cf48 7518bfd0f40796b04b54158df01a49ecae6dcabc 26c3ca3436865bafe208b64105c4549c36dc8d02 cd98026ac8d89053e497fe7a73d20cca831b8ccd 7b25f2e7233efd09e31620ddd5ce4b1dc621e439 b7ce10dc4adce345234cb417eb083a7136005821 73b0a267375348d407f0f4f9f36c224c63ff1e7d 92f32c887037f474be62c969198632b8c5a111c2 d9cf472dca1808be1c220cab61b6e4f7ad7bc415 c60e918e9608aa09d9fd95c6e784ea7a45d674a5 0267d326bebd2f50f70283d77cc333c2e530ab97 db2ce12452da818e77d36f1ec9892326ef483ff8 3e25c139775f637b73eb4d553b529c65ed861f26 ce5f61a8a8199418dd5c17ff2928e5356282bff7 ff9cd6edc5ed08179ffba3cd788654ecf75b1982 e93262c7164aac05d5acd83ecf3cd595be6d6f50 a125d5403e343f0626c261c0b88ddcfd2df75189 7b5ee8aedfbc380f8f527456684c49a34d9e2cd8 10c2861cf92562b1038f99d89c2b3903a8dcaeb1 ccf18fee 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 [fd:62:ed:83:30:a6:dc:1d:e1:00:d9:6d:42:ad:04:d6:00:04:02:f9] modulus: c57e7aa85748df69f9912f848362df1eb4afcd2b583900515f794223b8bc54977a5b83825470d69287fdaa967c75defe35ce1a3ce771f3de55405dc81650a7ea004d73493603dc613c8a64cbbbf81d42fa2d273b9086b0a6531aeb7c8d55649554cf07d6db7f6d55608270a3d066196bf4a776e7af1ed815bdfcdc337f6d9afbf35db05839391d90c95280ae085667f283335d2e035403436405e81074f76bab7de6a8bd2dcc9205fb6efc960c36cd45a9d34d07fddd4e244e48d6184cda3eb2af88678d9ae5344ed60c34a633dbcbc289ec27c21e6f807ac68dddb98460264702e3e72514386510d415fe9d616f53897d015d6714eac3c13e161536c25bca33 public exponent: 10001 ]