Results

By type

          2022-05-09 12:41:48,799 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-09 12:41:49,409 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-09 12:41:49.867  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
May 09, 2022 12:41:51 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
May 09, 2022 12:41:51 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 09, 2022 12:41:51 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
May 09, 2022 12:41:51 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-05-09 12:41:51.569 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-05-09 12:41:51.747  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-05-09 12:41:51.858  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-09 12:41:52.347 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-05-09 12:41:52.349 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-05-09 12:41:52.350 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-05-09 12:41:52.353 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-09 12:41:52.379 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-09 12:41:52.381 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-09 12:41:52.456 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-05-09 12:41:52.910 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 09, 2022 12:41:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-05-09 12:41:53.503  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 5.256 seconds (JVM running for 6.44)
May 09, 2022 12:42:24 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-05-09 12:42:42.812  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-05-09 12:42:42.818 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-05-09 12:42:42.842 DEBUG 1 [nio-8443-exec-2] .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-09 12:42:42.844 DEBUG 1 [nio-8443-exec-2] .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-09 12:42:42.854  INFO 1 [nio-8443-exec-2] .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-09 12:42:42.856  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-05-09 12:42:42.856  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-05-09 12:42:42.857 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-09 12:42:42.857 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-09 12:42:42.859 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-09 12:42:42.863 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-05-09 12:42:42.865 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-05-09 12:42:42.889 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-05-09 12:42:42.894 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-09 12:42:42.894 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-09 12:42:42.897 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-09 12:42:43.317  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-05-09 12:42:43.320  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-05-09 12:42:43.321 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-05-09 12:42:43.323 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-09 12:42:43.332  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-05-09 12:42:43.333  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-05-09 12:42:43.334 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-09 12:42:43.335 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-09 12:42:43.335 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-09 12:42:43.343 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-09 12:42:43.343 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-09 12:42:43.343 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-09 12:42:43.347 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-09 12:42:43.347 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-09 12:42:43.347 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-09 12:42:43.348 DEBUG 1 [nio-8443-exec-2] 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-09 12:42:43.367 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 79904257956860246944267444323313560582712788019
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon May 09 12:39:41 UTC 2022
           Final Date: Sat May 08 12:39:40 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [88:4f:22:59:db:1a:64:9d:bf:3c:b0:2d:68:df:d0:14:d6:63:b1:4b]
            modulus: cf5822af2af26398f8880aa29131650e0ef43db5b0bd2ca9afe49dbd9f49e82062361fd13fd554e565a6ac107d7d6099e8866344f004edd551e557c2c62e99e1e519c3a103cb36d45047496e22b81c9365058ff0decc3a681f17fdc68e70c71c772e1a2dc8178d3a227db84ea3e94692415ed1aeb9658a613020cecec7e22933deccbd3724517ba0f2f36609bdae9fdffb5fcd1dd87f04f2bb19d85ad1de6b5dfaeb1527661aca04358efff84b3c29212b51f3bda7d75ba2f33fff731bbcb04cd3a5b17924feb8ece36771d0631c898153e3e8622928cfff36187c212cfa187b7647475e86107b2f3d80a91dfb6c85fe9d38c31b276bc7b6fa3251088b04e662b182031d27d7b650d5b291ee89b9da78addc2a8d961e632249703b142aea74b7e57332aafe8bc33c9c66a41e1539ca752c153194c83e93c035e8b80d73dc80fd08eae79f28cc896ddb592357aa1e1e4b4917f29f328bc3ba86bbb74ad1b3ee19aaea0ff4a7c9dc7a85090941b07a39216f2bf9ef55c9e3e558700f59a8a5d83b
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 911e36de091fd76e75e636ea980c00520a08d326
                       ee85ff07b2105ea4383871da593ecfd3c884ab55
                       63b333abd8a8fed8608b17dafa787cd8d75b5fbd
                       801d056038b1370796ec07d09892e87aed9940de
                       bd5958e329a6b21105faca2f048a2119acaefdcf
                       2d95722b5a8dcf9ff4ff2bc3cf347e4aa323e6d0
                       a3fa72322ec7732c3b6258b413e3655271b1b5b0
                       fd967ea17dad6395eed1228945ea0d93a804b347
                       4cf8b04ae11dcf3bbf03f4948c5a5b285b5f5a92
                       bf79bf240e816fd388a36f88092dd14d2a49c60c
                       74800ee1d261609de285b2d9ce7d48f7b62e93df
                       41ee91769557e5b669015d4c049125037cdd2b72
                       f44685a28b0f70fbd75b46cde20b321d59a2dbee
                       0e53c170033301f3dadfbc83c5bcc51f952e5d56
                       5270d97d4a76367759c3b00e2dc4635a2761fe6a
                       51bb51b065df8534bf8bc3d0497b8d133adfb937
                       963e724f99b65a5607149433e42c5023fe83feea
                       20e358bd4e689c860011ed9f1fde6c5b903092d0
                       ef25856de827e130dfa3e14bcbbcbc8ae3d685aa
                       20b73f10
       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 [c3:18:90:20:b5:52:6a:a1:0a:a0:56:b0:ed:f0:fd:29:a3:be:49:e8]
            modulus: d17ab67526b17cb6c04c7b86ef56193928d35be57533d6fe524512aebaa42da5367012a8d55c51aebceed717c23936d0f93048001582ea61154f752a7f2bfc03b838947b46640f336122e9434031142a52565ad1b0ef1a6ef856b381389da4c9d6ac0eb8be55253fd31d76034a13f0e2b21e9ad44093cf14a2e97fdba728c3aeb02c4b143b6ab39b8e30bc4a34ab12d12410dd239af3d91af22f1fdb1fe8816894de78666d3a5103b432d14767531d5218d4dd860b7e302e50a96092095111d4b21fc5892c076a76796040f2d25126fbff697a57f1dd3ae57a9bfd2022ac022da6da259a8519aea4f639a29987d097352ed52d9681918aefeab0134c6a2e8c89
    public exponent: 10001

]