Results

By type

          2022-04-11 02:59:57,430 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-11 02:59:58,458 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-11 02:59:59.215  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 11, 2022 3:00:01 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 11, 2022 3:00:01 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 11, 2022 3:00:01 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 11, 2022 3:00:01 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-11 03:00:01.634 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-11 03:00:01.908  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-11 03:00:02.054  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-11 03:00:02.725 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-11 03:00:02.728 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-04-11 03:00:02.729 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-11 03:00:02.736 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-11 03:00:02.781 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-11 03:00:02.784 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-11 03:00:02.909 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-11 03:00:03.503 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 11, 2022 3:00:04 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-11 03:00:04.520  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.908 seconds (JVM running for 9.677)
Apr 11, 2022 3:00:30 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-11 03:01:35.312  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-11 03:01:35.320 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-11 03:01:35.362 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-04-11 03:01:35.366 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-04-11 03:01:35.383  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-04-11 03:01:35.385  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-11 03:01:35.386  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-11 03:01:35.388 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-11 03:01:35.388 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-11 03:01:35.392 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-11 03:01:35.398 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-11 03:01:35.401 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-11 03:01:35.434 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-11 03:01:35.438 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-11 03:01:35.439 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-11 03:01:35.442 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-11 03:01:35.924  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-11 03:01:35.926  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-11 03:01:35.926 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-11 03:01:35.928 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-11 03:01:35.937  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-11 03:01:35.937  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-11 03:01:35.938 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-04-11 03:01:35.939 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-11 03:01:35.939 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-11 03:01:35.950 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-04-11 03:01:35.950 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-11 03:01:35.951 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-11 03:01:35.956 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-04-11 03:01:35.957 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-11 03:01:35.957 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-11 03:01:35.959 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-04-11 03:01:35.985 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: 72410966121742260375288996484795247935968840270
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Apr 11 02:57:51 UTC 2022
           Final Date: Sat Apr 10 02:57:50 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [6c:1f:e6:8f:65:b1:a3:31:ce:9d:90:7d:56:cf:5f:e2:63:d8:be:97]
            modulus: b11c5dd8194f9453ed7155d2a4233629d1ab6e6c54f919549e31f3a9b8992071c5b39e1d7bf89f88da6a89cd1716327297ddfb3b46456f7676469b6d5cabb2cee4a60652c3ade54da707062112fb1e6113688a440eaac5b5113d3292e521a202d29a5d6e893f84b6cf2251957d56c4862e6594313a4529134586f36f8d9e49bb4298d2605b1664bed886d60e2c0db4100c39d20a6fb241d7065a6daf48ded37ea4a014e7cac0595cd52796c4c9406845954411efabc544dc8b78c15ac041fe549c0deb733fa07414698ee259b3e390057b47970f2f73fc8bbe9e73538e5c2e9c6a9ed939d4dc21fdf3992317eb7b6efdd9b4cd43742a14326292e33fcf919bec6142ad8211e30c530907fc1cd12345c5532b3dc5692efb0961e1e5d4d8b670b8d0913241cc9b5618109bec26cf779412432c278a3517d23f7f5a4280063b94b03a23ffe82b8e0c35ff914d0257249e96463347f50a24045dee0ca5ac5663c3d7f57b25d7a4b673467c7e8a8674552d13b6cb0f77fb257c87004db89a7c4a0bc1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 840a5f1a5e389df0cde8b9ab4e8d854103c383a0
                       fc9dff134ce99fd63e8911dff862c213f4c77a5e
                       15ff01e2c8915747be9d02a1868110e60062de15
                       716f419386650e7bdc18cefa53e6b8b260458c1b
                       bf6ee810fb5342bb15639c3f163bb4ca3dfbceb3
                       322b7e6e1edb28dc94472424d48e6132a70fc4c6
                       381ebc5e9809422e4bfccc0376771247e895791f
                       a1ff7055e07b3ca619da96eff4f2898e0976977d
                       499fd7e11b924e632da124d393615bf2b161873e
                       9a4f771b43784f56b601e36430d9a7759e47d77d
                       4f6c0e5f84b424da42ebabeb90978a0a1d187221
                       4fed30a7695e01f8684709500f5b0c70df4f2a68
                       259137ca01ab10348f42b05b7fb89cd29945f1d0
                       214322e73d03c32dfc11d6e864725802392ac086
                       a36b4ee266e1204b5950c076956c0d81ec21d914
                       c0688323fd19129c241ebbd4f0549354f75ea8f2
                       f6c481d8259fb9dda4f4c0809f88b1d817db05a3
                       d0489beb41fd1672adde12e061eed235219a7054
                       ffc16c07bded91e19409409d15879cad0c6259d2
                       8f0376e5
       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 [da:dd:37:5f:58:a4:d2:54:f6:94:27:5e:70:d7:9a:4e:bc:63:e5:17]
            modulus: e9a663a12ed3eaa79d36cfa947841ab2cdd42c15159fb69938ae37328da65158ef4fd7590e8664019a7f9d7276be5109f7552d457b031b05b8fa4952ff2055482f6f8af2f4ebd3bda615378f9b9f515d52ddbb14a40393d692f77c0c15afe5571dd5af1a636645f818e768fe7a2728d635946d3376cc64ac0e4064dcfd2684d31f2d0c09ff2771a22b8b86dd303e277ffda202255be50e2bcd16d7d45e2ed6329deb5e01ee4314ec8b4eba66863871ec8b75c8e69cd3fee9b0bc33a0d0d6025a38d552a3220496b5329d1acba2ac727e27748885bc0baaee4112d24de1e5be67766169db6811cab1c4464a43150fa328980c81830c9abdd140a8752d9f4f062b
    public exponent: 10001

]