Results

By type

          2022-02-05 23:12:50,939 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-05 23:12:51,807 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-05 23:12:52.549  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 05, 2022 11:12:54 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 05, 2022 11:12:54 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 05, 2022 11:12:54 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 05, 2022 11:12:54 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-05 23:12:54.849 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-05 23:12:55.115  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-05 23:12:55.300  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-05 23:12:55.881 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-05 23:12:55.884 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-05 23:12:55.885 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-05 23:12:55.887 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-05 23:12:55.919 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-02-05 23:12:55.921 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-02-05 23:12:56.036 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-05 23:12:56.693 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 05, 2022 11:12:57 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-05 23:12:57.546  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.24 seconds (JVM running for 8.724)
Feb 05, 2022 11:13:24 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-05 23:13:44.755  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-05 23:13:44.765 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-05 23:13:44.809 DEBUG 1 [nio-8443-exec-9] .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-05 23:13:44.813 DEBUG 1 [nio-8443-exec-9] .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-05 23:13:44.832  INFO 1 [nio-8443-exec-9] .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-05 23:13:44.835  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-05 23:13:44.836  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-05 23:13:44.837 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-05 23:13:44.837 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-05 23:13:44.841 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-05 23:13:44.901 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-05 23:13:44.904 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-05 23:13:44.944 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-05 23:13:44.948 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-05 23:13:44.949 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-05 23:13:44.952 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-05 23:13:45.497  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-05 23:13:45.500  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-05 23:13:45.500 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-05 23:13:45.502 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-05 23:13:45.513  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-05 23:13:45.514  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-05 23:13:45.515 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-05 23:13:45.516 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-05 23:13:45.516 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-05 23:13:45.531 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-05 23:13:45.531 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-05 23:13:45.532 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-05 23:13:45.538 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-05 23:13:45.538 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-05 23:13:45.539 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-05 23:13:45.540 DEBUG 1 [nio-8443-exec-9] 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-05 23:13:45.569 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 529205934021460947969910695833341657436562058882
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Feb 05 23:10:39 UTC 2022
           Final Date: Thu Feb 05 23:10:38 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [21:15:95:70:4d:8f:4a:26:a0:e2:40:81:9f:7e:3d:e3:b8:40:6e:b8]
            modulus: d2c06d3b2451047b7f69d6906575bc2f9a93c91dbe18dd74f4f464fac06abeb6335eddaf8e6a1bf74409db62c66640434e338bde34ff2c6f8e943bf57eaefa8d952f4d0135f07392829bce753fde8c8f86d517dd4316232202aff3c55dfd0630176858dfdcb43a472800493d5518bd3008c8e51896fa1daeba184595972b13a5a542317f54ebe6cdb0ab2c61d394c4ef4155b43c6a210219d771afff7c9fa8f948153a163cdcc2c0d2c17643cbd9e55e1e63037ed2c50d70250c3502c913db1a8e3154f1b423ec548c824955af59608b610b4d33694a482c84669ccc9edd3078ad6d21f32eceb8d5bb68696c1ca4a309c916fd9938a4c54416233beec61865ffae92327808e02c6851bf5aa631df7a316f728c9902eda3dc9022fd5cc1d69a5391b4119f15a2ecec4d309017553e4a77b64d684a46826b0338c7d3e8df7428fa17075bd7ba292731c7ccd0708729bc091e4b37db2c81c25131ede18e2650ac2f9571747460045c82f4b3ffe2469b4235fda807020523e4d60ce4796934aa449d
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 257d9f9b45f6705d7670354835651683fe854292
                       64498e8fc575144f5ef6466e68b7cc7e064e4f59
                       b8e82f92b96326c744de2e9cb7600363ef4659e5
                       cf7dea7ad4f0b235c3cd872e87300fd0377e7fa7
                       e6e6de954ad92725b0a538fa980cae23ab65fab1
                       f3ca1e7e345848461f98c67a2c1da72578421e86
                       82243b8ecc9df263257eb1f6c00c2229b8b8c44f
                       e30f22c5ad6d47f193bb3a1b36cb8775ba96640b
                       4bebc4897455a794eba3fa818e963319cacb5ac8
                       87f7517b5c0f161a46dccee9636f542bd7d9454c
                       457b8f8d040cac62306d1cd33dd6c43aa0f6598b
                       75235315c16dd55a89218522001d06d073855f1b
                       ce1d935b28c6b8967b3c526681431e8ad4a3bd32
                       83f67c2331055371b08615c4b65a240a30002e7e
                       cc481c01345697e9c96e1c7082e4e9df6ada97b5
                       67a5583840d9916b225dff418232136020fa7057
                       30f604bcdf7e0367c55f0e3e08960e34885191fb
                       a625fdd0d25a9676673a1f5c3ef28c3965cde740
                       8e65f5e23f1451dbf9a0046bc8da8a08ad0562ae
                       4d5b9fe2
       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 [65:8e:08:3b:bc:67:57:e0:96:31:1f:eb:1d:46:d1:6f:cd:83:aa:35]
            modulus: c306045e8f43b49e589b7cc3c0a16e12e3bc3ff86e6dc1a05f24f76079d3405d18671eb5fc87f201a1c9978cc52c17398bdfd86fb8b025d8cbad843446f8cafc762a00060a6de78bb07e745410d2ac5f56285912fbed1fb9dc24539b9a4433b26e91ff3e62f05cf5d83dbfb07d45feb2a1ec170c79a9fa43c55b8fda96008c5b5cc9f67ca595aaafcbfc7ffa206e4a6e76788e4a9e28cdd835c7c30f09635a672c6eeb3261c5d145bf72531b203d9ec3121a90b8fa6aef43a9d43f6d367bc5d49a0d578a5b50353145284acfaf55d744ed4d1ea940844700f8c2a00948d032fbe04b1ef4c36d3b07b376f55d136e7648e92779913d7abbc40c66bb1e906e18d5
    public exponent: 10001

]