Results

By type

          2022-06-24 02:36:05,714 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-06-24 02:36:10,519 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-06-24 02:36:14.104  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 24, 2022 2:36:24 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 24, 2022 2:36:24 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 24, 2022 2:36:24 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 24, 2022 2:36:25 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-24 02:36:27.223 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-24 02:36:28.799  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-24 02:36:29.512  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-06-24 02:36:33.110 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-24 02:36:33.114 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-06-24 02:36:33.115 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-24 02:36:33.118 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-06-24 02:36:33.312 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-06-24 02:36:33.315 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-06-24 02:36:33.910 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-24 02:36:38.608 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/]]}
Jun 24, 2022 2:36:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-24 02:36:43.201  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 41.488 seconds (JVM running for 49.74)
Jun 24, 2022 2:36:51 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-24 02:37:31.314  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-24 02:37:31.414 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-24 02:37:31.615 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-06-24 02:37:31.622 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-06-24 02:37:31.708  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-06-24 02:37:31.711  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-24 02:37:31.713  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-24 02:37:31.715 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-24 02:37:31.798 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-24 02:37:31.803 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-24 02:37:31.810 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-24 02:37:31.814 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-24 02:37:32.112 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-24 02:37:32.119 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-24 02:37:32.120 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-24 02:37:32.198 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-24 02:37:33.731  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-24 02:37:33.733  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-24 02:37:33.733 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-24 02:37:33.734 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-24 02:37:33.742  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-24 02:37:33.743  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-24 02:37:33.798 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-06-24 02:37:33.799 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-24 02:37:33.799 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-24 02:37:33.813 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-06-24 02:37:33.813 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-24 02:37:33.813 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-24 02:37:33.905 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-06-24 02:37:33.906 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-24 02:37:33.907 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-24 02:37:33.910 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-06-24 02:37:34.014 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: 77667466311180764875042489683341551453129899776
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Jun 24 02:22:57 UTC 2022
           Final Date: Wed Jun 23 02:22:56 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [1a:fa:ee:f9:ae:7d:df:af:90:c6:e4:db:3b:f2:7a:e3:ad:9e:92:31]
            modulus: 9d8a48762a226aada67dcf0e4ccfc89825ba3959a25b49b1f10a1ea4ce58e39bdecaebd9dbf81f773b63f10697eab4e8c17111f28813fb664d6407be00c2651499aa5b01c66ff591c2821d767b42e60a85ce10e91031b763484073ddde50dfac156f13a0722ee41c7ff67db209f69cdde90476254b5bb3631e48d822f6f31e023d2feaa67059ab41c67436b3e7a3d73d664b7006191b4358f66a1d2800b99da5efb74646211a858c4ca456cc73346a3ea7c97991d4547a2604d8df8c404ac6df39b5edd8fc3719cbc20f014cfe8a9bfef8ca78c5fdc1844bd89e8efe86ec51f0edc2e171301ae55c3ef00686eae34924e99422643b47f8accd55945960196816d316a7be8c0b79241ca6065944a723ef5e0fc47b183c814e037cb6eb59b3a864d4e27c7c0155a49449f2e65d405faeaba22ef7100580306c45d65454f49e48de025ba748e9b7493c8febe24d63361c9731290516af2255feed900e758f260d78153766d85e38598eb54f4415c857af2db8536a94b7c7cd2da3fd28ca6a969607
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 12f07ad12f547f85d767ba6e600550e2dcdf8519
                       f7b5dde1a57aff4002fb03ba121665b82ce324b2
                       1d3821fc61688cbc86a9833c394aa8196be130aa
                       e2595966378fb961b71e9b40595c4f12b9f5ac49
                       1f7a3c9d73e0d91506b9ff9705c7e65a5ef45d23
                       bc5d30349df3a1acfaefbba7e94cc718afe62703
                       ea63bd21a9e51b32120572b1dd02ca972c8f064d
                       9650bd100e9541b447ec6670fd08d98aeb3350be
                       23504a9d3adfe1f675e4410b1591e85976f95099
                       2cf193d5b63904e436d119892dd0e747b103c4b3
                       7ed1262317068d20d7cbcc1f99d98b64b69bab9b
                       54666fbf992cce7e4c33f14030777091ed98c754
                       33543c4c9eb0ba88cabb2e3ed7f7656ae642fccb
                       22a9b1c434a9cac3e9127e33ed2902a169865135
                       fc7a3c213bd6624229b91c4686bf6b8a751394fc
                       0d37edd39458e2442055eda9de954b42abcace81
                       c8c0321d83cf4e1caf144964e755271d6cfa2a70
                       f2e002afdee505aca9b6f78db9732929afc88ed9
                       4f84c175315845bd49c649bffbba86c8b5bd7cab
                       3efdf34e
       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 [21:9e:23:a7:ea:21:36:9d:84:96:d8:ea:0e:f0:e8:23:5d:fa:f3:94]
            modulus: fdda6f4522e7cccc49a44b35aefb71e146c56aeb3415a8507a774aa42314527f4c00c1847910276d39f7083096dca4d7f85558412df5ddd9431812c70fd00de8c952a980141830519fa0cb50bdc7276a038bcad1540ffa049c4adfd2371207bd25db36b0fce4cd87c5a4b0f83ca9cfa47a99f3100b1d0d12d277c0f013422d3f62c62494b708023f5b4dfd4bcf9edfbc95c20b9f067f614943a66fd3b329a6f009f838731355e73444d1fd78402f6de7f89da6713cc3e72442c0f542255093d883a4388521be830c987a777b8ad3e3276b407b8ac8769de728c8ead7c42cd1d1007b771749afe593148a7c2ffd6f0e58c8bacc08cc276cc76a53bc1a561a0c2f
    public exponent: 10001

]