By type
2022-01-22 12:15:25,868 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-01-22 12:15:26,646 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-01-22 12:15:27.394 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default Jan 22, 2022 12:15:29 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Jan 22, 2022 12:15:29 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Jan 22, 2022 12:15:29 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Jan 22, 2022 12:15:29 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-01-22 12:15:29.851 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-01-22 12:15:30.130 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration 2022-01-22 12:15:30.271 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-01-22 12:15:30.946 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-01-22 12:15:30.948 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m : 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-01-22 12:15:30.949 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-01-22 12:15:30.952 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m : o.s.b.a.w.s.e.BasicErrorController: { [/error]}: error(HttpServletRequest) { [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse) 2022-01-22 12:15:30.983 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m : 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-01-22 12:15:30.986 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m : o.s.u.SwaggerWelcome: {GET [/docs]}: redirectToUi(HttpServletRequest) {GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest) 2022-01-22 12:15:31.092 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {} 2022-01-22 12:15:31.721 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.SimpleUrlHandlerMapping [m : '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/]]} Jan 22, 2022 12:15:32 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-01-22 12:15:32.616 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 7.415 seconds (JVM running for 8.96) Jan 22, 2022 12:15:54 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-01-22 12:16:05.638 [32m INFO[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.a.CertificationController [m : Received certificate initialization request for CA named: RA 2022-01-22 12:16:05.647 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object 2022-01-22 12:16:05.686 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36m.o.c.c.CertificationResponseModelFactory[m : 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-01-22 12:16:05.691 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36m.o.c.c.CertificationResponseModelFactory[m : 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-01-22 12:16:05.711 [32m INFO[m [35m1[m [nio-8443-exec-4] [36m.o.c.c.CertificationResponseModelFactory[m : 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-01-22 12:16:05.713 [32m INFO[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validate before creating Certificate Request for CA: RA 2022-01-22 12:16:05.714 [32m INFO[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully. 2022-01-22 12:16:05.715 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer 2022-01-22 12:16:05.715 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-01-22 12:16:05.719 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer 2022-01-22 12:16:05.725 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names 2022-01-22 12:16:05.728 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects 2022-01-22 12:16:05.770 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder 2022-01-22 12:16:05.776 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-01-22 12:16:05.777 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-01-22 12:16:05.782 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody 2022-01-22 12:16:06.339 [32m INFO[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server 2022-01-22 12:16:06.341 [32m INFO[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP 2022-01-22 12:16:06.342 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response. 2022-01-22 12:16:06.343 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody 2022-01-22 12:16:06.351 [32m INFO[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0 2022-01-22 12:16:06.352 [32m INFO[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpClientImpl [m : Verifying certificates returned as part of CertResponse. 2022-01-22 12:16:06.353 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-01-22 12:16:06.353 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-01-22 12:16:06.354 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-01-22 12:16:06.365 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-01-22 12:16:06.365 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-01-22 12:16:06.365 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-01-22 12:16:06.371 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-01-22 12:16:06.372 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-01-22 12:16:06.372 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-01-22 12:16:06.374 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : 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-01-22 12:16:06.400 [32mDEBUG[m [35m1[m [nio-8443-exec-4] [36mo.o.o.c.c.i.CmpResponseHelper [m : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 717805106376108951839447813969969772690060585615 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sat Jan 22 12:12:08 UTC 2022 Final Date: Thu Jan 22 12:12:07 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [06:87:30:e2:68:f9:3c:14:c3:04:6a:38:e6:4c:a3:70:c0:49:32:68] modulus: a7fda5d773f3ad7ff4c9fb3b92a6f2ab46836c7c9cf06e0a7afa36c7f4ee89170854e11fb732becd7a5dd2cdd602780a5948863c4319578f5d55f05b2b350d3caa8a29c0c50148f7b70cf31afd3b22b8629d802f3a3360e58e27b6d3288cbe351fe9f760eb7b834decc530e36bd0adfc5c740eabde27ee43485c14181e6dff1f2d9c936da9fdb49845791a6930355155d8522c2d025dfb5982ede684dc40fc31707d14a7b3a3a83ce28c1ddc89919fa823a6918d4e8f6314d6ddb114d160308d8a4a6bef1a64e205b9ec2e58b43c7a30e3adefffde0ff2ea377b5e23a530fc26e657441dc1d22a0da72f89689aa63b62c6f3c54d0661280a385b05485791759ea0da6dad47abef4ad01dabe20f8112c8a0c64ae464ef4f2720d1d346f5fa7b1d3d1306c40ec10385d048636f0da18357321b27241c6d1167d015e351e6b01b049b19e9dad9dd6ee7b265479f129d3cfdeff596c6aa6f490723daeec0086287dde3497f6a63a25062e8f095cd1629ed5b500923e43c8660da0c14b28b359741b3 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 3e00444162f76e3fcb63a5989d25385754bca1c5 ad8f414c837e58b4fe58c3d7412f0877e6e31db9 47f7d3373a0baca2bbf38650d92b943627197ce1 366d73ced351c28ce96bc1d9dbb2e853ad26a676 74193692a8478c4806f3a62aa1e5feb344e37757 d20554442b73469e0d613b1aa43e93ce232694c4 9931995e6b7bcd0052b142b18eec3ae0a803faae e6675e4cdcbe14e9e4334937717bcd9d55a402cc d7edeae83d1eeb930cf7f90f5fcb50127ffcac8b 1aaed97151f5295a153936114f454f30cc6f6d6e ae2fc96e331cf9c88a6da1d6815881b92067b927 8f3acf7b2bd3bbb6ef505f044fbaf1b53df324aa 0032671a818b7bacf18083fe0e285d5fd235283f b69fe4dad73c8989d9170bd41a10dbf1612b945e 2cc0d74fd9b10c9f19af1e8089d79ed54396dce8 793a5cf074f055a0ac7e3fa39d87fe22778453aa 6dcae072518823025f896635e861c38d8f0d8b44 d2a2f275cfdec7ef475aabfa016cad7738bb60ba ae08a6bd88b28ef584e6cbb77a59597cd569b065 8766f343 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 [60:48:4c:8c:51:51:7f:fc:5d:5c:57:b7:84:d9:1d:44:7f:ea:8f:50] modulus: c27ab3ce8f7b2fa15558e1be26acb3710e5f94e76257c650d0ab1eeee521f8b01778d1cea8fa7c9a34efde844b8c52f7ae470131d042b250aa63838b8e07eb15ce8a66fe338b2f41a8b91560db451e579d0ae3238f59daff3d956da1f03cc5fe7fc1fdd527a27bd1c252f79eadef57fcbc6f3b858e7867662b477b9af1b07491f96668f04590304331cbbe71a2928afa583247b1a869c1a85382e52b52e0fa60ff1a2464607668f0f473356fb377d90095c6cdcc295075a38cdddccece98a1c0e6ea8e5f17e79df96b0187ab32b49efe3a60b739114f207ee135ebcd9eccf7f2be7bb8352130eeeb674de7dfa86e2d1f53b31cb1ffcd229f477ad23269ef6c5d public exponent: 10001 ]