By type
2022-02-28 12:28:30,228 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-02-28 12:28:31,231 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-02-28 12:28:31.973 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default Feb 28, 2022 12:28:34 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Feb 28, 2022 12:28:34 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Feb 28, 2022 12:28:34 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Feb 28, 2022 12:28:34 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-02-28 12:28:34.819 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-02-28 12:28:35.153 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration 2022-02-28 12:28:35.350 [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-02-28 12:28:36.019 [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-02-28 12:28:36.021 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m : 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-02-28 12:28:36.022 [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-02-28 12:28:36.025 [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-02-28 12:28:36.065 [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-02-28 12:28:36.068 [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-02-28 12:28:36.182 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {} 2022-02-28 12:28:36.803 [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/]]} Feb 28, 2022 12:28:37 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-02-28 12:28:37.739 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 8.266 seconds (JVM running for 10.015) Feb 28, 2022 12:29:11 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-02-28 12:29:25.161 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.a.CertificationController [m : Received certificate initialization request for CA named: RA 2022-02-28 12:29:25.185 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object 2022-02-28 12:29:25.262 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [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-02-28 12:29:25.272 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [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-02-28 12:29:25.325 [32m INFO[m [35m1[m [nio-8443-exec-8] [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-02-28 12:29:25.327 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validate before creating Certificate Request for CA: RA 2022-02-28 12:29:25.328 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully. 2022-02-28 12:29:25.330 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer 2022-02-28 12:29:25.330 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-02-28 12:29:25.335 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer 2022-02-28 12:29:25.357 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names 2022-02-28 12:29:25.377 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects 2022-02-28 12:29:25.482 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder 2022-02-28 12:29:25.500 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-02-28 12:29:25.506 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-02-28 12:29:25.524 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody 2022-02-28 12:29:26.380 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server 2022-02-28 12:29:26.382 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP 2022-02-28 12:29:26.383 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response. 2022-02-28 12:29:26.384 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody 2022-02-28 12:29:26.394 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0 2022-02-28 12:29:26.395 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpClientImpl [m : Verifying certificates returned as part of CertResponse. 2022-02-28 12:29:26.396 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-02-28 12:29:26.396 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-02-28 12:29:26.397 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-02-28 12:29:26.408 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-02-28 12:29:26.408 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-02-28 12:29:26.408 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-02-28 12:29:26.414 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-02-28 12:29:26.414 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-02-28 12:29:26.415 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-02-28 12:29:26.416 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [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-02-28 12:29:26.486 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 70338486130255035445877763928961335104857348871 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Mon Feb 28 12:24:43 UTC 2022 Final Date: Sat Feb 28 12:24:42 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [15:6f:0f:22:b7:c2:fd:aa:04:6c:3a:b4:b9:14:56:c5:e4:57:06:77] modulus: c9fd13d1bf0f90e9af37387b9b18cbe7655988a33d2eacc82b5d5df59d450b50110b1d43a14aea527266677470a6b94bec00ef8ac4979d7a6da88e6feddb6271c8d941e5a5fd327f30fe335800e866f2de770750dc22d7e801503846b9a1a7c48c8b6a832a411da674de78cf309f03e9f463a1a3ae97ea3cbc2e57d8db531e2202fced6c41cdd0443a56ac93e0a6bc027638927b44b8cf6492abec0174fd8d1b459ddf8907e889345df39323f04fd58da9e4d215ae41390cea51950c2b6f4935d85ad3c45e5e1cc2bff25e7f914a69481beb7757d0c828fa771fdbfa087edec511c8e352bc3bb5ccb08f5739307661cafe90d152c6cca16221e30b402570968b704e9875b076b2d21fcb3702edf42d54bd8b8d9fd0f6db76d6fcf9fb1795057b04d18ee4f7ed3bcd8125430b1adfe075dfb58ab1a537e3dd6f3d4a08f3b3850f6f830a726df2c2007c279fbed09837e88f3ecba346d4bb878244aff223000579ad8d8e6ec276dc2769a23a4f599795380df8cb2bd66c8b37b572130f9c2913ff public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: a10b27d7dda5e64645582070384faecea29d4d70 15a8436aacbb309621a44d2ac2e0219360b45ea1 f0325bc6572c0f2d366b302c3be18d9761b17fa3 a20ffea9bd64171329b4b41ea8c501f3a784cdcd 422bfb48c71de599f6d1e17a0cfc486b47b02344 137b44f5827dce924f5acd98a64c7ba0e8871545 16620212526755724fa5108644a833544526200f 83877a3735fc347611a4b50978e6229342d31252 c9170def17c6467ea95b529de0dacc0301630e46 3726b009f4108b5f3f8555b142ed46b1dd1c2750 b497500c7fd6dfd9e13b9a41d7285f6f677ac8cb 905c83b5f573606ffd6310bd9ee72254f8638cb1 d171d0252a2d5f756979ec0acd7677ca5c9edb1b f5c98e3ad10fa962721cef00fe0d8f57baeeb6f3 892e4e124e3ad3cfb5d2e0d356dae25c066a62ca c1a3e5b9dec01cb5209b108df335a54d8d0ee67f d01a1485d687fb6920daa21d93e85b3aaa1c1ee9 447544a092eb739542fbf87b7b9d08f316489fb8 77ef958d5a26f3adbbf0dbe3c0d9a48dd985061b 711283df 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 [7f:5e:92:90:71:fa:03:13:de:16:7c:05:a4:b3:67:d9:c6:10:03:9f] modulus: d887719e9bd7351b0c5e321cba3aaa106e27700415fc4f7a3d46b7bc577807c71866b445d95a37a5c015d09a72969f267779cf07097fb084a87b9e3d54c6b1628d2785a0f2ec1a439077c128978bc3bc15a0104735aa6402adcf95b3a59852d5ddc2995419eb190c31793d3db3b6519639492218ebc9cedb127b510ebaa6a8a61235d5174605433d7de78ffc3cee03210a5b39fe2e3f00cbe09ff64d43858da8cd4caeca2cd12ed4396c76738349d3c271931e5a6956c1af4e7d6e2ae768e00733a4c621553682797f978b5f30285129d26cc74f7b63ece43e71a827a96a9a5aecaec9d9ecc3cb0df0b54dc30c50b7822101aa30ee7f9a05778c4fb6d54a7dc5 public exponent: 10001 ]