Results

By type

          2022-04-06 08:39:34,998 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-06 08:39:38,603 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-06 08:39:41.387  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 06, 2022 8:39:49 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 06, 2022 8:39:49 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 06, 2022 8:39:49 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 06, 2022 8:39:49 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-06 08:39:51.303 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-06 08:39:52.294  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-06 08:39:52.885  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-06 08:39:55.601 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-06 08:39:55.603 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-06 08:39:55.605 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-06 08:39:55.608 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-06 08:39:55.794 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-04-06 08:39:55.797 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-06 08:39:56.290 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-06 08:39:59.987 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 06, 2022 8:40:02 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-06 08:40:03.605  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 31.807 seconds (JVM running for 38.257)
Apr 06, 2022 8:40:08 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-06 08:41:02.293  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-06 08:41:02.299 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-06 08:41:02.410 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-06 08:41:02.412 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-06 08:41:02.492  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-06 08:41:02.494  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-06 08:41:02.495  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-06 08:41:02.496 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-06 08:41:02.497 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-06 08:41:02.584 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-06 08:41:02.590 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-06 08:41:02.593 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-06 08:41:02.695 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-06 08:41:02.698 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-06 08:41:02.699 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-06 08:41:02.702 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-06 08:41:03.849  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-06 08:41:03.852  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-06 08:41:03.852 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-06 08:41:03.853 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-06 08:41:03.861  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-06 08:41:03.862  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-06 08:41:03.863 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-06 08:41:03.863 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-06 08:41:03.863 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-06 08:41:03.889 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-06 08:41:03.890 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-06 08:41:03.890 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-06 08:41:03.895 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-06 08:41:03.895 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-06 08:41:03.896 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-06 08:41:03.897 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-06 08:41:04.010 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: 473682973315951657899939917751128779387426138107
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Apr 06 08:35:42 UTC 2022
           Final Date: Mon Apr 05 08:35:41 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [18:12:a7:dc:ce:0b:a4:3f:9f:5f:04:50:6e:3c:92:16:05:68:ae:bd]
            modulus: 9b5a2bbf097e9675c8505ffb4b408bca65cca4ab50d541426d59d90eaacfa8cdde4db14fca212b8224a5123ee4cd5c45239bba02a03421d2d18f1b3e5d263af4d304693f14cb65acb8e3313d41d4b55674bb61df20eadfdb7186d69fd159db15d8d0aeaf082776dc1537127fe18b2848ec92f1517b1b2eb774e55b44757e0a32e52aa58d4b37782497c18b339e53dc557defab1f4f87bc21fc9ec6f58c9fe1db4436e67e1f1c26cf1561758ab008cad276c64171883b1e23ec61d7e0a8ea0e4f6c429b1d5b7d9360765d1879278be78cda617e9a3797878b58ca1405183f172cfa2f26f5f8835bfd62755dd5931b86e40e688fbbea42beecabbc5c72f5115a90eda19db2711426f8ab75e4cd1f3b77459d11d15dbbca7355e906be1b4170a9cc33b9ccadbb76d55842c8dfeb399312464b5ae00c09e6f6d0c162c35ad83fa3fa4693bee46f94b957a61a95caab33bc685e8e1cf831e0fa822a7560af39bbb6d6bd8e0894b1c78b349cdf771a585c35cd2158982c17c706a954971264667e9adf
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 113ce01df2a971f8edd6f135720557defebc0966
                       305f0fcd1d3898360f64be324a69da769ba1991f
                       c6aac890688818809b0a458f0e3d3321d401cfdb
                       467d384bf651e0b36fc661f8a5c5a0738d8fe1df
                       4c03c505736d89077484e5e6b7ccb5f5c3cdf3e2
                       a81f01e0f6665cdd53f4ad659cc120e246c63f4e
                       83ed5f97a87d7c8da5273845e5b84e2b58bcf67d
                       2483953fc7ccdb15f304762795583f3ddf101562
                       ddd4da20d2755948f34a89c3271cbe08fa4c9218
                       322c9c5bf2fa397f0cce96e879d8bb248b8daa10
                       e48373715f9519e0b7a458cc4540a5090c22ea67
                       7691418f1ddcede62acfc58059187d41c41b606a
                       03707948f4f399b5f008e6b06c788f71479fc016
                       a3833b3b751b610d7bf7862195df28aa05b820f2
                       d4edac238151ff466e1a76bbcda64cb3fe63ef88
                       2989553414a758437e1332c367bc4b63ca9cf8c5
                       366f739c5b1268e4ac68f180c40f6c4444b2392b
                       2b385d75fc2349ec204f3676176ff41bc1891caa
                       f53d3f86fe973d28262fc0d3aa0afe5f360741a7
                       1906cb86
       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 [62:24:79:0e:98:f3:37:83:8f:92:0f:ea:a0:dd:7c:35:8c:ff:6d:77]
            modulus: a098ff04c66b0e44d45aac6b82dcacbbdfcd6967db380d06108d6de3b71ceea00cfe64803a5cf457cfc183f5e3c352148e8daf9a47e4ee0e4c502f1af8a80bd1cd67326d8f125408b2653d2c815d6445cb22f2dc0e9e54262cfe28f37e484a30e553ad3f6048811d7f178ee99e570fa7556dcd3e450612909e60e0676b82da9f239dc38c969c901a44ad9561b9d421bb94a435b0ad3f728aa92fc4f4dbd08185b617af959b66736203041125cae1a0b8917107637b53ca04af66a45341a35aa0174fea7f998197e7042661bd2cc26909bdb4d4ee100c785f3208987c2b8efe1c63dcdb8af3eac320b908f744896c911f09a5dee9fab0aa86b162bcafe098b71f
    public exponent: 10001

]