By type
2022-03-13 12:15:24,341 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-13 12:15:25,129 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-13 12:15:25.771 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default
Mar 13, 2022 12:15:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 13, 2022 12:15:27 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 13, 2022 12:15:27 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 13, 2022 12:15:27 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-13 12:15:27.858 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-13 12:15:28.069 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration
2022-03-13 12:15:28.215 [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-03-13 12:15:28.785 [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-03-13 12:15:28.787 [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-03-13 12:15:28.788 [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-03-13 12:15:28.791 [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-03-13 12:15:28.827 [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-03-13 12:15:28.830 [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-03-13 12:15:28.925 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {}
2022-03-13 12:15:29.440 [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/]]}
Mar 13, 2022 12:15:29 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-13 12:15:30.153 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 6.517 seconds (JVM running for 7.946)
Mar 13, 2022 12:15:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-13 12:16:01.761 [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-03-13 12:16:01.769 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object
2022-03-13 12:16:01.804 [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-03-13 12:16:01.807 [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-03-13 12:16:01.819 [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-03-13 12:16:01.821 [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-03-13 12:16:01.822 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully.
2022-03-13 12:16:01.823 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-03-13 12:16:01.823 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-03-13 12:16:01.826 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-03-13 12:16:01.830 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names
2022-03-13 12:16:01.833 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects
2022-03-13 12:16:01.870 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder
2022-03-13 12:16:01.873 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-03-13 12:16:01.873 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-03-13 12:16:01.877 [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-03-13 12:16:02.359 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server
2022-03-13 12:16:02.361 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP
2022-03-13 12:16:02.362 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response.
2022-03-13 12:16:02.363 [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-03-13 12:16:02.371 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0
2022-03-13 12:16:02.372 [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-03-13 12:16:02.372 [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-03-13 12:16:02.373 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-03-13 12:16:02.373 [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-03-13 12:16:02.383 [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-03-13 12:16:02.384 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-03-13 12:16:02.384 [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-03-13 12:16:02.390 [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-03-13 12:16:02.390 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-03-13 12:16:02.390 [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-03-13 12:16:02.392 [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-03-13 12:16:02.416 [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: 354047404102535971504048880450431910125849236968
IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Start Date: Sun Mar 13 12:13:30 UTC 2022
Final Date: Fri Mar 12 12:13:29 UTC 2032
SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Public Key: RSA Public Key [b6:c5:98:fa:e3:ce:b9:bf:05:89:ad:be:4d:62:3c:2b:1b:3d:3e:60]
modulus: d043399a6d010d2485f133785d2456f7a6de505edb705e21e1f4ded9cb32b67326b9f86eb222aeb68d956bccdc88bed332b85c7d23808e2b1eb6b9a7a628b4d56ee0d05e1dfbd3d3660b37de7a9b5cf1cec6e4b63b1144e28cca9b1227523c95a8430d333bbe2109dba5c876b18c9c50d2893e79cd6fd4c2c6d6d602d2fe89102e9a6a222a9921dd2386aa456c184af43228eedfcbcb28390839110fe2799b9bca226e532c0acd0010bef4e1b60bd6f0980eeea5eb3e00b9df5ddb11edbcb7125d507602dbc290128c588f78fef9c4f1c5850c62f5766410c7d793b18c0d9d2a511ca466ad88c4114fe8ed5d445346e476bc8101a27f9ef057c15c06180e8094437e16ffdb287a3ca2074cc7a896ecc88028042e4b00535b78adbf56e44dba525b18821f260d0c13a5c992baa1f5b8be344f3b85781feff31b0ca33e10e17891f680dc2590761784b08dd2508e8cb0ecc19b87387cabc9494b685caffe601a7b17c6cfa93fa0a35083aef300581532d94953dd54e7bb3a435bf34aecd561cbf3
public exponent: 10001
Signature Algorithm: SHA256WITHRSA
Signature: 188406d6ee6b80742d2ae743cb61dfdcb2fe8227
c3ba4901ad9723dc05923237b873a5002b12cb2f
0f2b397dc3e5e4d240dd4a558ddfa8b1f60797d7
86f1a0bb40595ffaa46ed1471965f388d118e306
584c43d78b55f40d7a51e44757ea6971f2eb3068
4342860f612afd33b7c7f7d55d805a97464e8580
bf5f15fd60338e7deb6ed855329b76239a72fdeb
4adf6f3b453ec51d8e4905d71638baa2eebb64b5
057d687a6b3b63b5547346b4e78140f015a9a4df
eb16c531b6b2c76a02c4e2d658a94423a12adc9a
6af7c63de813189f7f37af4edd41c8fe23071d41
f31fa14bb2de3de6e90f0132feac357aff8e7de6
9ff879937bf1395ad67743d7742b33b2d18bd0b8
c6f99e2f9d46a2f5ad666f0ccfb411b07a4c54e8
7836f93622d10beebf054f151e77febfb5daa227
0fd309e605f73908e5e02eca0e6ae18e9ce98851
3e30689546e012c88042d54f429735c962a366be
8bad8aef77557d1e5dfd5e5bf3d2a5cc48b87ab4
4476b6367acba168a5bc835c48dacb731146857b
f5fd95d7
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 [75:7c:3b:b7:04:7e:13:85:95:c5:6d:d3:a6:92:0c:fd:4d:64:98:81]
modulus: 9cb70c5a1af0a1e13040bbb3e225d126d81bb8b87769b86bf73fc517a9b014c72aa0a10537906d0b1bb4df4d3f801a1931bc53787611bcc8e0a33321996c73a1d6d2424a873d3e9032e45ddc71448325d2e57c8c8151d403303381d2afb31c03722b430cab4dfd655eef6f50c7652b176d2a2b1b15ab8feef0f9a3c611cf01ecc3c1417b229beabe1bf6a0d80e4bfe190a08df115a359674ab78912e22f4dca4ad66b8736f4c7836e2362d491b9fc6c8a44aafbfc6287a25bf8a41a68983aeba1015b9300e9b626940e21004004fe546b8e38ff0b096fe3c37077bb68fb7c96523b9e9ba2d88a9f1919ef4cd317a86dbd0dbf07c5de30ffdb2b11cb65bcf47b9
public exponent: 10001
]