By type
2022-02-19 00:31:25,313 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-19 00:31:29,116 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-19 00:31:31.626 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default
Feb 19, 2022 12:31:39 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 19, 2022 12:31:39 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 19, 2022 12:31:39 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 19, 2022 12:31:39 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-19 00:31:41.512 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-19 00:31:42.618 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration
2022-02-19 00:31:43.235 [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-19 00:31:46.029 [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-19 00:31:46.032 [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-19 00:31:46.033 [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-19 00:31:46.035 [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-19 00:31:46.313 [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-19 00:31:46.316 [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-19 00:31:46.717 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {}
2022-02-19 00:31:50.621 [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 19, 2022 12:31:53 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-19 00:31:54.518 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 32.288 seconds (JVM running for 38.673)
Feb 19, 2022 12:32:00 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-19 00:32:44.025 [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-19 00:32:44.119 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object
2022-02-19 00:32:44.226 [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-19 00:32:44.229 [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-19 00:32:44.316 [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-19 00:32:44.318 [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-19 00:32:44.319 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully.
2022-02-19 00:32:44.320 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-02-19 00:32:44.321 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-19 00:32:44.324 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-02-19 00:32:44.329 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names
2022-02-19 00:32:44.331 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects
2022-02-19 00:32:44.444 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder
2022-02-19 00:32:44.514 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-19 00:32:44.515 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-19 00:32:44.520 [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-19 00:32:45.714 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server
2022-02-19 00:32:45.716 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP
2022-02-19 00:32:45.717 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response.
2022-02-19 00:32:45.718 [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-19 00:32:45.725 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0
2022-02-19 00:32:45.726 [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-19 00:32:45.727 [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-19 00:32:45.727 [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-19 00:32:45.727 [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-19 00:32:45.822 [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-19 00:32:45.823 [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-19 00:32:45.824 [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-19 00:32:45.830 [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-19 00:32:45.830 [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-19 00:32:45.830 [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-19 00:32:45.832 [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-19 00:32:46.016 [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: 202406087123468446046521323463977689213181978112
IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Start Date: Sat Feb 19 00:28:15 UTC 2022
Final Date: Thu Feb 19 00:28:14 UTC 2032
SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Public Key: RSA Public Key [1d:4d:02:dd:39:54:3a:e8:9c:93:f6:2b:8a:bd:d5:f6:16:65:d4:e5]
modulus: 97c22f2d48d0758fa3d6e000d255c60c92ea8bab8c7190556943669521ce3f6c6f2fba41d58ce73acb1bf94542e475f5dc397e1d15caae8eb2541068b62007e99dde7637c8f6a9319753a07d83803051204d5f7fea8f0ac942b73686cb2ce66ee4cd6741d2edb1d01b69eaca03787661bf9166d8b80d95a4cd2fcde940dac344f798575abc952e4a377c145e34ec783f1e70f62344841d39cbf79c8281616f7e28d3d193221ccc56df8e038ebca8047cc2ec8d0909dca52760d20a2342685434be863227273f976de678db14eaf70604c73a78696fe88cc9426c93bf5e083a241cf7e3d7421a6da75cf2866cbe6050db3b3e95dc62ff75de30e94fa89315bf87ab05b4eb237b3dbf3c0466ee55e708a826ec1122f17fbccea9ac6cc03f565da42e653e69db6a2fcac5d2861fe67df316bcc4c020d94c9b8f19b0a8d6be6eb13edf8be503b838ae604da88f1c8240bc2d50f6759d13ea0af0f8b29f17f13eac95762e6b84c98f605a12ea3a6443dbfc37914fac2c5172f38ad2966d6eb79871d5
public exponent: 10001
Signature Algorithm: SHA256WITHRSA
Signature: 80a5cdc5c26e5bf30db85cba2f722b341eaf865e
ccfa525197d4cf28efc15c71accc00ba88f0a810
18485a812bcc17b008787deb57f3ee093cfe18f2
7331b73977472646bea493a15d545837ae605306
896af6f3c25ad56101a33aca07bae0e317c3daef
10edc26e2208d3133489d9bbaa6e9be7d5913d0f
8097814aef39ca6ecdb5985b06c9d7d95ef59f8f
0d710e1250aeab77bb47e9cb4831323fb3ed730a
9355f5c4fab66cb8ffc9ac065ec2c237c25c1136
77002d3047a7de1fa2329e3156808227c833a623
4c1493f72d156d4e6ecae0343157e3ba4bce4461
78dcfbdfc21f974e441e6c08ab8ccd6aee3e9fbd
f66e1a9f01a47e20d8ed2d6cb74ca983c34969aa
fa4291c1091940d0edf71d781d24301dfeebfae2
663b59a0daf1c96c83bec6dddf51be2aab1dc142
13b36278d4d67b21d68ca7599742f95167af0d42
29ace791d6cd8d1be0117b2bc91a2cf3166ba8a3
145c13b8b8415ddf2a0138fa80ce9bf1cb12cde6
a7a56dc1b128bde3bd87da1cbf1a4415b845dcff
22c59b53
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 [5f:7b:66:26:11:48:4f:f3:1c:4f:05:3e:94:cf:28:ef:d6:b4:18:ae]
modulus: be7cbc761e4fd23239caab94ffb4f8ae1649d79fb7849756eaa9bfd32306464e0b1a4f5d5b8efe1b2f59e5a710d577a78bbba97c8d06e7398a604d9379283da093070ad22253eebe2e2edc91f992a70276dc2d8ef799a840e15a76cefd17a4a1651b37ce3cabbaa4848414d9b7c7fad4b091eb109d6523d0e12327b35f534615545189f4ed3f3a6770f9818726f4d10048c1ddcb0e0ea4f8159fd1e21398448be97ca1fbfefa8d14ff46c6e0365097017807624518c06940d15fc83fc0cf2cd16a3afc765b20f284d4d3e100e91fc59769e1aebc1058591f03d09608f3d61ffb0337cf68a9a5a08657258151d6213c82d31aef7a3488a5b0536e824a8348b49d
public exponent: 10001
]