By type
2022-02-05 12:07:18,771 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-05 12:07:19,702 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-05 12:07:20.616 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default
Feb 05, 2022 12:07:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 05, 2022 12:07:22 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 05, 2022 12:07:22 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 05, 2022 12:07:22 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-05 12:07:23.016 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-05 12:07:23.314 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration
2022-02-05 12:07:23.443 [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-05 12:07:24.046 [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-05 12:07:24.049 [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-05 12:07:24.050 [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-05 12:07:24.052 [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-05 12:07:24.092 [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-05 12:07:24.096 [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-05 12:07:24.213 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {}
2022-02-05 12:07:24.790 [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 05, 2022 12:07:25 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-05 12:07:25.655 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 7.495 seconds (JVM running for 9.06)
Feb 05, 2022 12:07:46 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-05 12:07:54.144 [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-05 12:07:54.151 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object
2022-02-05 12:07:54.180 [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-05 12:07:54.184 [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-05 12:07:54.197 [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-05 12:07:54.199 [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-05 12:07:54.200 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully.
2022-02-05 12:07:54.201 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-02-05 12:07:54.202 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-05 12:07:54.206 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-02-05 12:07:54.213 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names
2022-02-05 12:07:54.216 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects
2022-02-05 12:07:54.255 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder
2022-02-05 12:07:54.261 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-05 12:07:54.261 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-05 12:07:54.264 [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-05 12:07:54.742 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server
2022-02-05 12:07:54.745 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP
2022-02-05 12:07:54.745 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response.
2022-02-05 12:07:54.747 [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-05 12:07:54.756 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0
2022-02-05 12:07:54.757 [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-05 12:07:54.757 [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-05 12:07:54.758 [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-05 12:07:54.758 [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-05 12:07:54.768 [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-05 12:07:54.769 [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-05 12:07:54.769 [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-05 12:07:54.774 [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-05 12:07:54.775 [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-05 12:07:54.775 [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-05 12:07:54.776 [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-05 12:07:54.805 [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: 725313950379630411419930266962972511302310691065
IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Start Date: Sat Feb 05 12:04:54 UTC 2022
Final Date: Thu Feb 05 12:04:53 UTC 2032
SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Public Key: RSA Public Key [4e:49:16:40:c7:24:d3:62:b6:63:9b:ba:e0:2e:ca:5e:27:b0:b4:5b]
modulus: dcf92e87c9488e337a3c6f4057c8f32add05af0e569ce5ca22b618a173940fca7b3e11428f75a2e774eb478558d778f1a59a927d2f8bf21eb726068405f3eabaa533aa1975d27a00263c4baeb5fb0d23ec5d4d508af6a8f61e7cfeb351e2d4a4b351c597e878efed7d7debd63616233165bd80179149891e89a14c94444087191e01df01ebb966cfaf72e5c9211832e9deb95374ff07ae0e4e87f640449551bded24d918d15da576f4a4a67331f791d5f5dde39eeeac677c39339891c973ab55b81d8dc1749cc7c957e494bc1c3b72dd9bb94e6e7d0b0c1a9cf3b56bc11637b603b12d14e7785c386975b8d7519a7bf1830f81c9f1690ddb1254d03e6332caa5b1e20db3884e0772d25714118fec6cf4fd7542794723760fef193577f965d6059c53dafc42a4c0a5a0cf9961e17a70776c350f2457b699b302bfac6756236d34fe7e5c1ea79345e7a3f115674b16f9410c1da8f96bfd5d4b7443038288e6582d3561e57adb712838363b09bb04d5c500c44bab7e61d4af3ba9624057d0cdf9f3
public exponent: 10001
Signature Algorithm: SHA256WITHRSA
Signature: 028e7a504ffef354027384ff073e844e7ce9febe
4820cc352863a932304e619511862d587e2e7569
70aa7061950790b94ce297a634f4f4ae26ef0f89
0089b20411075ae159d7f182f4db909567fd3abf
9d7754c68e3fef2fdc33fee18ef6e2b48d6a3979
247379b86084c7908166ab5a3b1e51c8dce8e796
38367585f299d35932e53bafbe8b0fbc6f6c6f70
11ebaed5b2bba137c343a7860fd0039e47f211af
c123f0620e75a0c6f8b4bdb44e95154de3b2db2e
67dcc970fe7a3aacf1f311ea4c97a79ed7267f0c
5f9ec64c3adf90361a69b46e308b67c85abfad93
50d5e2ba2316cc11540898b3f31132e2c99dbd87
6df025b76af6257329345ca31f35a23019388047
c6bdec65bb14c5b78deffc1b6218a60858decb37
d5610ab9a1c513701875c7eb5be35094d2748e73
21c0df421e99bf729d0b5bdd4c3f37106ee296ad
077e045e94b598b36fa51e7a5dc1539ca1e3482c
c77de718ce3194f34f7611da280de8b13198246b
9bb19e5a97a501ca5d24a95bcdc6220286b74caa
09fcc944
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 [61:94:ab:92:a3:67:d9:7a:79:ff:ed:08:7a:5b:dd:cf:32:82:a8:85]
modulus: afafa137910f93024bcbbef32328f4d8752b7fda96decf69404c44371602d724e2300be9b605ad04897ba6207186ab125d7c2ad1f36fa8af037b81cd0168198dd295ba65ee94e7dfde039f93a06e8a1a89cae4a69b22db12dc1d89e63c7b0be933471c4250cb3da2dfa085151ac1be5244484f58c02340b8469e84f44c29cea13a834d009ed098947acee19ea9b4eb3f411d16bc21f4b6274cfb6350f730f6bc19729e9490fcd38aeec91fc880d5a10c291deadbf316856d727b0437f9982f5d13a0f4f14d8fa5e1b5e7184019a81e5907ed00891cfa8426364b4a4beb92a052f11767c1a33903b2b221e2ccc0af6cf59212bde67b84c3b28fd77153ad63ec2f
public exponent: 10001
]