2022-07-01 03:32:33,881 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-07-01 03:32:34,720 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-07-01 03:32:35.433  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Jul 01, 2022 3:32:37 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jul 01, 2022 3:32:37 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jul 01, 2022 3:32:37 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jul 01, 2022 3:32:37 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-07-01 03:32:37.876 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-07-01 03:32:38.164  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-07-01 03:32:38.327  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-07-01 03:32:38.998 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-07-01 03:32:39.001 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-07-01 03:32:39.002 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-07-01 03:32:39.006 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-07-01 03:32:39.045 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-07-01 03:32:39.048 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-07-01 03:32:39.159 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-07-01 03:32:39.676 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/]]} Jul 01, 2022 3:32:40 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-07-01 03:32:40.530  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 7.44 seconds (JVM running for 9.194) Jul 01, 2022 3:33:04 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-07-01 03:33:41.800  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-07-01 03:33:41.828 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-07-01 03:33:41.872 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-07-01 03:33:41.877 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-07-01 03:33:41.894  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-07-01 03:33:41.896  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-07-01 03:33:41.897  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-07-01 03:33:41.898 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-07-01 03:33:41.899 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-07-01 03:33:41.902 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-07-01 03:33:41.908 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-07-01 03:33:41.911 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-07-01 03:33:41.946 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-07-01 03:33:41.952 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-07-01 03:33:41.953 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-07-01 03:33:41.958 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-07-01 03:33:42.465  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-07-01 03:33:42.468  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-07-01 03:33:42.468 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-07-01 03:33:42.469 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-07-01 03:33:42.478  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-07-01 03:33:42.480  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-07-01 03:33:42.480 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-07-01 03:33:42.481 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-07-01 03:33:42.481 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-07-01 03:33:42.493 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-07-01 03:33:42.494 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-07-01 03:33:42.494 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-07-01 03:33:42.501 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-07-01 03:33:42.501 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-07-01 03:33:42.502 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-07-01 03:33:42.504 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-07-01 03:33:42.535 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: 343366063067050649103981516106384914668502216658 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Fri Jul 01 03:30:24 UTC 2022 Final Date: Wed Jun 30 03:30:23 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [74:1e:71:d0:5b:20:97:2d:0e:da:6c:e2:f9:65:12:e5:c2:03:93:a1] modulus: 9d1981984c258f88478a2e9c6652e2977d5fa8218b3f38d06e524bd9b1cfde507bb01ae8699e56f5864eeee5baf64be4dae7d8427c70567bfcf319710971fae4155b7418dcc18405263e5de300deac40612f6f4f086c34293ed733d4ed3685dae0c01bead9b0179afe40e61ad1672efa7b71e9ea00d309f09000f051ad536873ead70ab91aa97772f7be8af418c24c25c6087a4392e9abb4d46c422c79255425d36deabe702f8c7e0aced090be44b66865429dbeaf0b73d7f511928e1cc7ff1ba3c101a1da2b2ecf31b9a643b011feb4a4f1aa925db42942aa00bcbac22623e4f3e9dde03835bbf2d9f216a8433b582df1eef549581a812c5f76c8785ac966a53a6aa0b26da7219ed746d96115b471d6108475ca19a3f250ae57d31eb014e9060c323739e3d1173caa1cd683f487e5df2667ba02adda3f707ccc9971d11e6cd50fb646f06d2d725397afb3a6f2ee1ba0af7fd9345455b8604fbd3e22006ded99a788866f4d01726ba22e446ad7266328af4636f646ffb771fbe7f4b7d4ee2b3b public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 590213e41d7a648faf41c42fa3c77aa1f0d7b2cf 1d57c3fb96dc78dd469083289a0d5334307357c6 9ba470cb1d06677354bbfdb10a7b328f46246577 2d349cc65766358c1186f7f056e58ae9405e754e d522d3a003ba04280584fc223f3b8d7161e1c1bc 9141e6bd18d9992c8075664eaf51acec02f0e1d6 bf8bb8eae872f21e5401b366a08ca1da40be5447 40e5e6720658d0832d583d04ce832f255a3474e7 aea9d70371b9e8b891d4cc3bef4947eb4d1e130e 75de045f6a6bd396a0f9ab4482852493f168d787 636257b4c1b302136e15d32a1716eccfc2b92f1d b299f76a254df30a2287d369229ad85a81d289d8 fc2777f1842ad5f9b18405e821f1a3d9bb024fe8 b75d92b6743e4b420abd1fb20dad6e80028761bd dc8ae4df24df34698067a694d7b518613f0b1a8e 89365640d86794edc502795e4411be9a21f08ba6 a919de224e863433be48ba85e54a1a4200e56114 8e2a0ad6fa8a62fd16bbeed5142880c4f97474f8 4869f7e1f429b96c7e034d972e56b90d3e2c53d7 e5acfc8d 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 [7c:d8:36:40:12:25:50:ce:53:48:02:f3:ba:43:a3:6c:44:75:fa:a8] modulus: b37e738e23c8e7dec872502ca5d81ff2ad67c2d8caadbf86b91426b667fa94bd7988d5620d0270be6012b64f2dd523c8d6527a97de3b12226c26e600b96b3de58c9d3eb8ab16c61682d6e092aa6fbc4ea322c493ba2297081237616625e3c1f4beba5cfc871890dd8ce483938b6ed49e3696dbb8102508c36350f12ffb5c02204d247c9192401ed9d3eb805070412c3a13fbc9b7d7a8b2fd36e4b16fb3a59014fb4e084b949f61a102b3a7243f5ee3881c220ce856117557f3da8ec3f713a2253f146448993a6a979bb80d0a8270993bd081b726f2fced6f5c27e0e7c02d7049fb796e94c2dbf9ce384bb1429037f9f4ecbc48200499c92e333b925bd2e98c1b public exponent: 10001 ]