Results

By type

          2022-05-28 03:06:01,282 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-05-28 03:06:02,031 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-05-28 03:06:02.738  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
May 28, 2022 3:06:04 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
May 28, 2022 3:06:04 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 28, 2022 3:06:04 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
May 28, 2022 3:06:04 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-05-28 03:06:04.631 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-05-28 03:06:04.823  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-05-28 03:06:04.934  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-05-28 03:06:05.513 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-05-28 03:06:05.515 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-05-28 03:06:05.516 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-05-28 03:06:05.518 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-05-28 03:06:05.545 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-05-28 03:06:05.548 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-05-28 03:06:05.640 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-05-28 03:06:06.131 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/]]}
May 28, 2022 3:06:06 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-05-28 03:06:06.874  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.227 seconds (JVM running for 7.48)
May 28, 2022 3:06:30 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-05-28 03:06:43.763  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-05-28 03:06:43.770 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-05-28 03:06:43.807 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-05-28 03:06:43.810 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-05-28 03:06:43.825  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-05-28 03:06:43.828  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-05-28 03:06:43.829  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-05-28 03:06:43.831 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-28 03:06:43.831 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-28 03:06:43.834 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-28 03:06:43.841 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-05-28 03:06:43.845 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-05-28 03:06:43.873 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-05-28 03:06:43.878 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-28 03:06:43.879 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-28 03:06:43.881 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-28 03:06:49.835  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-05-28 03:06:49.838  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-05-28 03:06:49.838 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-05-28 03:06:49.839 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-28 03:06:49.846  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-05-28 03:06:49.847  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-05-28 03:06:49.848 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-05-28 03:06:49.848 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-28 03:06:49.848 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-28 03:06:49.874 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-05-28 03:06:49.875 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-28 03:06:49.875 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-28 03:06:49.882 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-05-28 03:06:49.883 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-28 03:06:49.883 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-28 03:06:49.885 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-05-28 03:06:49.916 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: 20346381152973336321103922375373899448416254695
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat May 28 03:03:40 UTC 2022
           Final Date: Thu May 27 03:03:39 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d5:2b:96:65:59:cc:0c:5f:59:6f:1d:6f:d6:9e:d2:18:c0:75:02:44]
            modulus: a29227f36251d152a9aa32c739333d4422f3794c87c5d425093e15c214535b129c562cfe4355cc7b1381c1b5b6368a3bc316806739927d3031dc2297a538fdd49e300a0addfa8944f0d30717f25c4cadc26870d1b1f7c8ef8a8f5bbbc1353671b07704386cf0ec517463a92182b4d144d84788b62c1a1c9a505e9c2114eb182ee5a16d5d3fee7c097a7cdf308e7ce7581b64cc847be747cbef0fc3190ea3fc6673e757413fa32d949fa2e8e043600aeac0b95489a089277eba6d2366ffeee96a6dd07c1c1be75288c05597ce302d24582e527826ec093526dfdff3d0081532036fd5d66d3a86890fc77765f5561788a1b623b514b28606909eb3d9170f681403d6a21ae62fe78666b77f5e5ce27fbd50ffdb9721aa52d4332ea70c97a2ce3b61286543598dcf31b2a88e445d4f6f5c9036da9c5cae84191278fb65efc71891df8e4832209faaece4b168aadd52922f233f62ba297f68d594df38e4b3af30d6eba4c5d5a8f8d8448b5c62ae3690ac0c7a70a04a458d9412adc19d377cf93fae65
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 0da84acd9a239325dc04566ad600f8d663c9b073
                       54ffae1be466e7d471d601dbb6bbbe555dfdbedb
                       7ee4d5b1b3616e27a606965053ef37d1b133bc6f
                       962365dbcb92e5aad28cbcf01d4623e83fc54581
                       6cbc810b762fa85bff4c10a0a33d1d980d61171c
                       8b631d82f5369fb091907bb9f407e6f23a899943
                       15cab8b7b0479f9c712da2c2698e9d40e54ac427
                       e9f58c12b97ef5e8d9977ff9a4a9847fd6a2b99a
                       da827115b00683479da34d1a0f0ae178efe959ee
                       68ad9f53bac3b312ab0c1cabc9a46fd03a0924c2
                       0a96962151b8e8e74cd16ca8c614f59048313fed
                       d844bb57ce52988c6643bf69079ec772fbacfe5e
                       67d7b867f78692dff87c7525f269d3a57a73bbce
                       c9f7c72b9062c0df68781dfad92d36f5448252cb
                       67c2bad05bcc7c9d792ca9ebf952cb9ba83590d3
                       140350a99cc66df20c6f9557801c10333e78d496
                       7a0ce182a10e67d8804c8149eed54c5beabc7a21
                       de3bc852188d6fec0d19f91f5845e442cbb9f68b
                       3feb632a2adff32716ad72305b0034fa9051fe96
                       06321365
       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 [44:8d:b5:5b:79:a1:15:31:c9:c0:2e:5c:ae:a2:26:3d:fe:39:4c:2b]
            modulus: ab3c85f3b2c18abce4c2762fe9431ca686439e9d0d8e851b8c5933e8cadaa5f7e89842b091e710013c55827199f81c594c44b71db764e7a3496c31873d0eed0db8426178d5ca0afbb057fcf6fe3855ea5a0cecae1c457e3894d8b2e9b457fddc80ddcfd29f75451a96cc947f668061c4eea2c4581848731d260596c379d7e9516f66c15bc2361254c920180bea3f06c7fc65f5c57182c9cb90e8b12c62dac774723df87fa26884efd9094039c1fce56708878e91960530e2fc0984068665ac61bad46228d858180f80537cbaad05e9192c66fd0ba51e3849ef982a5f8c26cfeea5d7d686c2e312add3abf2a206e1a24d9ca48a660a8bd7309274bb076fab26e5
    public exponent: 10001

]