Results

By type

          2022-08-10 05:29:51,785 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-10 05:29:52,762 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-10 05:29:53.503  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Aug 10, 2022 5:29:55 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Aug 10, 2022 5:29:55 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Aug 10, 2022 5:29:55 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Aug 10, 2022 5:29:55 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-08-10 05:29:56.051 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-08-10 05:29:56.344  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-08-10 05:29:56.509  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-10 05:29:57.253 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-08-10 05:29:57.256 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-10 05:29:57.258 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-08-10 05:29:57.263 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-10 05:29:57.303 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	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-08-10 05:29:57.307 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-08-10 05:29:57.431 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-08-10 05:29:58.174 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 10, 2022 5:29:58 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-08-10 05:29:59.129  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.177 seconds (JVM running for 10.023)
Aug 10, 2022 5:30:23 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-08-10 05:31:17.427  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-08-10 05:31:17.437 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-08-10 05:31:17.476 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-08-10 05:31:17.481 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-08-10 05:31:17.503  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-08-10 05:31:17.505  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-08-10 05:31:17.506  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-08-10 05:31:17.508 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-10 05:31:17.508 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-10 05:31:17.513 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-10 05:31:17.520 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-08-10 05:31:17.524 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-08-10 05:31:17.559 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-08-10 05:31:17.565 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-10 05:31:17.566 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-10 05:31:17.570 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-10 05:31:18.757  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-08-10 05:31:18.760  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-08-10 05:31:18.761 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-08-10 05:31:18.763 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-10 05:31:18.774  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-08-10 05:31:18.776  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-08-10 05:31:18.777 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-08-10 05:31:18.777 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-10 05:31:18.778 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-10 05:31:18.795 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-08-10 05:31:18.796 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-10 05:31:18.796 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-10 05:31:18.803 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-08-10 05:31:18.804 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-10 05:31:18.804 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-10 05:31:18.806 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-08-10 05:31:18.837 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: 437067968843673846880302367747641259238116010218
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Aug 10 05:18:51 UTC 2022
           Final Date: Mon Aug 09 05:18:50 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [52:a6:58:e1:d5:14:28:70:59:a8:5f:1c:5b:85:80:5b:4c:6d:28:c6]
            modulus: ae494baa84c3803213159c12ff32f553edce59d00be29c69c2a54f11a7b6ae4382d42c95f04120a535bf647a772123635e7a2508105bf407648378e5ecb75ed8e5ebb68bbc98fd9579f8090afa2284b359a61ae55f98fdea5c41c23575f3ea46e1ff203078448ebeb158c008e62a202761a51166dc21af187e82b64977210ddb8a8be82fcf4ef539d797490b718693c175db587ea4bfd01c5cf1bc872c41032d45a2b4cb9bf70be17056b6277c9d42b024792892046bcd0c56d50c11128d3bf75b30ae6a9655e584d4ef197995d07ed0e0775c46f1d9520b5a84cedefeb12624e5fb6e9eb68bd755b56d011dd7ea92fb4d19e75cfb285acf8ef270c610989bb794e0466066514317f28a94f5ca6fcc1c603e244ec6f2e4997ecc463aef99ec7dfa3bdab6c063afec8344917e8f3505826cbc775298d89a218d95521cf073b36e20b74ec81e4b8b485cfb40e196cace493c72e04d4305607bda5d4e8bc90b379b8f5e4ecafc30adf5fb2a41725d7d7b6ee16bca5314fb94e6120f4358a9125ed1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9a7c61530005af8302ba29a32a9db165177287ee
                       970641155cca3cfea71f7b26673bb759d2d87d72
                       1631e29a9493c67672ffd2d70eeebdc7bf99ef12
                       b370dc5968d2b702f14d2e3bdb06706e76d4d96e
                       09d27bf2c66d5501abe125bcebd09cc4edf1eaf3
                       a097e91bb59ae5381a23be8631b978a0e31d573c
                       c496cd5ddd986bebc1d34b918b9e0a83154c5c08
                       19ebd546a58dfb0139cf08ae6c0fc2ccda7d0752
                       935f9a6ff706936d4b4796a7a3fa837163897d1c
                       021254f502c4774754479cdfb923133bb7a34f8c
                       c465ba8ab98a1e745385403cb1b8ae643a15ee3e
                       954483d8e81006060fc2b38e8291ab02269860ca
                       8f85344cfcec211fff2da3e186bb880d6243e2de
                       5a2d9023fdc8ec7734f4fc8f134394852594641a
                       9350da0846efa9080827263accc3cc40b5320f32
                       937ce0d6bf456a8900a0454b007e355299878170
                       31c797e66511a49c2c747e0f8769017174006ee7
                       6ab6fd195f382346239735be3032abe00a4066ba
                       4f20d0a9ef5c35994332166522cb0274988db60b
                       621f4556
       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 [00:d3:c7:ee:4d:f9:78:2c:7d:1f:71:b7:c8:40:37:9c:53:fa:0e:f0]
            modulus: a813791efb6294af18f6e9e007f7892d7f8edd5bb0edf5d60c3443539602e2e7caf6360c1415d8f243550206e44adad5cd43b020b43bf98fb10b4a4de3d908e14db917102ab80bdbcae7b59c690a4d911a16f5ac3ef83aee24ff6d638e5c53f4b31db066d51bc543a50c4078dd2a70457ff4be26009255e48a17c590e4d01719b5172d9fa067c5af78fd5a1f587d0e83a45fc721d13679c817f72188734c5c2758c8ef8947354243ee605559095e3a3a5b2eb5fab7d67eeec6b0c7604d839df3605c3fa9ac090680556bcc0ad69c527c15b21c2a2fb0df8fa56aa0fdd36a7dd994b1ed138876b312cfb8fe645e711be5365efced5bab3b8197b5c1e9d33f41a9
    public exponent: 10001

]