Results

By type

          2022-05-07 04:51:21,361 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-05-07 04:51:21,852 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-05-07 04:51:22.359  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
May 07, 2022 4:51:23 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
May 07, 2022 4:51:23 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 07, 2022 4:51:23 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
May 07, 2022 4:51:23 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-05-07 04:51:23.765 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-05-07 04:51:23.922  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-05-07 04:51:24.008  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-05-07 04:51:24.393 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-05-07 04:51:24.394 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-05-07 04:51:24.395 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-05-07 04:51:24.397 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-05-07 04:51:24.419 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-05-07 04:51:24.421 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.u.SwaggerWelcome:
	{GET [/docs]}: redirectToUi(HttpServletRequest)
	{GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest)
2022-05-07 04:51:24.488 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-05-07 04:51:24.850 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/]]}
May 07, 2022 4:51:25 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-05-07 04:51:25.410  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 4.483 seconds (JVM running for 5.372)
May 07, 2022 4:51:50 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-05-07 04:52:08.673  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-05-07 04:52:08.679 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-05-07 04:52:08.704 DEBUG 1 [nio-8443-exec-4] .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-05-07 04:52:08.707 DEBUG 1 [nio-8443-exec-4] .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-05-07 04:52:08.716  INFO 1 [nio-8443-exec-4] .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-05-07 04:52:08.718  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-05-07 04:52:08.718  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-05-07 04:52:08.719 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-07 04:52:08.719 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-07 04:52:08.721 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-07 04:52:08.724 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-05-07 04:52:08.726 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-05-07 04:52:08.748 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-05-07 04:52:08.753 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-07 04:52:08.754 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-07 04:52:08.758 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-07 04:52:09.169  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-05-07 04:52:09.171  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-05-07 04:52:09.171 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-05-07 04:52:09.172 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-07 04:52:09.177  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-05-07 04:52:09.178  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-05-07 04:52:09.179 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-07 04:52:09.179 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-07 04:52:09.179 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-07 04:52:09.186 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-07 04:52:09.186 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-07 04:52:09.186 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-07 04:52:09.190 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-07 04:52:09.190 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-07 04:52:09.190 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-07 04:52:09.191 DEBUG 1 [nio-8443-exec-4] 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-05-07 04:52:09.209 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 296694432726261615730754449037751750651018524822
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat May 07 04:49:29 UTC 2022
           Final Date: Thu May 06 04:49:28 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [a7:6c:24:5b:1c:48:c6:99:d7:0b:a9:c1:36:18:57:35:0c:9b:eb:79]
            modulus: a39fc1116f14464ff40be506d32a084cf16b5ad84cb0ccfe817639c3a3630bae8800e53b6ff359df8987eb38ac661a30c444e60d8e183a729af8d4ca0f7ae02e5d0b1431f891be04af2b8e954e29956d3b66ade6976f81a4b34722d03ea8a82f7afa1905c36083d7f9affede9af2d42ba6db36b01e50ca6d9f2c68a6fd4d5a604767c99555bcd1d9df2c0eb8a84f38414685a9cbd42db8f13891942cf9e7de0caab7a328702b086c28162f6139388a3b9aa31a91cbee27aa009825b1fe6b58a67efa083c447f6795d258cab60e7950bd7d5219e71fc11b4a9246cecf5ef4e24076bc20a9833f73b20e5f916553f13ab5f26f2529924e9280cd85e8d1023f4d487448619d2f8d5a88b88908c5017aee46323f5027846b04032e067671306455280c8e7ba7e4c0f30f31a54adebe76560169a048c3cc0efb06f6366e056a21c48ed324482ede07e105664720d181d3db9f8954364f9a3e224030d8450d38e643ef4b8930d1d803c5538cceea98ca53dcae1ba746bc15ff6694cc3709df17b85613
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: a36caf96e859bb65a67b0c56eb6a638682c5400b
                       d5bc7473b646722422c389a3d8f304b97e356c6f
                       cbbcb04e3c703a2f49d3472f541aa6e6d8444028
                       f03e53822a8fef6b9e76a88053b49af3510038ae
                       3285630c541cd9565e612efda516f3ae2d0ad901
                       a2fca7da4acb99f29abf0fdde81508ca6cb2b6cd
                       8cf8ae1dbc93f81a7225a1de8f1b46d75bc1b7f5
                       f70397119249eeded74df75fceb3b3f4806d7d51
                       bb750b86b269dcb445f1117ca62663f3ff157cd1
                       abc9922b7d9457d239670e9bc28dd3ca48fcbbb3
                       dc646a1e42c01949ad261293aff373d7fc61574e
                       8e72f2a544cf5daef4b99fce78fd7ff40c95de86
                       780449b05aaebb416cf62caa5a6c39596f66ee74
                       4cffd0fa163b3bcf6ad7818ff513b25925f2e9c2
                       0a4863cffc0af4faf58d8bdbfe494ca7b4f8d9a4
                       9b5ea0e608691e535a701d3780122cd18aa8e6ab
                       f4c343d20014691608a71ccc46323b7a368931dd
                       cab30558c05540d87d119dd293a5a75066ec36f6
                       4ca9867b6f997195eaaa95626cdd9bb4431b2482
                       948ed02f
       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 [5f:9e:50:34:75:b0:a7:71:51:45:25:a9:9f:3d:97:b5:3c:df:8a:f0]
            modulus: c548bda5f649d5a7534d68802f62a7e4f6f7b299fd454ba817f9e60c0f1c11327ee871d38f9af5558005abd80529c0f954dc4e1e0b7f59cd7cb160b44716852dd5b7735eefef4f8211f37133d124c109e2fc1ac14ac86cd2a92f842668da135b75ee52fadd7fb8cbc69381df8498c3ae4425b8d720a7c5bff7b69feb4dbf641171ebc643f06acdd17ef35c1708a461ab086c48f5af9d8c2d3f504311e226b565269fad9a331671aae977e1d5161d5aeeb25374fb1659d137c0009e4c78b54b6f2efe0c62ffb25a14881611617bf7a24d12452be3b079d907d15c90075aa3f6572052f98a11377e95d9c2e60528a8b242e872713b6c4cdc67c9d6e38c9366599f
    public exponent: 10001

]