By type
2022-02-02 14:50:51,035 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-02 14:50:51,781 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-02 14:50:52.598 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default
Feb 02, 2022 2:50:54 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 02, 2022 2:50:54 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 02, 2022 2:50:54 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 02, 2022 2:50:54 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-02 14:50:55.084 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-02 14:50:55.374 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration
2022-02-02 14:50:55.568 [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-02 14:50:56.271 [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-02 14:50:56.274 [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-02-02 14:50:56.275 [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-02 14:50:56.279 [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-02 14:50:56.321 [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-02 14:50:56.324 [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-02 14:50:56.442 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {}
2022-02-02 14:50:57.117 [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 02, 2022 2:50:57 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-02 14:50:58.067 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 7.661 seconds (JVM running for 9.159)
Feb 02, 2022 2:51:21 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-02 14:53:10.571 [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-02 14:53:10.584 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object
2022-02-02 14:53:10.652 [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-02 14:53:10.657 [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-02 14:53:10.684 [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-02 14:53:10.686 [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-02 14:53:10.687 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully.
2022-02-02 14:53:10.688 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-02-02 14:53:10.688 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-02 14:53:10.692 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2022-02-02 14:53:10.702 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names
2022-02-02 14:53:10.705 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects
2022-02-02 14:53:10.746 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder
2022-02-02 14:53:10.753 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-02 14:53:10.753 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2022-02-02 14:53:10.757 [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-02 14:53:11.273 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server
2022-02-02 14:53:11.277 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP
2022-02-02 14:53:11.278 [32mDEBUG[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response.
2022-02-02 14:53:11.281 [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-02 14:53:11.300 [32m INFO[m [35m1[m [nio-8443-exec-8] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0
2022-02-02 14:53:11.302 [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-02 14:53:11.303 [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-02 14:53:11.303 [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-02 14:53:11.305 [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-02 14:53:11.322 [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-02 14:53:11.322 [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-02 14:53:11.323 [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-02 14:53:11.330 [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-02 14:53:11.331 [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-02 14:53:11.331 [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-02 14:53:11.333 [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-02 14:53:11.367 [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: 77006584171776132855562296653000049756145430011
IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Start Date: Wed Feb 02 14:48:57 UTC 2022
Final Date: Mon Feb 02 14:48:56 UTC 2032
SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Public Key: RSA Public Key [ed:85:94:ea:18:de:da:4d:9e:52:ee:90:51:e5:f8:4f:64:ce:af:ae]
modulus: b55918b20c896dfe0317aeb90e20e56546a54479f35081b447311227545540e5abf3b4f0bdc02353643b3dd6954fd8df24ec9f2e53989064751e6b389a4e4cb32eb923ac515932a0c6cb3a1d4cf542cbd0e16db1d2ab349e77749f562e4f3fb1fa657faab7284929a2235a1441491e8f6fbec82c1661c124867c1add154dffb5d3100cdad7063aa5290fdd0727eae991280254796d27c0bc20fc638cd6bb6ba28d9a3237d2ba97a8700dfd9748941b42eb33d9523d4faec2bb39013db4796b86a58dfbb3a913507104044c400a0cf72e6dea776c798137c1626ba8b4fd7d91fb9cbf4bbb56efcae5637bd52e8460fe7866b36afb027fbe895206da814877ce09212bced9bc3546f3cdf92b399e99e6664cc7d4c17c74c3577b1c363b1347f51a803bd4c0648614ddb038abdc94204bb384aa19d91280f32b58b95efa80f5b2f1bfe8b8aeef86641fb602917cdeeb5ec2e018e15295790ea0bac31c8e673b74ddf5f898bf153c43b9d5749e8bb2b386093d9e1c58cb06f0501ef578c079c7efef
public exponent: 10001
Signature Algorithm: SHA256WITHRSA
Signature: a1fa36ae9a76a1ff29c07ce8e677d760e04f4b7a
d55cc777d419799b9ba51997887ad62c411c665b
c986587d70f2b7fb51fc861ac10ad541c55a1793
e665ef6c3c3572be121e0db6c8015e23aeb7cce6
296df3e5fc7f18e075f14bf617b5f2b4b4db9888
1549cbff4220f584195f928b0800c5d9c95fbd18
d2bbafc34d74d4a02a3e527d63519709b2fb32df
e0535edf9024ce4cfbb8417d3d32c4cc15fa8016
9544f48a9b32b2c1a154061d589adf53ef6d5a1b
1258b170fdcfa8af75354d1afe69ae5d51af811e
52b5e9100c005b9954460390255496bc5033a047
82da562c1350bfc87c99672eb4a9920b0c4aa23b
3978adfd929a6d05726075eae554a52576b25c1f
e5e1327a9bb7134a42b2c056147be51afca47aee
1d10757eea7855a68e775518c667767b1f313cde
74280b12f8f5e169e7df50f21b220e111e369749
1663446ef8fadea4e867be3a880f38bbb3d28dee
8cf0b0cd23dd988285f5d254804b23a7d4950761
a27b8eee79479d171fb18910fa282e977d70e64f
1db3d9d5
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 [b8:31:ec:71:51:4d:70:33:03:3b:80:9c:df:2e:75:f8:61:de:4d:bc]
modulus: aaf9bfdc14b4eaaac899b8ca8aeb9e4f40293f395f5a01d4fd5d11a1a3f3a2b0183315359c05ed2f5ca83513afe209211720ff37a598c35d251a2b008bedfde337d2e666ec26e34750e7a0d46c376a2290e09c5a28aaf42ee060186b1df4961a290dafdf0cedfba81a194e2a2768a7ee8e0cd0d181f1dff6bc1f174926bb1fb29f44c9131b1aa5bc84eded6d0b947bd6211bee2d6b579efdf71287a778189b91f27c1d0584d2002c290184d0ccade12659801fa24e11238a0445d4f3b5773a7c2ac93e0bb37df046cb291277d7181ac1bcce18bf2981b060f772e05a88f01bb2e20f78792563bdb85334785af8c8712aca8270c4924faffad5676c9a190ecb49
public exponent: 10001
]