By type
2022-10-27 15:25:23,305 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-10-27 15:25:24,687 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-10-27 15:25:25.412 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default
Oct 27, 2022 3:25:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Oct 27, 2022 3:25:27 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Oct 27, 2022 3:25:27 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Oct 27, 2022 3:25:27 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-10-27 15:25:28.138 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-10-27 15:25:28.459 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration
2022-10-27 15:25:28.675 [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-10-27 15:25:29.408 [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-10-27 15:25:29.412 [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-10-27 15:25:29.413 [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-10-27 15:25:29.417 [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-10-27 15:25:29.456 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m :
o.s.a.OpenApiResource:
{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
2022-10-27 15:25:29.460 [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-10-27 15:25:29.602 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {}
2022-10-27 15:25:30.317 [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/]]}
Oct 27, 2022 3:25:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-10-27 15:25:31.372 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 8.985 seconds (JVM running for 10.731)
Oct 27, 2022 3:25:58 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-10-27 15:27:25.282 [32m INFO[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.a.CertificationController [m : Received certificate initialization request for CA named: RA
2022-10-27 15:27:25.291 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object
2022-10-27 15:27:25.335 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [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-10-27 15:27:25.340 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [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-10-27 15:27:25.361 [32m INFO[m [35m1[m [nio-8443-exec-1] [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-10-27 15:27:25.363 [32m INFO[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validate before creating Certificate Request for CA: RA
2022-10-27 15:27:25.364 [32m INFO[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully.
2022-10-27 15:27:25.366 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-10-27 15:27:25.367 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-10-27 15:27:25.371 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-10-27 15:27:25.381 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names
2022-10-27 15:27:25.385 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects
2022-10-27 15:27:25.444 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder
2022-10-27 15:27:25.457 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-10-27 15:27:25.458 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-10-27 15:27:25.462 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody
2022-10-27 15:27:26.112 [32m INFO[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server
2022-10-27 15:27:26.114 [32m INFO[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP
2022-10-27 15:27:26.115 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response.
2022-10-27 15:27:26.116 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody
2022-10-27 15:27:26.128 [32m INFO[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0
2022-10-27 15:27:26.129 [32m INFO[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpClientImpl [m : Verifying certificates returned as part of CertResponse.
2022-10-27 15:27:26.130 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-10-27 15:27:26.130 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-10-27 15:27:26.131 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2022-10-27 15:27:26.148 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-10-27 15:27:26.149 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-10-27 15:27:26.150 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2022-10-27 15:27:26.157 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-10-27 15:27:26.158 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-10-27 15:27:26.158 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2022-10-27 15:27:26.160 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [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-10-27 15:27:26.194 [32mDEBUG[m [35m1[m [nio-8443-exec-1] [36mo.o.o.c.c.i.CmpResponseHelper [m : Certificate verify result:PKIXCertPathValidatorResult: [
Trust Anchor: [
Trusted CA cert: [0] Version: 3
SerialNumber: 145557904984229400503255800680038533876052196753
IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Start Date: Thu Oct 27 15:23:14 UTC 2022
Final Date: Tue Oct 26 15:23:13 UTC 2032
SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Public Key: RSA Public Key [aa:2b:9e:4b:60:fa:c8:be:7b:d4:09:36:a6:35:4e:1b:de:20:7e:da],[56:66:d1:a4]
modulus: bdb866955278822e940bfe7012022ceca1864522863989641ab1dba1db101699a1d124f11c79b405bd16c155e7c7d8770b5dee9e4665f22ea403a75581c21144ddc7d6bf89aa47bb9362179cfdb8edee28c32e1ab71d36dd55a57851ad18640b5ddbe99ba9265ba759c536f2cb7f472ede039b3fbcb5874af48734a77c1737eb5d9ec2b85bc087f59b15d89270948c150d2852b81c771ed27257bdd9a90967707ffaaa6c992b84b70eb352e89be83b54c6e186cb1fbf818d3b2e0cd9934a812d5da60b1a6b26982426cad05274cb04c9d00f79274746c79a5046ac71dd390ca9584992395d2d6569232adee8dec37da672f211cd35ff630c3b3bd02e26bcca01ad76a50b04724b0bf28c5c7446b0a754d857d70a686475e27cf85aa55eb962bb1110e2d2442621f463a1602823c845c1467a67dd9ad97f16234c22066e17d099a9f0bce3bc47e0f97449bc1326e7b488e668b46f06db1372b28db916c89f48938ef64a5b4fc8b05e25e1f3b386c981e156df1237c270292eb273e09e2699cb9f
public exponent: 10001
Signature Algorithm: SHA256WITHRSA
Signature: a7b1488fcfa2e64f036035ebedb96835ecebdba3
8b8b2e09cb2685feecca04504cf523ebfe0f9614
76820510ea31c2e2cef5e1c34c827ec240bde982
0bea657200278a7b4acab37e17a870c35c454b20
585676258ca898bd136b3b5fda6dc42d03330358
dcc0f89aec5ae71c3f883c90c7a72c96a1c218bb
4f6f14f465377569d5d53616a7893a32c32dca26
28ebb70e1bd305fd78c398521f57f1cd4f2cdaf3
1060a9c543ffa2fe10c4be0101d2dd6712bec013
21c8e4fb0853790e2e40ed25cd27d7b568b7df35
a964a30e0f4b32d51ef361b3978a2e06c374fb33
5e9eb17c608e95fbef9842337d08cf7090d79189
4692493ec2af4b75a55ca0ff94d29a631ba51ae0
268b550d4f5c5c16ff2dc828f0d280711177223d
d0208925c797799f7d33a0bab8039938ef03091f
1c4a5de116fef7eb44a701923f5309532a6e83fc
751e9ed133280749841b2992bd7dc27ea64648e1
a139f49fbe5b8a277343608349fdc598e0fb4a13
5c331cabe0ef19f0a500921263406d19bd407de5
f672af68
Extensions:
critical(true) BasicConstraints: isCa(true)
critical(false) 2.5.29.35 value = Sequence
Tagged [CONTEXT 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 [aa:0d:0b:a1:99:d8:88:ab:84:42:86:80:9e:2a:73:4d:34:e7:ff:64],[56:66:d1:a4]
modulus: b6878805d88cbd3bb0e6acd38d180583c5595d614376cdb1aad6c1da195a390ce6be83643154ff3d9bba59ee429fc5c8a5e7ee515c056407b5e80c0c5770aab2f3d9ea811c25d5cf758feeaf452f1ff6d40b40286ff55af478580affeadcc1057c63f7cc577d95c306ed8231905957d3177e4c5b4a93806d580299040988f8fefd598eb661dfe07f1ce86152142b61240236c26c3f96b52cacd65cebe75d2e6d1fb86c39089f279d2f0f999340607f76eff54eda1ed36d04a03d09ad9f92b42208e114e0e9b47466a64287da8bd51db5ac688ae54b131c68ac7723fc48c05eb33f8de6754b9a3be60f7c6d0cef1210fbebaedfb5093561c963121420f993263f
public exponent: 10001
]