Results

By type

          2022-04-14 05:26:02,062 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-04-14 05:26:04,544 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-04-14 05:26:05.944  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 14, 2022 5:26:10 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 14, 2022 5:26:10 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 14, 2022 5:26:10 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 14, 2022 5:26:10 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-14 05:26:11.812 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-14 05:26:12.221  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-14 05:26:12.529  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-04-14 05:26:14.078 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-14 05:26:14.085 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-04-14 05:26:14.090 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-14 05:26:14.100 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-04-14 05:26:14.200 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-04-14 05:26:14.206 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-04-14 05:26:14.454 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-14 05:26:15.463 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/]]}
Apr 14, 2022 5:26:16 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-14 05:26:17.348  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 17.311 seconds (JVM running for 21.409)
Apr 14, 2022 5:26:30 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-14 05:27:02.168  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-14 05:27:02.182 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-14 05:27:02.281 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-04-14 05:27:02.287 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-04-14 05:27:02.310  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-04-14 05:27:02.314  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-14 05:27:02.316  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-14 05:27:02.317 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-14 05:27:02.318 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-14 05:27:02.336 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-14 05:27:02.344 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-14 05:27:02.349 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-14 05:27:02.420 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-14 05:27:02.434 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-14 05:27:02.435 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-14 05:27:02.443 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-14 05:27:03.452  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-14 05:27:03.457  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-14 05:27:03.458 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-14 05:27:03.462 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-14 05:27:03.482  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-14 05:27:03.487  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-14 05:27:03.490 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-04-14 05:27:03.493 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-14 05:27:03.494 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-14 05:27:03.526 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-04-14 05:27:03.527 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-14 05:27:03.528 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-14 05:27:03.541 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-04-14 05:27:03.543 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-14 05:27:03.543 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-14 05:27:03.547 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-04-14 05:27:03.598 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: 475972631464779826877858674307339937170790561302
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Apr 14 05:20:19 UTC 2022
           Final Date: Tue Apr 13 05:20:18 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [03:45:76:25:e3:28:ca:3d:66:2c:29:3d:27:b1:e6:8d:d2:da:6f:75]
            modulus: 99ee77723024687ce7fb901a5bfd25cb4704952dbf031f1d711ed0e8f6b4bb1bdf03792293f98fdf54462962a1b7e99b3d854dad637a500ee56ad77346b022a190500598a9dcd15b5c4ec22ef439c986974f796e574e83cef7c7a38117fbe5c0f710566f667c39fc97523365e15058a9d5bf2403c8ee7e8eb53f5a8384e95e851ea251b249eff89a1e3e97a93db10e51d293db4b01fa95783edda5c6c21f0369518a112a7cfc3c8107a296807f1a577f3fef631233d29800823182f75349f6fe79a8a83cb2165f8c066d7e6552af740b56013338b9ecc824de4d7e55980cf7ad7ba112af0c17ebb289b0ff1b4b1145ed337c6edc1f0eb575227e1ecc849949ed4647dd4a13c40b1eb43a4d32a8c5b78b63ab1b8ce1fcffbd9fd763d4ed22fd839bd8adfecbab11ac77b874f8d3a0c54aac4e62596dfe9476e70a814ec447b1848e3d08f4f6578d651a587c02fcf506b1d83f72aedcffb93f03f73f7eae2cc25f703f7216012cbf95c84f3d0629d3b79f8a18c0f5078acb7bae84d9f0d33d580f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 8e7156ceeb0f30b816d1c6a0c462d153c08fe579
                       92daf8370b0ea76ab8f9768a02fe214f77728ab7
                       9036a34fa9ab2709d7175747480e1b4b83a429da
                       25e7b36b3da72c2e85854c9bddc95158ea141087
                       707b7f362b916f1302e9a553e572ff2f5825557f
                       d760d96e11da4dfa2d69eaac7d8083f922ce0cba
                       f0888bdb36498f3d2b115e08a4903af1a286b7f1
                       3f646cb4fad7d3aedd1f625320470785740899d3
                       2b9692e254f61e5b0a5f3e31fffb35711dfec9d4
                       d79fd547a869fb4ea3ed6ac3c5ec3b90d2ead7d7
                       e8bff560910ae43c1670aab44855fb64ed8a4d1d
                       0ffbe36a5983d6efd2a2189083d34c94af83dec9
                       086efd384a4965c237553fc416bec954a5f81f45
                       6b7e027db805cdbde8924880413b17033c7af36f
                       5c2d7fe465c625b3ae76331febdce236e8caf647
                       944e9ca40a7d3c5928cc6eb190d35f06f3b44933
                       068235efb6062e05c9b73111b55d62d6cfb4be9b
                       65691bf0a6022a40ec9e77cf8c8e5bb1f1e2b845
                       291ce653bb445563f4b0c4eb43d5a2f63e63cfd4
                       a7cac1a1
       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 [be:81:bc:7f:0f:6c:b4:b1:c2:cd:55:65:64:a4:2c:77:81:6b:21:e0]
            modulus: f8415a254bc8c5d4291883f250ff686ee320de64397e76739cb2e9e5dfd25ae147c031344db435db56fd91406ca622e86fadb5b278087bcab32212f165df275441fa748981611c280e64a904b8d7a19c1c7f274239ad0608e7f154819e55dce434b5a2a8ca8a113405d29ab2bbcb51a62e15e695c677ae1c373bbdb5167ca39e75602c4f52b596da0f06554148585394466d85f98ecd56c174bee16daadc17761c230ea7fd5221677f649b8757b3cfb739bf1e587a503e4ea9bea55efceb791b7ba8ece2f299540efcf7ccf8e7b4f6c3ce50a671dde534499718e25b8fb8ab7bef2d3e603591976651a8c9b8c10600b4b8aea20652265eec3960b1aa332f4dfb
    public exponent: 10001

]