By type
2022-01-24 12:11:27,548 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-01-24 12:11:28,272 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-01-24 12:11:28.879 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default
Jan 24, 2022 12:11:30 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jan 24, 2022 12:11:30 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jan 24, 2022 12:11:30 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jan 24, 2022 12:11:30 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-01-24 12:11:30.793 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-01-24 12:11:31.020 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration
2022-01-24 12:11:31.141 [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-01-24 12:11:31.663 [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-01-24 12:11:31.666 [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-01-24 12:11:31.667 [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-01-24 12:11:31.670 [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-01-24 12:11:31.701 [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-01-24 12:11:31.704 [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-01-24 12:11:31.791 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {}
2022-01-24 12:11:32.298 [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/]]}
Jan 24, 2022 12:11:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-01-24 12:11:32.993 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 5.933 seconds (JVM running for 7.169)
Jan 24, 2022 12:11:57 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-24 12:12:06.726 [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-01-24 12:12:06.734 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object
2022-01-24 12:12:06.773 [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-01-24 12:12:06.777 [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-01-24 12:12:06.790 [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-01-24 12:12:06.792 [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-01-24 12:12:06.792 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully.
2022-01-24 12:12:06.793 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-01-24 12:12:06.794 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-01-24 12:12:06.796 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-01-24 12:12:06.803 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names
2022-01-24 12:12:06.807 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects
2022-01-24 12:12:06.845 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder
2022-01-24 12:12:06.849 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-01-24 12:12:06.849 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-01-24 12:12:06.852 [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-01-24 12:12:07.385 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server
2022-01-24 12:12:07.387 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP
2022-01-24 12:12:07.387 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response.
2022-01-24 12:12:07.388 [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-01-24 12:12:07.395 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0
2022-01-24 12:12:07.396 [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-01-24 12:12:07.396 [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-01-24 12:12:07.396 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-01-24 12:12:07.397 [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-01-24 12:12:07.407 [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-01-24 12:12:07.407 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-01-24 12:12:07.407 [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-01-24 12:12:07.412 [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-01-24 12:12:07.412 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2022-01-24 12:12:07.413 [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-01-24 12:12:07.414 [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-01-24 12:12:07.436 [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: 14483190456544060304585718636965101183335995627
IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Start Date: Mon Jan 24 12:09:03 UTC 2022
Final Date: Sat Jan 24 12:09:02 UTC 2032
SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Public Key: RSA Public Key [d0:04:76:bb:62:33:a8:06:b1:e1:fa:0d:ac:b4:9c:40:8e:b3:c1:48]
modulus: b1b1c2b5f0f0ce4f20305ed29282cb7280133ecba2460cb1e6cafa32d091dd0ba9b6edcdc317ce28b385b4f42eee73e722687457e21c1ee1d61874dca1b95e0f2e3df615d162d40efb74bae091d4d587f1b23cd0450a0fb7f145adc19817f9fd7ae8c0cd7d3561d2abc2d53c30077c837b8ea3b7c0ddd61f813d9d349859a27aa95f9cc1e8676e23a7f4717906ddfdd3ed299932df8b07efbdf53450ce05121027e468bffe2faef5632add5ba44fcde799cf35c15ac50e4f5f8196faf014a0e9482c3884b8f564cb608207aee2a980243a9480fce542192782d20baf9bb3cba4ebfafb02116097a0bf4b834004b0076335a4a521f2f4744244e6b264667749ebaeae09bf5e2281047c4f337dc5e1b9f80b12a7cbaab716bb728e8e8f7f37c8534351f22ae140b62f43b5517bf124988f7766a74210524ef66f0a01cbe3ec7f113778a11932add5dce29ec9b67e3d4a6cda916e3536eb4524ff57e3eaf15ac909bfaa7d1346d2a1efcceb1888e3d15cb07192c477f8e8738afe9730b894f10d53
public exponent: 10001
Signature Algorithm: SHA256WITHRSA
Signature: 723428a2f41069883c98a92686a7719bf66398a4
45151c2b1ac8de0ede6e417c6ec79a9a3ab80d88
8e584bca829c46a7ac939765bdcedb6bdc0d025d
5f66773a5d49ac523a13d6926da14a34421006e5
a0c52afdffe63f182bb594cc6fb9927ea5d3bcd6
2844582727843db51c5dc01c9ea8a203fbd7ff40
ff859ab2539c7deb6ceabdaa99ae969e325b4ca1
32b642ccbe512c4b04a816e10c4c96b0d6a0a364
60275f826c372935f9eed9420994d89a12402847
e878faaf0464fdb32a94d2fe0f5f2cb6524776b4
a39056803c49f52f9973289bc3776bfa453a5d21
3504ee04fba8b726cb7aa4d9d7e5708b56423f72
0ae39140c9904e3f471bdfe48c3b7c2d8309571f
5cfb280e1706245967c4eb1debcab6d024d9aae8
7675498c77588fe29d016ee6aa2202d13f7313cd
3dc72d908f6c6ae4827675d15ff710b7cbb37a53
6680224aaae73243359a7f1e40e04804a6f58ac4
60d57f869e0366564f48ec8167a2510923756fbe
44b457ddd77402e0f48144939516835e83ec77e9
54771059
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 [10:76:66:c8:30:ed:2e:fb:6d:b6:1b:e0:01:53:12:07:ec:f4:bc:12]
modulus: d82afd01bc930c779f0b0a36b0c2cc050e6b5274711464a675644bd41e95fdeb419b02559da43f7b7e5e32e0ac5d218888ded0fdcc625d8b3f424e7fdc182b1e8b833a949d0d31aa9193afeb4c5c356fb5861db2dc22690ff68137a2c92756d2b7ee2658e0d59875f057019f2acdc51436f66469753380d158f29f02b8156861d071a10ee2d163df35bd1da649f813d007ebd8f3853a97ad100f317aeff7d7c07064bf61a6ed3a4658185443a60b973b3938e8610ea3644e956ea5d49f135dd401bc4d7f443b02c8201f2923b2d787da11cb553e3b4ff7cf53af685c756611201dba312bd9953d6d09a125f075b328ef18600991911855c9640c157018b17ce1
public exponent: 10001
]