2022-12-31 05:10:36,578 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-12-31 05:10:37,521 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-12-31 05:10:38.145  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Dec 31, 2022 5:10:39 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Dec 31, 2022 5:10:39 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Dec 31, 2022 5:10:39 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Dec 31, 2022 5:10:40 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-12-31 05:10:40.525 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-12-31 05:10:40.790  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-12-31 05:10:40.941  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-12-31 05:10:41.621 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-12-31 05:10:41.623 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-12-31 05:10:41.624 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-12-31 05:10:41.628 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-12-31 05:10:41.663 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-12-31 05:10:41.666 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-12-31 05:10:41.775 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-12-31 05:10:42.344 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/]]} Dec 31, 2022 5:10:42 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-12-31 05:10:43.185  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 7.452 seconds (JVM running for 10.861) Dec 31, 2022 5:11:08 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-12-31 05:11:35.685  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-12-31 05:11:35.694 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-12-31 05:11:35.737 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-12-31 05:11:35.743 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-12-31 05:11:35.758  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-12-31 05:11:35.760  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-12-31 05:11:35.761  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-12-31 05:11:35.763 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-12-31 05:11:35.763 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-31 05:11:35.767 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-12-31 05:11:35.777 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-12-31 05:11:35.781 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-12-31 05:11:35.838 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-12-31 05:11:35.845 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-31 05:11:35.845 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-31 05:11:35.849 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-12-31 05:11:36.792  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-12-31 05:11:36.795  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-12-31 05:11:36.796 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-12-31 05:11:36.797 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-12-31 05:11:36.807  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-12-31 05:11:36.807  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-12-31 05:11:36.808 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-12-31 05:11:36.808 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-31 05:11:36.809 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-31 05:11:36.828 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-12-31 05:11:36.829 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-31 05:11:36.829 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-31 05:11:36.835 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-12-31 05:11:36.835 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-31 05:11:36.836 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-31 05:11:36.837 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-12-31 05:11:36.869 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: 724087533821643754888546544499066089387517088836 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sat Dec 31 05:02:00 UTC 2022 Final Date: Thu Dec 30 05:01:59 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [ac:c9:8c:6e:2b:4d:9a:69:1d:d5:22:55:c2:78:ce:a8:40:de:08:0d],[56:66:d1:a4] modulus: e64edb56f7daf56c2284c094aca8922de41d15ac8b9469403728b674597f4fdfbc235985b8cb0efe88650510da8544bc43e77ef6ff952c2de72e1c3a8df2f7a845933ff4268c09439ae9ec6806a5c146becdde6a69a768250c10aa96eba1f5b0f9819f0846d78599ef031ab83e107139f60d7aacc96bd87f8f1f3443b2152a77e7994f4d47a173efce38e1d4c2db8da528e9913fe420de7c6239620764fdb37d36877a9ccb584b08749298f315e9a9b6d0f4e2efe4bdebfaefd2a4925fd2b80d9b2808355531596496168acefc511208d4b88ae5c0569c1e65b00bdf0c0281cd51f919b61b280a6d0fa56399fe1499a6b431788debd036e8162e9725452c1765156e280ee131cc7978657f0edaded7945cd3f40543effb5adc3728e58dc3e83230794b18f094d1bcf91c68f4c700f1ef764820ac11c1dfc7bbb5343282414781801e321e7b7703c1da18d9077f08e1b31cd000778293147f82783738f0a08e0efa1ce749f0756268d29a12d50d9ab112e780f5b9f620816ed3f01f064d8f1279 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 1df37b807ed694b5bd070f70e974eff3c7d93870 31248dabfe97304328917ec45a71e9897820c487 966bbcce479103418e8fba2ecea22bc8fcfac1b3 2a0571fe9c77c86975fa236c1cea1334522b5578 7b671686c6254995027e3187e3e83859c1300314 23568ccd514062caaec5c3752f1366c0e53c5e12 5161554be791297df34a5efe4829b8f43744a004 d081fe50eed3217309f7c37dd7747bc506395f16 2cd45a7230fb81d6cf0612c0952f78362a345866 54584133bfec2750032eec01925b3d85a8ff46b6 86854df3ee7f42ca3067fcc75a0336e1945cf9aa bcf0a1fe9d941c068ce30a67ecbadf1e8b60085a 55a70b20a3b383802d2ef85f38ce1744c8fdd056 9f9cd2870f049d5eea864746f214a22780a20eee 206b0bf28dd23f03f4122f4515b491395fa6f237 a41e7ca02e3663ace42f5c1c21bde0ce3e188596 27b6476a343363ae0e2793d45c2606a5ca5519ef ed86e0b4148438475015f0b42acbc1d3cc8ffa9f 240c9229b352a9eb0ff3a3bc17099dd0f74985a8 5d8a4a96 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 [d6:44:a7:ce:f3:b9:26:97:95:61:2c:46:ed:b7:06:e3:64:8e:51:e1],[56:66:d1:a4] modulus: d20dd6786590694c339f9a52bc730c655a5a4967f32b3b43506252593ae69bb8a7aa36011e286bc3b691300e13000aba4d5b37e413750527241e97e4607f16024c8388c072c4b11541793d3cb40280b0d56468597a5333f378c658d1f1da7039e0ad7104705211bcf6c0f2c921815557303a861079125431a9a37c7bede5cb849f4d6226132cd142f05bdcf1d765c7d745e87e083ebb8fd72cabf7fb7fefe394182be0cbf4ad4cb6d8d956657362cb8ecbc55111f833aa4490d1ba222a1856cfa6fa470f3d4c65322710bbffb594de6e5e86e4f285e748b97775d3c09e2882336dc2878d34b09f8f5b559bc9a5c3d514f14db24ec0b20bf9015256ef6429fd2f public exponent: 10001 ]