Results

By type

          2022-02-05 00:36:26,366 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-02-05 00:36:31,046 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-02-05 00:36:34.057  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 05, 2022 12:36:44 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 05, 2022 12:36:44 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 05, 2022 12:36:44 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 05, 2022 12:36:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-05 00:36:46.651 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-05 00:36:48.061  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-05 00:36:48.956  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-05 00:36:52.351 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-05 00:36:52.357 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-02-05 00:36:52.359 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-05 00:36:52.362 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-02-05 00:36:52.563 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-02-05 00:36:52.644 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-02-05 00:36:53.154 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-05 00:36:58.655 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 05, 2022 12:37:01 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-05 00:37:03.248  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 40.578 seconds (JVM running for 48.51)
Feb 05, 2022 12:37:12 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-05 00:37:48.943  INFO 1 [nio-8443-exec-6] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-05 00:37:49.045 DEBUG 1 [nio-8443-exec-6] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-05 00:37:49.156 DEBUG 1 [nio-8443-exec-6] .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-02-05 00:37:49.160 DEBUG 1 [nio-8443-exec-6] .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-02-05 00:37:49.257  INFO 1 [nio-8443-exec-6] .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-02-05 00:37:49.259  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-05 00:37:49.260  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-05 00:37:49.261 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-05 00:37:49.261 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-05 00:37:49.264 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-05 00:37:49.348 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-05 00:37:49.351 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-05 00:37:49.544 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-05 00:37:49.552 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-05 00:37:49.553 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-05 00:37:49.558 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-05 00:37:51.358  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-05 00:37:51.360  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-05 00:37:51.360 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-05 00:37:51.444 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-05 00:37:51.544  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-05 00:37:51.546  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-05 00:37:51.547 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-05 00:37:51.547 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-05 00:37:51.548 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-05 00:37:51.566 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-05 00:37:51.566 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-05 00:37:51.567 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-05 00:37:51.650 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-05 00:37:51.650 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-05 00:37:51.651 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-05 00:37:51.652 DEBUG 1 [nio-8443-exec-6] 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-02-05 00:37:51.753 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 478813181135449667175371457185121471214293738491
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Feb 05 00:33:10 UTC 2022
           Final Date: Thu Feb 05 00:33:09 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [ff:45:1c:33:a9:fc:73:44:d2:39:f4:8d:75:b8:0e:c7:33:e3:7b:62]
            modulus: c7f58f23c353dcdbb82891ff96cead9e62369fba52fde1be427bb0707a363842d33e91de5c79d6e116905dfb6c4c3f06f6403cbc861ad79249ae8575a0055ee65628bfdb81f5b957220a15d360d91d22d5c2adb0be4f25e8e2b9105a428f2785e60ba7aa90467bf166743fb2f9d2e41608c492bba0407ce0edf8b99fe7462c9f27fc2f93a659c03ed2ace6e680ae4598474f96fcbf55b50c3b0fa2c7726d4bd7507da8c32c4545459c79c74548b277094f9fd5dec73821bd7123e24ba2193503f681e79303b39ca6975efd8ca08fc65d2d101c808a79c5b419ca93a2568657f0f57b149e2f4b045c49674529ee95322a069d23ac2ebd6b3496d8270f81a020ff69a910941f088885f81b17123ae533677dba68837f435e6cad1ead38730bda2aa93113dda14705381bc7b509f73b602a791e1b0b6ca7c1c319f12a4ef4b6a94aa35ab98eb834bf5d6964648b1a3953dd002d1188ea43e0df3e5dbfbec6e6a8b1a98f77992713b9edfe0cace33ae1cc8e0e9c42db9d6221b7208524fa37899b0f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 8b4e61abe93a3aea998fa2171b6f03ab65e06d81
                       08880f07259f037d44aacddbb2c670e1a91b9b2d
                       733f54fbb6421ae8bf0adaeaffa58d975e17a052
                       b3a86c0f1bc5cfafcc890d5cebc269eb555077d0
                       d106525db6bc2fa649437f86fbb5cc246a248bdf
                       aa4687fc81a43fbdfbdd726b3231b8976b8060c0
                       6a3b3513c4afa9274bf1a6bffb74b88d1804e05a
                       562e29baa4e62c6695e5b65f3e78ef2ea2e9d0ba
                       28cacdb79f2e28f48dea0c596acce76294b415b6
                       2af52ad16c9a70fcce46b09923c8873e21a56244
                       14557167064b3afa2fe96b3eea7ce5479edc9476
                       31728b60171dbe1d49935c9f6be46d8b41317679
                       807febd95b5c1bbb3ee22b66e410b77d3c45d65b
                       e238d1f8f377abded47f26faf0ca88988edf3b93
                       3ec85a920615dd22ac54fbccb713c47aaabdb5cc
                       e1c3e60d2d0155dfe60ac8c9be35988fb54852d3
                       4f1434c79faa0e68bf0e033a134e315e865cca67
                       554cd0d89654e63e488aaac872c066f1c71da804
                       b53adae27689c7137ff5e89c408ae5fbb4591818
                       16f520d8
       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 [9d:c8:0b:72:63:f9:e1:3d:8a:75:c7:16:02:63:b5:64:f1:d6:22:f8]
            modulus: c640cfe8ee6743e3aaf0817c916b4507264221e692d4554014cd67822061133f411a3350e69278c02761f1908b21d69304fc0fb0c066e930b91810320eecacd30d42d5f49d545f9667538accf666b710f1311e1583050de49e7e818d734558901b2d5903e79aa6e3422caac2f6a976782ed8f56f7df93bca9c7f3bdfa6d273ce81d36090ab150c635bb7a4f0b2d5391e034da0fb0b851e5c26f64320e866e5d04d8b45cb481683f4da44a34db10308b63bee0f5b3e604045ab95de664cba2fb989d886908a26681fe45e6d3559831e1760c62740994b71032fe2d7914444f1aae400e2bffcc5f2da359c443c289744fbab8727c477519a4bc9d029029e4ad321
    public exponent: 10001

]