2022-10-26 05:00:32,090 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-10-26 05:00:33,047 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-10-26 05:00:33.682  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Oct 26, 2022 5:00:35 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Oct 26, 2022 5:00:35 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Oct 26, 2022 5:00:35 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Oct 26, 2022 5:00:35 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-10-26 05:00:36.071 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-10-26 05:00:36.316  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-10-26 05:00:36.476  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-10-26 05:00:37.219 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-10-26 05:00:37.226 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-10-26 05:00:37.229 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-10-26 05:00:37.233 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-10-26 05:00:37.266 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-10-26 05:00:37.270 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-10-26 05:00:37.354 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-10-26 05:00:37.995 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/]]} Oct 26, 2022 5:00:38 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-10-26 05:00:38.901  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 7.633 seconds (JVM running for 9.051) Oct 26, 2022 5:00:59 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-10-26 05:01:28.191  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-10-26 05:01:28.203 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-10-26 05:01:28.237 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-10-26 05:01:28.239 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-10-26 05:01:28.251  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-10-26 05:01:28.254  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-10-26 05:01:28.255  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-10-26 05:01:28.257 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-10-26 05:01:28.258 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-26 05:01:28.261 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-10-26 05:01:28.269 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-10-26 05:01:28.272 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-10-26 05:01:28.312 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-10-26 05:01:28.322 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-26 05:01:28.323 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-10-26 05:01:28.326 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-10-26 05:01:28.909  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-10-26 05:01:28.912  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-10-26 05:01:28.913 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-10-26 05:01:28.914 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-10-26 05:01:28.921  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-10-26 05:01:28.922  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-10-26 05:01:28.923 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-10-26 05:01:28.923 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-26 05:01:28.923 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-26 05:01:28.937 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-10-26 05:01:28.937 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-26 05:01:28.938 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-26 05:01:28.945 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-10-26 05:01:28.946 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-10-26 05:01:28.946 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-10-26 05:01:28.948 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-10-26 05:01:28.977 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: 406669758659956037992904677909688774127168146040 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Wed Oct 26 04:58:36 UTC 2022 Final Date: Mon Oct 25 04:58:35 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [1f:b4:f4:e7:ba:7e:47:cc:26:47:1e:b5:fc:ed:a0:80:d2:41:bc:64],[56:66:d1:a4] modulus: c05f6b5930528be5d5dd3d1a4b16afefcbc8b8a7be2efd0e224f729a6519e16e80439b4297547e0f556afd3b20515dc4269311e945599ccb231dc4e6fc6e2a72a6062b6db5d3668f7d553e942f41fd03bbeaba0e4024462009255806066431f7eea64f049e3b12db4f5cdbb26f16c6005c1d51990d431dfa3936e058b3a6d966ddf374346e311ea53c51870bc4b65fa7b13c33f3b6d013d086e94d4a0f3b55292d99c72a3c3fdda9de3d3f76a69f7659a9db05127d602cad7b0dbc566f455a3a11569eed836173c05458aaf7b0f694fe5f0f5a41af3f673eefc7a4c001bcc8f56dce2a355e80e70dcb24dfd85c3267beca7fd73d8a13984e969bcc5114fe8fdb7172056ddd4770980f4d4ce7fd5d610b30cd980b241897381cef8903716deffa92083ebd5e459934d37df03d5035719fa697ad872d1ce69993d8ca35cbdf8bca7f8809ff5e671fa03e85b338fdeaac3177adc57a8c3d9fa798b5adfd5af93c589aa8e550b2baf8d055ec2ed99214f31568765499ac036bba14a1e8f17fca4385 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 2e0258a3f91919ced5e475cbd09c9efc33ea73a6 0423a2dcd1460da2d6a092cd2602ce5f53e0f3bd 0c7f4fa15b654e29a3347ff7cd81e954d311178b 3fe5b2e63563d181a6c83d4c559e1742be77d7e8 a0012ad855702dea4ca31fe9539ea513ea596bd9 75b13d0f34ef156ead285d0708bbb8062f736f7f ab7a5064986bb7373ce680ede647cc358c3cd33e f49379f2441edf057324d5109992d75a34935238 345e6860d9d0a288749e8d2f7f2b4cf774969076 4e1096aa6785eb0ab1fffb6112aa67068bd071d9 bcc3158076eae6f32001782d0991ebd95f83e611 f2c5968435c526fb37d65720e7e9c0793033c6b9 2b6a48bb6fb44c955f6454be495b343a06dee9d9 6d7fb2035108f9b3acfda17368baf3889ba44795 477aaa933f3a8f6c309ff10b30f2fbb37d2285db eb817f5baf08a2c3f95d1be9341ec1c371190e11 f6a449f88f4ea18b6459feb8a53247f6ec537dfd f319cfc78ab52f03933e81396fdef43b4427d182 4109eaa0de9bcb87a862c0caf7d5d989dce45031 f6325e7f 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 [2a:87:7d:16:73:bb:b9:9d:ec:3f:ef:9e:9b:a4:45:d5:8f:fe:88:c3],[56:66:d1:a4] modulus: d4e1b11fa5a2c50c93345efc336d2229cd990619a73a9b850190aa5b49566332962514b6dbc978e4be79daf16e9e0430809f8efa4cd7248a2055a1a1656ce7daa85940e70e7b81168171ec2861c92cfc5a604aeb56186006a168be5f1482f115d69b9ec46361a69899cd2a2fdb774194f457937bc67b7fc2462ea09e1a4bdd450cfa0c596b883a3e05d157d55447981e77f16f72f4d804aeb44f030a77f1c757c155d03da7cfeaad20e3643da8a90515a283c6c0983bea6ea887200dc3f7d55126f28a84e108209eb897f5c6ea64c5f39b939acefdd8f320e065a6e2a9ef2a3afef9346c8d4d22c491800af6baad574289f0f2fb5c80c384c5d1456356057e71 public exponent: 10001 ]