Results

By type

          2022-08-27 03:07:39,806 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-08-27 03:07:40,663 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-08-27 03:07:41.529  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Aug 27, 2022 3:07:43 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Aug 27, 2022 3:07:43 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Aug 27, 2022 3:07:43 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Aug 27, 2022 3:07:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-08-27 03:07:44.148 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-08-27 03:07:44.452  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-08-27 03:07:44.627  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-08-27 03:07:45.275 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-08-27 03:07:45.277 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	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-08-27 03:07:45.279 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-08-27 03:07:45.282 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error]}: error(HttpServletRequest)
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
2022-08-27 03:07:45.319 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	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-08-27 03:07:45.322 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.u.SwaggerWelcome:
	{GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest)
	{GET [/docs]}: redirectToUi(HttpServletRequest)
2022-08-27 03:07:45.444 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-08-27 03:07:46.104 DEBUG 1 [           main] o.s.w.s.h.SimpleUrlHandlerMapping        : '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/]]}
Aug 27, 2022 3:07:46 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-08-27 03:07:46.944  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.025 seconds (JVM running for 9.775)
Aug 27, 2022 3:08:09 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-08-27 03:08:50.984  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-08-27 03:08:50.996 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-08-27 03:08:51.045 DEBUG 1 [nio-8443-exec-5] .o.c.c.CertificationResponseModelFactory : 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-08-27 03:08:51.051 DEBUG 1 [nio-8443-exec-5] .o.c.c.CertificationResponseModelFactory : 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-08-27 03:08:51.084  INFO 1 [nio-8443-exec-5] .o.c.c.CertificationResponseModelFactory : 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-08-27 03:08:51.087  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-08-27 03:08:51.088  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-08-27 03:08:51.089 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-27 03:08:51.090 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-27 03:08:51.095 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-27 03:08:51.102 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-08-27 03:08:51.106 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-08-27 03:08:51.151 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-08-27 03:08:51.159 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-27 03:08:51.160 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-27 03:08:51.164 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-27 03:08:52.001  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-08-27 03:08:52.006  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-08-27 03:08:52.007 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-08-27 03:08:52.010 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-27 03:08:52.026  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-08-27 03:08:52.028  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-08-27 03:08:52.029 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-27 03:08:52.029 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-27 03:08:52.030 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-27 03:08:52.043 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-27 03:08:52.044 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-27 03:08:52.044 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-27 03:08:52.051 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-27 03:08:52.051 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-27 03:08:52.052 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-27 03:08:52.059 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : 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-08-27 03:08:52.091 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 291245826574274115909654474748073021117287577791
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Aug 27 03:05:36 UTC 2022
           Final Date: Thu Aug 26 03:05:35 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [43:43:21:f3:66:fc:f3:fc:62:d1:50:de:f1:68:f1:3c:01:0f:b3:4b]
            modulus: e4414adf68ff1d2c6d71df6262da272cbb3ff7491e0e98b199363594748fbfbddc55e85074ce8d6ec51fa9b170a752e98266bc933f20360f3ec47eabe0ed3bc20773f0aca5e3ecb420e1531bdfb728aeb49ea160f090f00593f26848e9286133e7c14961eaaa3b6e5f81cca09428cf7ba6bcb9ef6acbffe035d8e0d5a57d97bd81bc2488642e7d2c99895113ffcbf1874f57d8964654f46dc86f6d203378ac6a3b5744a80ee2e6c10abb47f1ebeb1f2f0adde31a52a373682c08014147f188b8b419635109600d95324c13abe7dc4a9fc858083f911669deaaf713a894b6a53b7609b372762cab90124450dd7d4ee5fa591dcf46745d0d20867794bd3cf7d3243c4e83c14e4cca469fec805454b8ba7dc85f1d95f8ba092ea98f523acbe019167f8f55e9ed4ac584b0dc369dfbc43af0a745d9dbbdc78ef9c68ee7a6e26d2315285c9b347f7e9f592ed8f110ef12888f7227240c38656b4bbc957a0a86c309910a04c70c29e1f19ec7f6326e41e425c34fd69a633e8da9d70acb9d5548058507
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 206150bcdcc2e1b5bb03cd27d5d5654bf2370913
                       579f76a1158d77cf22b66ed748dc9724f4b44dc0
                       81ef243d2318efa361e18ba2fe669313b2709d46
                       ce65a342b1d0f2675e286d9e470f134f1ea6fbe5
                       6a119bbe174ae2efd204d7e8eb3a8ea574827f71
                       72fe941388b6ae55d1ae0806558ce7ceba98e0b6
                       34905c30700391b6cdfcc168bcbace5674b4fbc9
                       04dddd8a9b047cc343edb3e3dd74024b140b474c
                       c80e6fc67d6e2d274c30fa64c12b2c4cb935fbd3
                       03ed4ebb236b0d4238f4a31a361bffe5fba4ac28
                       074c04a10266c8c7f396a8498c5e175c5c1e4630
                       ab9604d950b3617db64ff9b16c42306e87d5764a
                       d29a22f27a214a0f8fe1ccb1cbadba3836fdf9d1
                       311829b62da204df9c16ad1bf4ef156d63ae334e
                       320fbc0f6c790dd9925daf4a6b93b017b7330f56
                       6b6ae02e324a1dd4df01bd495003879b19993b11
                       77ff379a6228926d5957b1e1a21f673564010aab
                       b02dc8c2a407e19eb075b479cad1a055906b5b7c
                       08158bcf8f4e8da92b7e17b3bbd59e082afb91d6
                       181d8218
       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 [64:98:d6:ae:09:f0:92:bf:80:e7:ad:02:53:1c:46:df:8d:8b:87:e2]
            modulus: b12e48025b3d959ef447ecfbdcac97c277a745535277d082428513a622b34ef8f1a4f132a6fb4587191693e78bed6996d6300bbe849ecab779191395ce27afefc53fd2c7d8dee4bf703a4f62b6a9d47a915fa76d55701f5013441a7c33a17b09ad6c0c564c100bb21d7da843dc081270c2649e2cfe345fc1b1056a04c5ae024ca3ab50e96d3f4228173b18e1624850c7afd19ce932639910f1ac4b3c32f8ea4428175079378eb31d7225238891c69090bebf86e6e961166b213776caa5ddc43d5ef63acdafda1df74646f1ed2b9b3055a9a1b758fe492f3d9d19afb8538dd284ba1a0f9b401c35c0fc77555c0919b729e566a4988befb01e3ee7eec506ba336d
    public exponent: 10001

]