Results

By type

          2023-02-20 17:12:57,463 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.
2023-02-20 17:12:59,019 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)

2023-02-20 17:12:59.851  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 20, 2023 5:13:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 20, 2023 5:13:02 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 20, 2023 5:13:02 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 20, 2023 5:13:02 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2023-02-20 17:13:03.156 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2023-02-20 17:13:03.552  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2023-02-20 17:13:03.737  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2023-02-20 17:13:04.782 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2023-02-20 17:13:04.786 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)
2023-02-20 17:13:04.787 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2023-02-20 17:13:04.791 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)
2023-02-20 17:13:04.840 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)
2023-02-20 17:13:04.845 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)
2023-02-20 17:13:05.029 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2023-02-20 17:13:05.656 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 20, 2023 5:13:06 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2023-02-20 17:13:06.836  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 10.432 seconds (JVM running for 12.61)
Feb 20, 2023 5:13:30 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-02-20 17:13:43.803  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2023-02-20 17:13:43.810 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2023-02-20 17:13:43.849 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] }
2023-02-20 17:13:43.852 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'}
2023-02-20 17:13:43.870  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] }
2023-02-20 17:13:43.873  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2023-02-20 17:13:43.874  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2023-02-20 17:13:43.875 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2023-02-20 17:13:43.876 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2023-02-20 17:13:43.881 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2023-02-20 17:13:43.892 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2023-02-20 17:13:43.896 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2023-02-20 17:13:43.953 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2023-02-20 17:13:43.959 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2023-02-20 17:13:43.959 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2023-02-20 17:13:43.963 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2023-02-20 17:13:44.933  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2023-02-20 17:13:44.935  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2023-02-20 17:13:44.936 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2023-02-20 17:13:44.938 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2023-02-20 17:13:44.947  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2023-02-20 17:13:44.949  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2023-02-20 17:13:44.950 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.
2023-02-20 17:13:44.950 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2023-02-20 17:13:44.950 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2023-02-20 17:13:44.968 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.
2023-02-20 17:13:44.968 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2023-02-20 17:13:44.969 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2023-02-20 17:13:44.976 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.
2023-02-20 17:13:44.977 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2023-02-20 17:13:44.977 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2023-02-20 17:13:44.979 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
2023-02-20 17:13:45.011 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: 200455405876195846765716451641551549303845414600
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Feb 20 17:07:26 UTC 2023
           Final Date: Sat Feb 19 17:07:25 UTC 2033
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [fd:f9:db:0c:d6:de:5e:23:6e:08:66:44:be:0e:42:5b:ef:2f:ca:f0],[56:66:d1:a4]
        modulus: d8a48f435b63ba3e485eba7f07948bc6347ea2ea413334e3423a96347bf4c5ef282cb777c71dc6415a3628bb7c716178604fa46f95d3eb4f826f8d3aea55e5c1cb2f33484cee0d36ffec6b5b4c6d6f88ebfc13416b03a794177755b861f128a6bbe3d14df58f4c412dcde67152f3308ba13f3fc8b1aa06616c3844c961aed58bf979cf7d3d4f7b6bacb8627a5c7d86a7926845f12e3a98dc0d784bc648227b6b995d40532696793554a0d83a9139238abda773acab88fac097988da1e347f50fe8ce73060fc262928fb952c1f71f24c3ab559d055594a5ed667745d964898200ddd3433615657f8eb3a2af3d94b106b1b33a63dd02b2c559028c2b142261b52400c565effc75078bab25e3a14bc70f3360f4d94d1fc8dcabd29a6dd8d750f9ef78ce3186487880a5abdcea45ad438991d0951a683a6c746a00c511705a5b9c3f563599dcaefc1e5abad66e8a0c5f3855f80f1924b0b46e68bac2ba23e864fea3d835b25eadb1bb034e4d0c20b1f80a8062a8bb2fa4eac174c02ab8cb64dd32f5
public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: b4e0a4f9cec3b700297b2a21f4309d0fe750db95
                       3a1686cfbd4188968dd576401b306c2e4957cf5d
                       8264050475c75335c47d81b628cc71b38d1a17c0
                       72382e9d6014d273f8c93213c06c3d9a7bb0e87a
                       4f6df93aa6d1ded1fe537b042a395fae1afff693
                       187613974bace58876a17b922b26bab32ad86206
                       d0d7add88674fc1d96e579b99f4838438030e85f
                       ca3fe98ccd4493c6307beda2aaa4ec17799f2ebc
                       cc861714b6cb43eda012d6fd32ecc9ec2908b68f
                       1711b3ec9eca205a6ea48fd0ef9dc3434c1e43fe
                       8d66f83e28be578b03df9f4e38a141da361b35ba
                       731327c5bc25498ba8d6ffd32336fda62af8d65f
                       021e128a438cfbc32ad1a72f8a09dff3f58e0462
                       cb3179f86ac1fd1ca933ec19b0c06743c24f8b47
                       ef352248302b16c8aa099f9d1a9f7dd1c0b0f328
                       5ece18a7021b59854e29debd15992756012d9160
                       4a12b9b0768f7dd3a2b7fd98e83ab530b80475fa
                       9ea6feab5dbf70edaa8d4661eb9af3803fa5c882
                       c9a674e4e7057e50cce4280263d445a401df49a0
                       f0b7b82b
       Extensions: 
                       critical(true) BasicConstraints: isCa(true)
                       critical(false) 2.5.29.35 value = Sequence
    Tagged [CONTEXT 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 [ed:10:69:b2:28:1a:db:d2:6c:3d:59:06:67:e9:52:01:32:d5:20:43],[56:66:d1:a4]
        modulus: cb8fbeb9c822572d06bf7ac2039c691a3a45adb0e476d26ebb5229ce8e8a2f81ef033611f50cf0d86c11d93a5504a55aa5ad4af2a48597f161d73e66b16d070cbf2276beb0c39b2c28b1a1df6a0c9d86354e541f1395aa913458c41272bb7048aec63c66bebc34ed58d92f3d292ea8dc806b3f0659db034b68d0046111e6405acc4b1dd2161a645917256fdbf5b9a0cf379fbbc5836d815e527108ed0565080a942339a302ef316eea07112bd8b0908f4d5a3efbe12949e2a904538f39d3e837f80202048a5648f776f84ce52f637f13b9cf1996082dfee64e14a74a4c34792b2795d4e06a2a7732140b9aaa8c1265812e91dc9bb401887a5f16e8b7077cd201
public exponent: 10001

]