By type
2022-04-22 14:38:51,416 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-04-22 14:38:55,415 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-04-22 14:38:57.938 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default
Apr 22, 2022 2:39:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 22, 2022 2:39:06 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 22, 2022 2:39:06 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 22, 2022 2:39:07 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-22 14:39:08.725 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-22 14:39:10.135 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration
2022-04-22 14:39:10.812 [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-04-22 14:39:13.621 [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-04-22 14:39:13.624 [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-04-22 14:39:13.625 [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-04-22 14:39:13.628 [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-04-22 14:39:13.824 [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-04-22 14:39:13.826 [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-04-22 14:39:14.310 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {}
2022-04-22 14:39:18.426 [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/]]}
Apr 22, 2022 2:39:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-22 14:39:22.521 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 34.099 seconds (JVM running for 40.835)
Apr 22, 2022 2:39:30 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-22 14:40:05.123 [32m INFO[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.a.CertificationController [m : Received certificate initialization request for CA named: RA
2022-04-22 14:40:05.130 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object
2022-04-22 14:40:05.317 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [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-04-22 14:40:05.321 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [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-04-22 14:40:05.412 [32m INFO[m [35m1[m [nio-8443-exec-6] [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-04-22 14:40:05.414 [32m INFO[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validate before creating Certificate Request for CA: RA
2022-04-22 14:40:05.415 [32m INFO[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully.
2022-04-22 14:40:05.416 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-04-22 14:40:05.417 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-04-22 14:40:05.420 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-04-22 14:40:05.425 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names
2022-04-22 14:40:05.428 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects
2022-04-22 14:40:05.614 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder
2022-04-22 14:40:05.622 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-04-22 14:40:05.622 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-04-22 14:40:05.625 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody
2022-04-22 14:40:07.065 [32m INFO[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server
2022-04-22 14:40:07.067 [32m INFO[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP
2022-04-22 14:40:07.068 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response.
2022-04-22 14:40:07.069 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody
2022-04-22 14:40:07.077 [32m INFO[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0
2022-04-22 14:40:07.077 [32m INFO[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpClientImpl [m : Verifying certificates returned as part of CertResponse.
2022-04-22 14:40:07.078 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-22 14:40:07.079 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-04-22 14:40:07.079 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2022-04-22 14:40:07.116 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-22 14:40:07.116 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-04-22 14:40:07.117 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2022-04-22 14:40:07.122 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-22 14:40:07.122 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-04-22 14:40:07.123 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2022-04-22 14:40:07.124 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [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-04-22 14:40:07.232 [32mDEBUG[m [35m1[m [nio-8443-exec-6] [36mo.o.o.c.c.i.CmpResponseHelper [m : Certificate verify result:PKIXCertPathValidatorResult: [
Trust Anchor: [
Trusted CA cert: [0] Version: 3
SerialNumber: 563993889005647552302155825594388213409590392185
IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Start Date: Fri Apr 22 14:35:22 UTC 2022
Final Date: Wed Apr 21 14:35:21 UTC 2032
SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Public Key: RSA Public Key [75:59:55:85:df:e8:47:9c:ad:f3:df:0c:74:18:03:3c:eb:9f:7d:d2]
modulus: a0aa934a61782ca80dab66abd33905f50609563b96a09c7135433f66715f807bfe712b7682b93b0f75135843b49a6c5365b95ab9342242769a1f7e9437607d866bc29c5978de55a1eed8a15a289005c59042b56e4e8670515e9e7ab51d745017e52e27ebbdd05a93320a79de7092226f2e942dffb8e385e2079f149fb498e6ac57e9d71253113f63d687568c85374e9369d9cea7578aa3b5fc5cb7af4812e7f0972e822962cdb0f5398ca799e0b7f496f9933bece3dfbb8f1e827df41ca3dcfac2f8fb09b1a8edf17ffe851b2c0bf364b7a5492ec630261dbf213b4957cc22758d244d7c6748fdc9c127d5c3fb4b671450a73ef80023106d3e0b4f7d08f6143f277c46ab3c5a5740a78108e9dd3854f1fa78f34b4047aae6c733461572f0e8b91bd032a26b1e46fdc2eb47495958219eb812c4ae8e3cfd4b4b3b53aeac8d2cfef467e163c5737a53c5dc95b6f6ac55d0a9586797dc03b2b7cc1de0d84dae349ef4dddd992db691dad7f8b8b4f3978f899e2c14491805e17ab24427ad8b3ce14f
public exponent: 10001
Signature Algorithm: SHA256WITHRSA
Signature: 4c25a0be00dae61e115625ea2c819c2b8c11ecd2
a16549cabbb72ade625b2315b511fce9c077f28f
1cfa14a4b296f8aebe63cd8fddd0fffb1234417f
690e7d2ee60694a8f161f5e462b32d5a0d04fc8d
1ef7929d32993186d961948c087bb8732749801c
da28fd2fd496838aa2bdfc51b18306f63b5e759f
b875b7313d0cde9e097df831a87a2933eec04db1
716a69c6f9cf292fd857acdd811946523f7e68de
ca5bdf33d5085ad6054eb8b2cef56e8417453cd0
76aaac44be61b7474f7ad309fe8b5bc0c3780449
dda69663a3f2a7f668535ed62a2c6bea8c5bdd68
2e80175447cc4553df2c0da5b4fba681c1a05012
2617fa779bd451edbefe45f36eefbdaef4b188e3
ecc704372b485dc61880c4d2b8ae855722e38160
6d692ecef38fa86953fee84ddff81e1ee2a21e1a
ee3414de06efccf0ae96c5eac2cb32a1d53ca2be
d75d55a99902f242d84582d7bf9eef2f37ac8e7a
963b3555674ab38966fddb854b6e9dd32642c3e4
50acff3d288753644e9a6d950989d876a6d878e8
38135c61
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 [78:11:77:63:c8:70:f4:bf:04:54:f2:b3:3b:2a:e2:6e:c6:40:3f:d3]
modulus: ad8d1236410edb4e83ee140ea3b79e58b50234a6e4b1bf37aa33e8eff253346084b12a853fc56b39e424eb9df102110427bc1d5d7fa7f37fd55036a2c5129222c1feaf5b6cd69b45c805f676178d99f1ecc9f4b3675d73fdb5f2aa1b9bb423258b1b5f0e612ec8369abca52cd43b99cdb6f01f669abd3dadcc477b5e3a561a05d3f2d15bc62534ba3e46e340e4ac788d87c743c7574ec782f50794a079faa9fea8ceb63603cb73d9072570416731d4df3cee2167e44153e11ea66764b2f5cca0ba1ce361cb34b61d6c44cdd4376ccb5eab857f40a2744ec977f34befc124898a424558715f3bc60f28dedde43a6009c81e9362ce1407c9159316937f304ba049
public exponent: 10001
]