2022-05-13 11:31:29,610 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-05-13 11:31:35,006 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-05-13 11:31:38.518  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default May 13, 2022 11:31:49 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] May 13, 2022 11:31:49 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] May 13, 2022 11:31:49 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] May 13, 2022 11:31:49 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-05-13 11:31:51.523 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-05-13 11:31:53.020  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-05-13 11:31:53.914  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-05-13 11:31:57.326 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-05-13 11:31:57.406 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-05-13 11:31:57.408 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-05-13 11:31:57.412 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-05-13 11:31:57.608 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-05-13 11:31:57.613 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-05-13 11:31:58.208 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-05-13 11:32:03.118 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/]]} May 13, 2022 11:32:06 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-05-13 11:32:07.915  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 42.1 seconds (JVM running for 50.171) May 13, 2022 11:32:10 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-05-13 11:33:13.218  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-05-13 11:33:13.311 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-05-13 11:33:13.421 DEBUG 1 [nio-8443-exec-9] .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-05-13 11:33:13.507 DEBUG 1 [nio-8443-exec-9] .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-05-13 11:33:13.523  INFO 1 [nio-8443-exec-9] .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-05-13 11:33:13.606  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-05-13 11:33:13.608  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-05-13 11:33:13.609 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-05-13 11:33:13.610 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-13 11:33:13.612 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-05-13 11:33:13.618 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-05-13 11:33:13.622 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-05-13 11:33:13.911 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-05-13 11:33:13.917 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-13 11:33:13.917 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-05-13 11:33:13.921 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-05-13 11:33:15.680  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-05-13 11:33:15.682  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-05-13 11:33:15.682 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-05-13 11:33:15.684 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-05-13 11:33:15.692  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-05-13 11:33:15.692  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-05-13 11:33:15.693 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-13 11:33:15.693 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-13 11:33:15.694 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-13 11:33:15.715 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-13 11:33:15.716 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-13 11:33:15.716 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-13 11:33:15.721 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-05-13 11:33:15.721 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-05-13 11:33:15.722 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-05-13 11:33:15.805 DEBUG 1 [nio-8443-exec-9] 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-05-13 11:33:15.834 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 250495301442293134729163443788767687234862987196 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Fri May 13 11:27:39 UTC 2022 Final Date: Wed May 12 11:27:38 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [1f:f2:38:94:64:fd:41:73:91:87:26:4a:73:84:eb:68:9e:49:3a:7e] modulus: b7b92678cd394a5737dc27bfa8414abaef6c2daab09aef4857c55252e5a9c5b5577d96a4a44cd4b58babbdfcbf6f5e0e47291d8cd2ca13cc546d8fc21e00dd59263b820da5176a794a3adc689a0d2d3c6ef13a43dd26e9e91d1fd3a1c066e28029d2418c35de0b7f7590e29b3cc1ee6bbd0305bf9ed1d70b83d51bc5c0936207431459109dd1a1b6bff928f06fae1bb2cbfaed3be31101ab0776e5bb0a51f29639ba7f5aabb48d01b04ffd7be7edb57261c057399144483c9f9e260a1a1cd88be41be3de8e9655976efcb228d9013a5f3f8d591880f73cdd91a0ff7fc9dabc72c65ab7b551188459dd6771560f32eb3fb9d6a13fa9748023f3e9b16553e6d5112581c4fe98448a6186f1f7fa2616091756244fa615605f4b155061802dd7f440dee4f54610b44bf5430d330992106a29b013b43646f10e427356e4e46bfdede4ed7c5812876f39ffe4422e73d79dbabd9f9734baa18a21fca190a1ec4fb92d9c758108e51224deeaaba62305fe300b94fdb43800681321cbc5da984a2c1adae3 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 98977b5ab7af97add6af5e935068287898f63b54 5d7811f1e7650069f0329687fce69291631abef0 48af143855d93c4035970a3ed6a7a2514ae70d22 348ef40a588a06efecd840859d5c8aa660c25ccd e8c2900f4d2c681afab422c537327a3694cefdfe 555353b1351542772b0a168af9debcfdcb1e145f cf1065498e2c040ecb3904d65a82a9e51b56ccf8 6e44a3e7af3f5d221be540f3a2e1393001685820 7a8423527a4a395411a69fa6847a9285d9864791 7f78322b39e9ddf8ee28af9ae69ff629b68a0598 a578ad69c7373ccba43fa928d32b71134fd92262 7876cf36a0c55387a7fc0823baaeb131b881ead3 e4ae0c6f3756f9cc2ad338bb40b83e2516fd5f38 3ba28904695adec57d8430f31fd80effa906ab40 13392e39882a2780621fea3b2d3401780f712651 6a1590a8b95a36d7370f578f5bd507a97d102418 7a7c67e59b797e2bfb472da5206b5815838bb1fe 3dbcf02ae00ad1231000a8372a765aa744ca823c db9842181f44da03d60872dabc3167482ab76303 da89871f 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 [db:96:95:f0:5d:3e:a9:91:88:48:67:c3:6a:18:df:49:fe:a9:e5:55] modulus: ce3e1780a8779d62efc5a705f10ad150ad048b4ac9976654968786908bee9648023e2e622b3fe842ede94396e2be79eeb1387e23adeff31f63cd1a1031d6e199772112e173e209eb66a77b014753c5458ff7e74a5f7fc8c653b3a6a741db431fa2ca805883a4e63f078dd64bc8626fea742620818ae0a2f0fe9c8168d05c67eb77481344c2f3a641b46824da3415f2f47e2adee2a15ee3779f39051f3d9c7ba9d39a453445fcfd7d9595a505ec72991b94be29a655a0e05e50c28e27db94d8afa5010597e75dc8bff77067a955bda2ba6550ef18bd739f5952ccb509bfef74105ba2a1a111f6356dc679051373558bc4de0e641da62436d3dd462a3786ebe5b9 public exponent: 10001 ]