Results

By type

          2022-02-28 23:21:24,370 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-28 23:21:25,210 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-28 23:21:25.848  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 28, 2022 11:21:27 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 28, 2022 11:21:27 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 28, 2022 11:21:27 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 28, 2022 11:21:27 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-28 23:21:27.927 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-28 23:21:28.183  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-28 23:21:28.322  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-28 23:21:28.886 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-28 23:21:28.888 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	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-02-28 23:21:28.889 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-28 23:21:28.891 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-02-28 23:21:28.924 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-02-28 23:21:28.926 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-02-28 23:21:29.029 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-28 23:21:29.549 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/]]}
Feb 28, 2022 11:21:30 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-28 23:21:30.335  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.53 seconds (JVM running for 7.898)
Feb 28, 2022 11:21:57 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-28 23:22:05.474  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-28 23:22:05.490 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-28 23:22:05.534 DEBUG 1 [nio-8443-exec-7] .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-02-28 23:22:05.541 DEBUG 1 [nio-8443-exec-7] .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-02-28 23:22:05.563  INFO 1 [nio-8443-exec-7] .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-02-28 23:22:05.566  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-28 23:22:05.567  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-28 23:22:05.568 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-28 23:22:05.569 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 23:22:05.573 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-28 23:22:05.580 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-28 23:22:05.584 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-28 23:22:05.626 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-28 23:22:05.630 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 23:22:05.631 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 23:22:05.634 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-28 23:22:06.190  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-28 23:22:06.193  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-28 23:22:06.194 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-28 23:22:06.195 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-28 23:22:06.205  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-28 23:22:06.206  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-28 23:22:06.207 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-28 23:22:06.208 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 23:22:06.208 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 23:22:06.220 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-28 23:22:06.221 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 23:22:06.221 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 23:22:06.227 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-28 23:22:06.228 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 23:22:06.228 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 23:22:06.230 DEBUG 1 [nio-8443-exec-7] 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-02-28 23:22:06.267 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 69184757628092632369893877599445451911061409188
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Feb 28 23:19:35 UTC 2022
           Final Date: Sat Feb 28 23:19:34 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [9e:8b:0c:8e:dc:92:a6:85:ab:ad:bf:8a:43:ed:2b:e6:83:30:de:c5]
            modulus: e6afa2981d5215e818f2ce19bb5fb595295390e18157ab72fe85a94f4a7b81e6ede1520c4bb9ecd56a81f3475ebe250bc35db6cf04ba792f8895f9d05e768c4edd2a494f714ae1094bbd9973f3168527db3ede665eb6f5bcd7dd7c0ffddd51c25804c283c4639c71263af300dc1be3cc53b1eee232782b99fa11d30a1fbe80979ccfaa8f8b2e15d3433f6c49e12335ac107541bccd51b06c2d767300cd2c73cc1d0166d017a0b2012abc6bf69d0d7071bf95eca2954922fa77c85ef4c31258f9ba5395dccdb32fe1d44897f0114ee6d8a6f6af2ba3ffea828efc425ac2bb124c4814dc0c9a577903e99a7fc7ec736a93fea1b460a312e3fa1fcc0f97f8d61d31d48eb234d909c6f65eb16d22cc4ebf64542a268809a6e60f92a6d7261c6d5ee8412facfd7b2a3c7e1a69dff0953ada4130ae5a5d61e6c68a2ca2a07127548046d32288d1299c43f6883d4559f9c767492fab6a3c6b5eb08ed1d09493bc45dc4ca268c684e1314cfc95bae9507a6e71276010276001ec1f6114dc5899b5b7a893
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 44224fe0785421995e5e6c448e920ac4ad033556
                       3414d490374a51da6a9c5a9447eba1383f96861e
                       2de6750b49b828cb5ca45af2f5ddc86836633449
                       2f6a3b02fde34abe4751bd2ffa2e91d926f498d9
                       81865e53e6347bf718085abd523c73487830a5bb
                       0a67f944b26356c083c9e6d1db81c5cff1d78941
                       86614b3148a927e3de813fc10138c27fb98da5a8
                       9eb407d7bcd61b4ad9746f918dd08a96dec65de5
                       4e78484cb469e812871893b6d1be8ff906b91f32
                       5c516ef0c291ab34623bee46605abf9cf9d5b4f6
                       87e1bb2aa713e5594aae5ebbaa561fd94745130c
                       aa6e840b37d7710f71a274aaafe026c71be094d2
                       cac9290a00e405f1e8a6c3c060c768a423519af0
                       7dc40eeb786bcc3e5e22c8d735a3e5465152bcf9
                       62d80225ed46326142ef0de04d1eeda72bc07621
                       ecff401ed690e8847b79b824e292830ae79f7847
                       0b0c4b62644c906f2c2dd5034cfbea162a1e38dd
                       67dc3a6a0d60a3bef45a8ee6c28f88938a293254
                       9d4644da591a08dceec16ba3b136e37baee7ec37
                       f1fd8028
       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 [4b:5a:57:fb:2a:e6:a3:47:9c:ee:25:9d:12:1f:eb:20:db:8f:eb:3c]
            modulus: 96926277ef4e22c662f2d0409222257c539604eec083cafc78fa6c67c83d259daeb772e582cab86dd92a1b042da8bd0ac6dc466e6dfac9667917d8f654c04879b85655fb2d43a8996e0f19ca3be1b7701272acffee4d538c96f3be839a9c59b9aeb929267811c54e32c952346fbc7ffcb9e8e8166e063ac65c91ce33ec08744b8cc084bddbc47f3c784cd85ec02311bf7cd0e532665cbbfbe2a2205ad97356b4ecdd59d901fb9adc4bae9ca76b83b5fd98e5108b108efe4b620317e18119ae01174ddb5a0b00acc5a39e9c172e6491f577889c67325220ed2b2bf9d149200a34bde00429f7e5fff2784a825df5b88f95e49972a09c21acd91764605b733e7d01
    public exponent: 10001

]