2022-03-29 05:03:45,951 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-03-29 05:03:47,342 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-03-29 05:03:48.271  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Mar 29, 2022 5:03:50 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Mar 29, 2022 5:03:50 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Mar 29, 2022 5:03:50 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Mar 29, 2022 5:03:50 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-03-29 05:03:51.720 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-03-29 05:03:52.146  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-03-29 05:03:52.399  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-03-29 05:03:53.261 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-03-29 05:03:53.264 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-03-29 05:03:53.266 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-03-29 05:03:53.275 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-03-29 05:03:53.318 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-03-29 05:03:53.322 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-03-29 05:03:53.519 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-03-29 05:03:54.167 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/]]} Mar 29, 2022 5:03:55 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-03-29 05:03:55.454  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 10.502 seconds (JVM running for 12.804) Mar 29, 2022 5:04:16 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-03-29 05:04:43.118  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-03-29 05:04:43.129 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-03-29 05:04:43.180 DEBUG 1 [nio-8443-exec-8] .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-03-29 05:04:43.187 DEBUG 1 [nio-8443-exec-8] .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-03-29 05:04:43.209  INFO 1 [nio-8443-exec-8] .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-03-29 05:04:43.213  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-03-29 05:04:43.215  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-03-29 05:04:43.216 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-03-29 05:04:43.217 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-29 05:04:43.223 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-03-29 05:04:43.236 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-03-29 05:04:43.242 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-03-29 05:04:43.298 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-03-29 05:04:43.305 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-29 05:04:43.306 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-03-29 05:04:43.311 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-03-29 05:04:44.090  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-03-29 05:04:44.093  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-03-29 05:04:44.094 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-03-29 05:04:44.096 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-03-29 05:04:44.110  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-03-29 05:04:44.112  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-03-29 05:04:44.113 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-03-29 05:04:44.113 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-29 05:04:44.114 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-29 05:04:44.125 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-03-29 05:04:44.126 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-29 05:04:44.127 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-29 05:04:44.132 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-03-29 05:04:44.133 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-03-29 05:04:44.133 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-03-29 05:04:44.135 DEBUG 1 [nio-8443-exec-8] 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-03-29 05:04:44.164 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 187012671058290808257103058363497697727434269243 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Tue Mar 29 05:01:18 UTC 2022 Final Date: Sun Mar 28 05:01:17 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [d0:11:25:34:67:ae:d8:20:63:b1:c0:c3:86:87:97:db:8c:2b:4d:10] modulus: eb6b1b34ab4e8c650547da979bcbfdfd2abe1d8c3bb73c1772737c34ebc547e980ab992df567f7b3c63b5201a520df154d5450765ebb97af68b47dc2dbb74455c72c7a0a8c7eb0a3b99514f772b8050e7e5ca6bd289c15a752c48ab54f3bcf349f9d40d49d7038b8a0e9a2769daa1457824e54cf90152254db138813465ae8414d133b1a0b32d3c0e51e817da71a9b599ce86c81bd8d1feff192fa5551b9e6e93ed8bb38b8f1720a7d20abb4919a48c65408e65da623dffca575332af9166fc1061da0b51740575b8da3774d3045673563d99c4d0830546a8c6de87d31a6852c720f64ff57af91166a38877862335f10fc697a56d2685ccfdcf184cb4192fa45c82e88e5e7a793db893e8e944fe00f2fe6d88c48a89b524941ab33ac93d0d21d327dc159e800bed03931ae8b9c9dc79857bf812c094ef0f6001564e009b3236eac50cb407508a00564e21d75d2c8408c3185084599bb951ffebf66837cbc9b5ea01bd454fa9907fb18ab21ea4a39b4217d1438f582d8d913162368b26aa73f91 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 9633da160ed0b291524773de35d885a56ec3479c d67d093e2986511bc1d8e20c98ab11dead487c7a 966e0505832988ddcb1fefcb1e829910df4b4aef 8e1a374a26425779eb55db87adf1988f0aaa72b6 9dba67e0af6a3409fa000e0541a293063e722c3c d13424b9b2c643da56d1b80ef79ea4c152b864ec 7a769b87b6c5384f8b3064c6611de454a4a4e9fd ccf22569faadc999a4eb020e02b9bf96fd4a8cb6 3392ef29b0287b3c38c523860dea4e9e130eab74 a88400280f8630c2d486001b58339d699c10f569 7ef2f2c582f4c254ead9ef3fceade729160f16dd c835a8cc422d6c77508c8214a221d2a855a758f5 71a97daae495512df19c345a664841ec6bc2e5f3 c5740cdd5781401cd53bb2d6aec3f154cda7ccae dbdb8a0eee4d70369d8fcd1d4863013871c1c766 4915295bec2f89c36778839da1f4ff05edf372d8 cdabceb6029fc9474f5cb7a1bbef45fe35ec6868 dcf56455161778e9d1c05e122b0d2fe07ad89eca f5e4ad42ab786fe95add56ec9f8066d2edf3175b 73f186d8 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 [bc:1f:84:fc:09:de:1d:3a:13:6b:59:a5:74:03:1b:f1:09:9f:c1:58] modulus: cc50dea41d6fcae61255e92f0663e744fade1ec58534e7857d438506a94f2603deb6941eda96202f7bbc2a97a4008d1afe2655af6d99df6c95124a1ddf5b180105a2db8a6a91012d3f8a445703f0dd531d3eff04fc69c28acef021d4ed10486d884b9df38b6a31103848a1a58915b3610927d177a80203da053054b859c8c6df9c8b20b4738780a3724e73087d79af09e8a57aa78deddb7ca5af9bc3c7e15dd88f91bd1d68edd30534a0bd5c7d9c8b2078bd3c4aa6f7970872dffee29425840a9bb1c5cfc53086809fcc7991b96669b7eae77bd23ab22c39dfd5cb75849b9271b6ba1188353c95f6b3c6934555857aac07d143f6a291fb0b4f98757688be4e8d public exponent: 10001 ]