Results

By type

          2022-09-29 07:41:32,877 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-09-29 07:41:34,206 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-09-29 07:41:35.098  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Sep 29, 2022 7:41:37 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Sep 29, 2022 7:41:37 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Sep 29, 2022 7:41:37 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Sep 29, 2022 7:41:37 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-09-29 07:41:37.767 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-09-29 07:41:38.090  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-09-29 07:41:38.285  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-09-29 07:41:39.085 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-09-29 07:41:39.088 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-09-29 07:41:39.090 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-09-29 07:41:39.095 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-09-29 07:41:39.156 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-09-29 07:41:39.172 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-09-29 07:41:39.315 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-09-29 07:41:40.204 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/]]}
Sep 29, 2022 7:41:41 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-09-29 07:41:41.329  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 9.471 seconds (JVM running for 11.813)
Sep 29, 2022 7:42:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-09-29 07:42:20.611  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-09-29 07:42:20.619 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-09-29 07:42:20.672 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-09-29 07:42:20.686 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-09-29 07:42:20.707  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-09-29 07:42:20.710  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-09-29 07:42:20.711  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-09-29 07:42:20.712 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-29 07:42:20.712 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-29 07:42:20.716 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-29 07:42:20.722 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-09-29 07:42:20.726 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-09-29 07:42:20.778 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-09-29 07:42:20.784 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-29 07:42:20.785 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-29 07:42:20.788 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-29 07:42:21.474  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-09-29 07:42:21.478  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-09-29 07:42:21.479 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-09-29 07:42:21.481 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-29 07:42:21.497  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-09-29 07:42:21.499  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-09-29 07:42:21.500 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-09-29 07:42:21.501 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-29 07:42:21.502 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-29 07:42:21.521 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-09-29 07:42:21.522 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-29 07:42:21.522 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-29 07:42:21.528 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-09-29 07:42:21.528 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-29 07:42:21.529 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-29 07:42:21.531 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-09-29 07:42:21.566 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: 147657153514016219317577921064520412949397535871
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Sep 29 07:38:40 UTC 2022
           Final Date: Tue Sep 28 07:38:39 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [e4:66:c7:0b:62:90:9f:c9:78:5a:c4:b3:24:5a:e1:af:70:66:cd:7f]
            modulus: ab2b6485b189c2a85ede1705d1fc4c483f8825ffb827bc1bd57c9e1c753aafc5debba7052472e3f805b8a9fa989c99a1b80b7acebcf77f39474a1fba48ea0900eede21898effcf0414d05e05bd1a37dd8676393875ecacff4f2cf16d43c031b1d7e88fe365c6cca4716e0f21b016b025fc68965668ba86f14b830621790acc0da1465bdc8e39f1daca737e860b3003ec617b70801212de9e4f603e6b44c63894d4dfeb47278f7cdf765bc0e4ad5d11a286a8e4e442c4ac909468125eb4952a92935c94ae81023b867a0fc7a05f7e6e56c910c8ec06934ca6560c3ed05d31f429f6a0290ea2353c83dbdbee0c460819d1134aa3438ff24d4f17eff31aa1646d5d3a6b72d37726adab0dfc60e6ae052b791650be52af21d4818880454f4a1322e616f027ec135af00c3fbeb4e478032148392d2490735b00d2acf927813723c1c2c541108b1b5d3787a2b3eb6071d68dbec6bfada3d751a100d09d7a0f60bcc62a9a1ceae586a1ad8dd8924eda5dfa247e8ab4e19a4c35e1e73181ab0a9be4354b
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 79a8572e4c3c18fad0c4f574579b8373296c26a0
                       a95357f4259cfdd19496dee226df9989ccce6443
                       5aca73edde66ec78fe3c33db71cefd3f9756c1bd
                       5659fce76d66d85059c7a383c2230fb5f4f58b2a
                       590277cbc02d362f57d37b33c3b67dc10df20098
                       4f26b76036a947283cda9bd7488c695a3a9bbfa3
                       ecedf711f448830a25ebabf8912b2859989a296c
                       2f90caf765e71f4addf72425dc9184121123427f
                       2f2f0579836044732738727bbed4209ce2c9d5cd
                       1593bafb39a4476cdfbe5c6b7fe5183672c4102c
                       99d95e15928af5def13ef2cea7a4655afd92b1ee
                       fa5f6da2eb14d9936148282a6f45fd0a496b3735
                       940f75ce4f6fc73aa96455b3258e538c2cd7f794
                       bd268aff06def262fe1a18a439cd2d55a364645d
                       1403b81a3bd56dbcc7570f93d8ea45480b587595
                       026db63953d7aee74739bc1bab2d59a7a9575714
                       8457b6443994de997434fb8800621bc199e498e8
                       7bd03a2129062971f35a5a70e2cf860b5499efc5
                       42e33e306a350a576653313fc96fb76cc158d935
                       10f6bace
       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 [2b:b9:19:cc:82:b2:cd:ca:cd:76:26:e6:12:4e:fd:a3:6a:25:40:ff]
            modulus: c53019a798d13a83b7517cc433d7fda9c68d34fc166169a07c9eae5220ab4f544816e81a35a37dcda250d21e4a69d979ee0156421de26cab47ce542e3e301cae2767621027913b42b84198cbac19082c50d2ba62bacfcf1086283102e2bf2f704e4859cd8f5ed449d257f75f3593bbc18470a9c31875ed95602e31d4a272b2adf8e0a9ae3f866db5535d4ec4931e0159fb1ce37494f82870c4dbe4a3f85febe41f5ceffae20fa88f8cbfe6599e05020d353a3bdd0ae470d7ccbe87b9f7e8614c001ba3f59d477f0f67f93f09297e2f2375f45ef5771438bb3fbbc307819e37c19b17f8fa0af5aa980cd0ae3379fb2e9caf729fc77ff8a22610da7dd99e7cac5b
    public exponent: 10001

]