Results

By type

          2022-03-11 12:15:47,689 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-03-11 12:15:48,474 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-03-11 12:15:49.130  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 11, 2022 12:15:50 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 11, 2022 12:15:50 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 11, 2022 12:15:50 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 11, 2022 12:15:50 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-11 12:15:51.109 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-11 12:15:51.347  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-11 12:15:51.487  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-03-11 12:15:52.054 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-11 12:15:52.056 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-03-11 12:15:52.057 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-11 12:15:52.060 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-03-11 12:15:52.095 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
2022-03-11 12:15:52.097 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-03-11 12:15:52.197 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-11 12:15:52.731 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/]]}
Mar 11, 2022 12:15:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-11 12:15:53.488  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.372 seconds (JVM running for 7.695)
Mar 11, 2022 12:16:23 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-11 12:16:42.777  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-11 12:16:42.785 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-11 12:16:42.818 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-03-11 12:16:42.821 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-03-11 12:16:42.834  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-03-11 12:16:42.836  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-11 12:16:42.837  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-11 12:16:42.838 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-11 12:16:42.839 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-11 12:16:42.842 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-11 12:16:42.847 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-11 12:16:42.850 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-11 12:16:42.887 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-11 12:16:42.892 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-11 12:16:42.893 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-11 12:16:42.896 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-11 12:16:43.417  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-11 12:16:43.419  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-11 12:16:43.420 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-11 12:16:43.421 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-11 12:16:43.429  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-11 12:16:43.430  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-11 12:16:43.430 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-03-11 12:16:43.431 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-11 12:16:43.431 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-11 12:16:43.441 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-03-11 12:16:43.441 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-11 12:16:43.441 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-11 12:16:43.446 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-03-11 12:16:43.446 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-11 12:16:43.447 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-11 12:16:43.448 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-03-11 12:16:43.472 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: 62607774000848164997561604265401079240441777061
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Mar 11 12:13:09 UTC 2022
           Final Date: Wed Mar 10 12:13:08 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d6:4a:e9:bf:45:72:a8:88:bb:81:8b:a6:f9:af:a0:7e:18:1a:0d:e7]
            modulus: a2551f214ef52dcc04335713d94c9bbe20ee522b3ccbfab6307bcd2ce43f2c542537c23b451c1b3b93cc9a3d2991ea1fbfa1ec971952e8c584c332dda6befebc0ff0546b6328fb17db66026c15bc5eba16b9515e61d0ba0a10276323dbff767492621f342989e8a44804ac157646d2e749473214e853afb39b165762063ed4139398f913a7c1b0dcbc084f1956dc8b64caf23507a47b30c8dadef38c4fd9f148a45ba2775d658184344e5c7cff3f7a48b281c45b8dd9fbd5af4caa6f9be59ec704a7719ec142eb335be02eb4cfbf8f4a25a838fce2f7e74aef226744b8d9d5e81445b176d0ed611b1a3ddeb4142512acc652e0dbd1649343a1d4efb5c3863fd1d26067d12531c326167373cc62eafe9a0fdbc3e2c0fa7dcc8839006b438b671874f5637069ae201f43e79e2c0f6f1cc0577728616285fe900305ac31c10839ec0738568141959d5e49b8f43d04d8721a7450e62b0aca3000df63f475d1597af2564b9057c04591ce01b0b4d6baaa6eac7c1b3d47d9123ffad78cd2590329b0d1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 65c59c1d595189dbec74ce2d5a16b047b33e5bb0
                       6e2b992eacb3bf7e5c50ab2e2a515f966b35e07b
                       0a18d763863f149616645aa97a3276b9ac4074d4
                       817b7f427c1750914afc00789af1c600f77f6ae1
                       be3f1c0e4a7b006ef561880d41816e0b7ad6652c
                       3cac9044fd8bafadcf6f7374c632f38407aecb69
                       03f3b81811b01cff19d0350b69b1872050fdd738
                       3fb5222f76dcbb8c07f085e42cbe9c6ad2de1133
                       c1e856e4f44127b3c8c329b3d348d6fa145c8e7b
                       6c1c33249071be3a5648913d45ca4458b23b47f1
                       aceafda91788ad550d4634a072c9bd77c52cec9d
                       1c69418dba0dfc4dffbc600be5196abed3f18e3c
                       a71e4936f6de007d05fa52de9afac8768141a1e8
                       9c24e834ccccb4d01b018b61721b41e65b354379
                       71eeb834aa0f22e88f212074a2b245d5e53ddfb9
                       d1f3212a1a4e2b23eded94acc9f675c99725fe49
                       806d7a2b750b94dd4d7fb1392c772be21fe5a807
                       6f0c59f157376d6f2b23f2b0b99aff77a3d5cecd
                       7756b18deca3814b4acb48ec77e8fd7b025bd214
                       97976e44
       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 [0c:4d:f3:31:4b:42:fe:dc:7a:38:70:9d:a8:fd:59:31:22:06:a0:5c]
            modulus: cfe4d0bd31dde0c0c733f1f3e21f6d9c102abeab08610f90b0cfaafff567c737f40429151edc8ead174fe9b12dbf5bdc1a14fff03435af94a085fa5aec0da893bb396d082be5c9fe26554372d180167ca1a8882b0bf3fcd959079fb64c8a1317fcae7cbf48b2bdd20b4e3649c1d032c974840286cf958057883027994ac7b3db423c8e389cb50a9d67bcecbe33ef571517121fcfd5edfe2a6377cc8ced7fa66c533a95d646f9ac7ccf92787b7044f2fa0c3666e09790ac2448b3c9695dc1e7796cabe5b0dd6bd946d8798b9e2ee2fc1a8606e15167f273d795b9b2f5c79af14c2678ffb5457f397d0113da234544aaeb8bd405e49661780c938858e00c1696a5
    public exponent: 10001

]