Results

By type

          2022-03-28 12:27:42,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-03-28 12:27:43,762 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-03-28 12:27:44.813  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 28, 2022 12:27:48 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 28, 2022 12:27:48 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 28, 2022 12:27:48 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 28, 2022 12:27:48 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-28 12:27:49.308 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-28 12:27:49.742  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-28 12:27:49.996  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-03-28 12:27:51.078 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-28 12:27:51.083 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-03-28 12:27:51.084 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-28 12:27:51.091 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-03-28 12:27:51.159 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-03-28 12:27:51.166 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-03-28 12:27:51.356 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-28 12:27:52.215 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/]]}
Mar 28, 2022 12:27:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-28 12:27:53.686  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 13.118 seconds (JVM running for 16.084)
Mar 28, 2022 12:28:10 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-28 12:28:37.551  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-28 12:28:37.582 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-28 12:28:37.667 DEBUG 1 [nio-8443-exec-8] .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-03-28 12:28:37.681 DEBUG 1 [nio-8443-exec-8] .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-03-28 12:28:37.753  INFO 1 [nio-8443-exec-8] .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-03-28 12:28:37.761  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-28 12:28:37.763  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-28 12:28:37.766 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-28 12:28:37.767 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-28 12:28:37.784 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-28 12:28:37.797 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-28 12:28:37.803 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-28 12:28:37.859 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-28 12:28:37.866 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-28 12:28:37.867 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-28 12:28:37.873 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-28 12:28:38.878  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-28 12:28:38.883  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-28 12:28:38.884 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-28 12:28:38.886 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-28 12:28:38.899  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-28 12:28:38.901  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-28 12:28:38.902 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-28 12:28:38.903 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-28 12:28:38.904 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-28 12:28:38.920 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-28 12:28:38.922 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-28 12:28:38.922 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-28 12:28:38.932 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-28 12:28:38.932 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-28 12:28:38.933 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-28 12:28:38.937 DEBUG 1 [nio-8443-exec-8] 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-03-28 12:28:38.975 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 169240917597473613398224546759113032695448817220
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Mar 28 12:24:55 UTC 2022
           Final Date: Sat Mar 27 12:24:54 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [62:c0:2e:61:03:d3:cb:da:b5:16:13:4c:54:9b:bf:d4:e3:ee:12:7e]
            modulus: d55e76f7725f5e3e3a7f3101a91aeb43a593fde5de97cedd7c92a86899d7ac051bc3568c75d935ec4ad90280b9f4a002031291a4bd29964aab2e3d69a3bacdc1bf885f2d1ae392e60d042f36393d1220b8b1adbe2955ae37f274c6878902139196304ac7e28ffee75ec5d2f319aa997f589e4e3ad1ea4154f288d8e9a071f64a24e18ec770c3683262a6a8e5d37ff71a423d4363144de8d3d64db3aa13af5b55b78b1ff218c383d4c64a32628e76f5a5b9c910769f86aeb637fb4bfb429f6df6dbc32e0e2315e531a1b4bcf92872b95f1399aec7fd3c2f74ed2b64d7a38a9c200688a6a9620f5a1a10b11a8468ba2a30789a5afeb82659a214f86e81a20cc5c170fd2605fd1d48db0f78828de9b76386b6c3577a11d5c85656fccc36d28d2071ece26bfb3388426e1fb763fa76a9b5853b29639da80654eaea5096976ea96b0b80b9d9aa0ad649c99582d3514481a3b4fa331fa063105d7ad67160fd12c7da4b4770440006458a4a124f69475befd409f2d2c01ba3d84646b23a9bc01d9513d5
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 36fdb9fe3b852c5525085dac4b3b9997565f1111
                       1cecd97cea942f4ca5c3b51debde5786b6390c88
                       c5a96001653e6b347d399eb75139568d862b2be0
                       79ddcf4ff3f3db1ef2276dfafb15d686024e10ef
                       1631134d647283f3c67dc54ada058996755ca3ae
                       189c03c88e8713629f980440b651be049b070dc4
                       bbd36cc8baf148b17b86b0d37942293d027889a3
                       fbbe2f8a538bc5d62d1ddd9c0766f2243e9fe5df
                       73585c2bc38394732c4649177afd3a5a8127c2b3
                       f7cbbe1f35526d7bab7a67dcab940cc5ffdecc9b
                       ab20f64580f7de6b15e801239bd0ce626467da45
                       c6ec0fa1972d733660c5a1fde43691e56af57d8d
                       a903224f0ebeaf242c19ee1ffca16db01f2e0230
                       c77f4820b3e753c8fe41c198ed17f921dc11caf8
                       009c50ddb0262135b6e63861414e61256dfc3f58
                       7120b03ccfca5f9839b3d11eeb66fb9f0dda666f
                       555eaf8675c0677be130eb4c5894f6dcce987a95
                       9b535192fb0e147b48840eb7b6b3e53a4b57dd5f
                       517392128dab60ad011b3689c3728367e5b6d533
                       06e73045
       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 [92:3e:63:e2:e4:a9:51:ae:3b:92:04:ba:71:e5:16:4f:12:5e:b0:fb]
            modulus: c07c3205a972733abf4f8c8ca9e33f49008742e73b9c3f945dd5fcdf4509ae3a879257011fd05d3b13305c5d92bf5350e77f0eae61b952b8998f3bcbeb271c9b46eeea81f6a7693fbc8a0aa3a62730ef46a67f8cd0572f0c69bbd65f35a60d168f2fb0ac1bf52c64b13a68d3c01417b29063cb0b555f1b3c08e6006d35c49e4cb6e96fa9319101059d4aa48a340f9c6ae7ad2c14ba95d3f36b92ed3567557110a32fbbf6db2d06d6ebb5fa2934c37fd568b29e892831f5dcbdd02e0c1a869f41483a23cfb1a0a23782427de5d9e94f967309143d97d93901d849b03b3764e9845e47b6086f5dd2c18fe59839293f70be4bf0954c1fbfb731461e6f75da471589
    public exponent: 10001

]