Results

By type

          2022-12-06 08:57:28,035 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-12-06 08:57:29,788 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-12-06 08:57:30.559  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Dec 06, 2022 8:57:32 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Dec 06, 2022 8:57:32 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Dec 06, 2022 8:57:32 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Dec 06, 2022 8:57:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-12-06 08:57:33.269 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-12-06 08:57:33.565  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-12-06 08:57:33.738  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-12-06 08:57:34.643 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-12-06 08:57:34.647 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
2022-12-06 08:57:34.648 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-12-06 08:57:34.652 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-12-06 08:57:34.699 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-12-06 08:57:34.703 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-12-06 08:57:34.818 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-12-06 08:57:35.580 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/]]}
Dec 06, 2022 8:57:36 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-12-06 08:57:36.656  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 9.654 seconds (JVM running for 11.957)
Dec 06, 2022 8:57:55 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-12-06 08:58:46.007  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-12-06 08:58:46.016 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-12-06 08:58:46.056 DEBUG 1 [nio-8443-exec-5] .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-12-06 08:58:46.059 DEBUG 1 [nio-8443-exec-5] .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-12-06 08:58:46.083  INFO 1 [nio-8443-exec-5] .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-12-06 08:58:46.086  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-12-06 08:58:46.087  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-12-06 08:58:46.088 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-12-06 08:58:46.089 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-12-06 08:58:46.092 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-12-06 08:58:46.103 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-12-06 08:58:46.107 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-12-06 08:58:46.159 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-12-06 08:58:46.165 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-12-06 08:58:46.165 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-12-06 08:58:46.168 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-12-06 08:58:46.720  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-12-06 08:58:46.723  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-12-06 08:58:46.723 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-12-06 08:58:46.725 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-12-06 08:58:46.734  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-12-06 08:58:46.735  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-12-06 08:58:46.736 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-12-06 08:58:46.736 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-12-06 08:58:46.737 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-12-06 08:58:46.751 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-12-06 08:58:46.752 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-12-06 08:58:46.752 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-12-06 08:58:46.758 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-12-06 08:58:46.758 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-12-06 08:58:46.759 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-12-06 08:58:46.760 DEBUG 1 [nio-8443-exec-5] 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-12-06 08:58:46.790 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 645495374686812488944236860936252647578807653111
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Dec 06 08:54:18 UTC 2022
           Final Date: Sun Dec 05 08:54:17 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [fd:9f:b2:9c:11:08:23:d7:12:95:7c:8b:50:5d:a2:33:ea:2a:95:5a],[56:66:d1:a4]
        modulus: cb4969c22e25e90607c91391d0d0ef73aaef40cd385a197423aa22f2914659a49b5dc13dee23e5247cff8a15ae589416ced93f116e216010d1e03cae54f1dfed6679935a3a3ac631ea480b05395f4b7fba4217435c5e5ed38412a6bff44127eb3c86b3b2caf4e54621cd9fd2243f19319cca46895fef982c60a234d25785a309cd11c28a9e77f12a6df0d406135847c56a4fe64c5b91f7293be996ea23c77ab39794ceff9b283b5ca1b61691871599f12e9cf9826e2dcb2a0ded0f7ef50e1fe2a04b86072a09ec3fb9720ebc3846bbd4645a7a8e625ad1cccdbf595a7321b99e0dea59f530601e18f59a903692a2602634ee4b7ec256e9ab251f3a2ca19a9013a3cf833ced9dcf4f0daafd50529dd349614fff652eef81b95b7ba9e5aeb31573817fc7c6ded25b7c57c641522af7fcba46f6f7da4c3dee973415d3abf9791d30e9e7c35fefd955dad1c39e6bf19482440c85334247fee96ced2bd79cff9989413ba994de8c86e01658e8bfc35b534f4aa76f3f58e3d15941590c4cacf0acc0d9
public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 6d13800af563b2a5b077dd7d7785f973c0868b27
                       22d0a843f61624516329606b5fea54643a904613
                       34455e1c42bc6f14b2cfdb7adadcb3a51ebf149d
                       f45eee0482139c08018ba6f2ae11d4538342ea6e
                       7b7d2c60b08eef33dfb93363109b87a540dc6e8b
                       988fb6df0b3984f74251f7430d1b14416dce37b6
                       9cec25f40ea1f71c602560285a27c6e4ca6b525b
                       1681b1d95642ed59f6e273bda10c83e826d73ea8
                       0c7ee584586996c344153183fafd97118f251c7c
                       1aee248f2ee92fd2ed8b3b1db51d37a32a7dcc73
                       e9807f5da63013971501bd1a0889f76073e48743
                       d70bca959dd393a892467199f1ce8b2ceb3c50ac
                       666c1f8226444a1272ae0e018524f2541c10fa1c
                       dff860d83fa760e792a39fae3021940cf43c7af3
                       abaadeaf61858cde161419d7b6b867a26a70be8a
                       f331a9b230241805d767393dde5f5cdf488e236e
                       5f1df7c02f64ad75ecbabbbfeaba682e59209750
                       40bf8950028cd4ae5fc2844486fee91c750af742
                       25a8522aa4bbd0d964ce78eb49972e1908740c69
                       daa1d4f6
       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 [7d:68:e1:90:60:18:bd:87:1b:36:fc:21:7b:5e:6b:ce:5a:88:d5:7d],[56:66:d1:a4]
        modulus: b011c1a6adf3c5a276a01102ab9b3c08038a07bcc3f3440dc8737532bcb232be4b88e8445f12db08cc163b976af367bba36c43e22e97886b7be446fe2aaa1133d0edd5c6531937a051c1587778f4a63507c274c754e98be52a7a1c6ec2896dbc8b7536c3bf5511268236634cc9a6de9ba7d989bbe63c76869bc11528d686a465fd815c82916b1e460ce9f2628712c7da17eb3190c39e5c210bcebba0a1889083979e07e0d0d542e6f8956dd0fe2665aad2b7b42aab45c19b4de0cac6b0ff73d8e4a27802c6f641f454a62965b23b5e55eabb3d0d5d18beaf45a2a03e65685fc86e8d1c4f109bf74d316d079084cf16ee35b0acb98b7510c2cb96e5b75b14ae1f
public exponent: 10001

]