By type
2022-02-06 02:53:57,261 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-06 02:54:01,566 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-06 02:54:04.051 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default Feb 06, 2022 2:54:12 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Feb 06, 2022 2:54:12 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Feb 06, 2022 2:54:12 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Feb 06, 2022 2:54:13 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-02-06 02:54:15.262 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-02-06 02:54:16.555 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration 2022-02-06 02:54:17.165 [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-06 02:54:20.251 [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-06 02:54:20.253 [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-02-06 02:54:20.255 [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-06 02:54:20.260 [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-06 02:54:20.455 [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-06 02:54:20.458 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m : o.s.u.SwaggerWelcome: {GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest) {GET [/docs]}: redirectToUi(HttpServletRequest) 2022-02-06 02:54:20.867 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {} 2022-02-06 02:54:25.160 [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 06, 2022 2:54:27 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-02-06 02:54:29.063 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 34.809 seconds (JVM running for 41.542) Feb 06, 2022 2:54:36 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-02-06 03:03:39.995 [32m INFO[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.a.CertificationController [m : Received certificate initialization request for CA named: RA 2022-02-06 03:03:40.053 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object 2022-02-06 03:03:40.252 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [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-06 03:03:40.255 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [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-06 03:03:40.349 [32m INFO[m [35m1[m [nio-8443-exec-3] [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-06 03:03:40.351 [32m INFO[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validate before creating Certificate Request for CA: RA 2022-02-06 03:03:40.352 [32m INFO[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully. 2022-02-06 03:03:40.353 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer 2022-02-06 03:03:40.354 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-02-06 03:03:40.356 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer 2022-02-06 03:03:40.362 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names 2022-02-06 03:03:40.365 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects 2022-02-06 03:03:40.549 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder 2022-02-06 03:03:40.554 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-02-06 03:03:40.554 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes 2022-02-06 03:03:40.557 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody 2022-02-06 03:03:41.860 [32m INFO[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server 2022-02-06 03:03:41.862 [32m INFO[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP 2022-02-06 03:03:41.862 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response. 2022-02-06 03:03:41.864 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody 2022-02-06 03:03:41.953 [32m INFO[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0 2022-02-06 03:03:41.955 [32m INFO[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpClientImpl [m : Verifying certificates returned as part of CertResponse. 2022-02-06 03:03:41.955 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-02-06 03:03:41.956 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-02-06 03:03:41.956 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-02-06 03:03:42.062 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-02-06 03:03:42.063 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-02-06 03:03:42.063 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-02-06 03:03:42.148 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-02-06 03:03:42.149 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC 2022-02-06 03:03:42.149 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC 2022-02-06 03:03:42.150 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [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-06 03:03:42.257 [32mDEBUG[m [35m1[m [nio-8443-exec-3] [36mo.o.o.c.c.i.CmpResponseHelper [m : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 327306651452967168171431762997721169221923337905 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sun Feb 06 02:47:04 UTC 2022 Final Date: Fri Feb 06 02:47:03 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [ac:d0:14:77:77:88:a1:77:a0:97:13:9a:5e:2f:a3:24:ce:f0:8a:0a] modulus: cac1eececf132d62285bcf46e2ddf86841ede9c32b678a7f75d10d14cca46ff8d0826c4e030575d387ed0c09dbf0ca932875478c13c476829c91792e04da1a92ae4a36a62baf679f0ef39f564c0dc947a4e887bfd28337555521a32dc9a7280b9f1e83a9e960743714eb1e24f5117c1d85bff824ea1eadd036da55eb13ea7db2b9b26bfa3980f48c99b448429cf47cf7fc5fc0466b1890eb8dead4137c4dbe3ef141d0a6b0fd3c0645db4ccd9ff049b3873d1b5fb2b046e2a773d46dc0b403501cce931c6a35cb54ccba6f3f99797f47f2c66c88888e4820d5517d3eed4e33a9fc7bba7629e93f6007307be59751bbe0279dddc4c72aed56ba5aff3383a410442020e3a26f0ec3af7c85b1a53c2486f29238523b6ebed2f0b46206e09aafcd7944b512fc6d8603bf0b31e0d389b8653ba3bdd82bb0b05eb42c37d46fc2aa0225d34d7b94c22a896858ede28b6b77edd784ea9e2e4418e07fc5d4e17ddfcdb1fc75b173a4d0a1a2c047ca2bf954b289ca971c22930f4160bff7177795e2752325 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 6287820d0f62db1067e36417fdb0bd5e2b05198a 0a1fd5de1dc5117da92b615d2f376906b026a21a f86a3cd0c95799cf412afb92e01bda37b514fc21 218b7dc9968d533be2e8d4fdfa9809afeaaef860 765db0d70f031dfb3565c87cce6b5fb292e8af84 3a02645c93af180e55bd78a13a153c9cbe5e43d4 c6cf7e893257d8a21b50f239090b04ff2d0fdc00 0123363b0903396c61244ee1485e7f2ce6acd8b8 b532d7490252d521af2032f586417cad23d91f6b ff1b37c976b3e53cb506e2acb8e3ad9e3556766f 2474aafc46818d5cb8762eb2f25d3ed20f524b44 bca91916f2f50d89766c7bfe2a48fc4e77853882 04e78959d8c60cf4644147f5255d5ffc90a477f0 d271e02096d35403bdec0d86fafa0e0090200802 0c7dc3a776c3f08c470a6cbe092eb4b232918cfd d14169693970f53474d574e0812bc5784a42fdbf 1d0bcfa5317b2644665cd4377b545b6284797256 ad224fcbb6eb167af3e2003e5bcf49ef07d248d1 0a7a444ccdc15d60ba39b6a65aaad4a76a32f641 c3ae7fc6 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 [ba:ce:88:b5:09:f4:48:c3:be:e1:34:97:08:d6:3e:9a:97:0e:1b:1c] modulus: ab3a7d64d09e30f545affb0201f2733536ea46030cadaf8d29246d65f49f3885c1dc4a10483aebe11f0993307120598c3abead55a49486ddb99273dd1e916ab62b45139be8cd4112372083f534fb6007bfa1ad71ba657a78f511844d65b7bddfb864e1c5a3ccb4841f258d111a07bbb77471c86f496d6bb172d9fe8a9d1a550c73cf1bca9bc2bc53ee65e14e807121baceab3eaa9bf84a1a311d655776fda0df89a1e6e5039c3e0a2513e0c3d25b9435f1d51fb51332bfd5e3f171be80f4b4d602e1a4b4ebd9ed4e4da894c43e1e902854953d287e100ca8d03f1896dc4ad5920559b4d1e44d86b27ac10e2ba3452d26740418ed9f1ca35800d1b555283c4291 public exponent: 10001 ]