Results

By type

          2022-04-14 01:39:48,362 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 01:39:52,963 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 01:39:56.349  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 14, 2022 1:40:06 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 14, 2022 1:40:06 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 14, 2022 1:40:06 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 14, 2022 1:40:06 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-14 01:40:08.758 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-14 01:40:10.855  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-14 01:40:11.552  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 01:40:14.746 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-14 01:40:14.749 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 01:40:14.751 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-14 01:40:14.754 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 01:40:14.946 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-14 01:40:14.948 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-04-14 01:40:15.546 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-14 01:40:20.452 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 1:40:23 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-14 01:40:24.857  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 40.008 seconds (JVM running for 47.838)
Apr 14, 2022 1:40:31 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-14 01:41:13.452  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-14 01:41:13.459 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-14 01:41:13.659 DEBUG 1 [nio-8443-exec-4] .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 01:41:13.662 DEBUG 1 [nio-8443-exec-4] .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 01:41:13.754  INFO 1 [nio-8443-exec-4] .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 01:41:13.757  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-14 01:41:13.758  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-14 01:41:13.759 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-14 01:41:13.759 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-14 01:41:13.762 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-14 01:41:13.849 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-14 01:41:13.853 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-14 01:41:14.048 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-14 01:41:14.054 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-14 01:41:14.054 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-14 01:41:14.058 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-14 01:41:16.088  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-14 01:41:16.090  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-14 01:41:16.091 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-14 01:41:16.092 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-14 01:41:16.099  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-14 01:41:16.100  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-14 01:41:16.100 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-14 01:41:16.101 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-14 01:41:16.101 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-14 01:41:16.157 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-14 01:41:16.158 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-14 01:41:16.158 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-14 01:41:16.247 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-14 01:41:16.248 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-14 01:41:16.249 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-14 01:41:16.252 DEBUG 1 [nio-8443-exec-4] 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 01:41:16.363 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 37929177415358048271768769869015336451881170269
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Apr 14 01:36:59 UTC 2022
           Final Date: Tue Apr 13 01:36:58 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [b2:fa:4b:93:0c:8f:85:c9:1e:4b:5b:ab:1b:9a:20:78:03:e4:1d:98]
            modulus: fe3c08d9057cef2853af0ccf6b63b64e45133e52ca336bd81d6f54a718b84ea5f3bb7b3ac80e858e6d632c445bfe63ca19e668739a7d9d275decace07875f3496ebe5023493fc2f82ef006ba1cee59bf97cafe70e310859fb724f359f19c8c25a5036ce079c794ff5ad2e0fa156a5710e50e9988f208a78de610bf385becf89845ce8f7a539ee9e28e700fef087810f6d988c2cda7c5c26e58609ae60aa3a311600a7d974876b6b4b71b5dde104a60b725781a2141d2843b4dd0aed0c43724dcde35f900735cac936729cd202bc33b834ee6180456a78f516f6da2f6fe04cad3596c236a7380118bd1f66252541e3d83d3a72a0ff05ca7bb9c75eb448b68aacad34f6d62f120803a1e26e6397511ac8efb9cce965786c159e93b724d39234618362909be769f739c933257a9f331f23ee8f3a0f32c69f9883b522050c2319a27ba9651d265f8b81186c401644811d96fbf9392c8289a72c69f706631502b888ad4087edeacd373d764b2fe958e48e98f17137809f446da1f919f50ae77dc619f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: e0bf82b246d22712262aed5c692d8741ff60197f
                       f6edbd443a464da7c1a2c65519549022ebe671bd
                       893bd667315ea09d49f5c95e9b8ae4cc62950605
                       e369ba89cab016d4a5a3686e6edf76d38b28db25
                       6f433abfbeedba1850fdcdd0c4ee162c2b677075
                       be055f475ea4a8f94f74e6806203409dde45d736
                       cba43d5691ba0e20805553453294481820c91eb4
                       8085020bf6c9f675bb03ba335f458e933f10dbab
                       fbe3fd41a52dcd8f104390dc1a0184fa50799ca1
                       240409f80a0b5b11dbed5b48ee654af4c993d2de
                       459e9e0c0cc754e5b71e1cfd0de87421298e6094
                       172a0db642e2f6c04a42b6a6c3c639c0a08b3509
                       978ca657fbe5c76a5ff1205383e83aea856a0cd8
                       88a47f7ee7b9e52709462a534a9b53db43a763a9
                       81c9910b0ffb9789c2c5ee3caf89782d7a37c22d
                       da8f97164c225603857c259fd6fb2c661cffd035
                       eff64754fb1e6b7b383413d7b4b08335ce3c8977
                       6350ee56a2cc0fc549dd760d9d6f5c51cf71f862
                       c514f3fa8404c54d135fda047b9f4931050b9c81
                       fbb467c4
       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 [14:92:0d:47:5c:64:81:d8:cb:ec:a4:df:c0:25:34:fe:bf:68:eb:54]
            modulus: bd4c4db6a655fc6a96f601e96b6bd10a0135244f35d4b507d8a964db2492ffaf6115b363218234420b818e64541e308a1c1f13f1634b640f4bfa7eafeca74ccfc48c0fe340799a78e2b8936fb4b223d498b77ae4af27a970aa093b36ef84019f9eff7104c663ca30643db66d32189ea34dba59dedafb565354d917a7b9dbc3b2004929912bc3e8fbff7397984117035881fd7dcdc0b66064558d449493f844b24fcad7576f9afdee232449f687e621e5796f349021571e1143d44d37a7cd994d28ee4b1610a297e40904abab1de843201fb20c0fea7590f148994721180582f40faa261a6322f725b65b6247c56e7283da8b60ae660d254e4c05a50d6774b1f3
    public exponent: 10001

]