Results

By type

          2022-03-03 23:26:08,762 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-03 23:26:09,544 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-03 23:26:10.161  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 03, 2022 11:26:11 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 03, 2022 11:26:11 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 03, 2022 11:26:11 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 03, 2022 11:26:11 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-03 23:26:12.131 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-03 23:26:12.378  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-03 23:26:12.506  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-03 23:26:13.076 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-03 23:26:13.078 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-03 23:26:13.079 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-03 23:26:13.082 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-03 23:26:13.117 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-03-03 23:26:13.120 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-03-03 23:26:13.211 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-03 23:26:13.702 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 03, 2022 11:26:14 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-03 23:26:14.480  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.308 seconds (JVM running for 7.649)
Mar 03, 2022 11:26:45 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-03 23:26:53.062  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-03 23:26:53.070 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-03 23:26:53.110 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-03-03 23:26:53.114 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-03-03 23:26:53.136  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-03-03 23:26:53.138  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-03 23:26:53.138  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-03 23:26:53.139 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-03 23:26:53.140 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-03 23:26:53.142 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-03 23:26:53.147 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-03 23:26:53.149 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-03 23:26:53.194 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-03 23:26:53.199 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-03 23:26:53.199 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-03 23:26:53.202 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-03 23:26:53.703  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-03 23:26:53.705  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-03 23:26:53.705 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-03 23:26:53.707 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-03 23:26:53.714  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-03 23:26:53.715  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-03 23:26:53.716 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-03-03 23:26:53.716 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-03 23:26:53.716 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-03 23:26:53.726 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-03-03 23:26:53.726 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-03 23:26:53.726 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-03 23:26:53.732 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-03-03 23:26:53.732 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-03 23:26:53.732 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-03 23:26:53.733 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-03-03 23:26:53.758 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: 541730981746789841064693442870372427054765451279
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Mar 03 23:24:23 UTC 2022
           Final Date: Tue Mar 02 23:24:22 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [26:75:81:cb:a4:65:a5:99:1e:ad:b7:17:24:b5:e5:a0:71:f1:bc:58]
            modulus: cce375547cda8a24056331e4c68a1a109654777008f2723dea8a6ef86ac440d23487143ed6d42d67a516bd52768b3290a50068ef168121461c20c12397098e8eda6d8c4ff1deae2564e349cf115c099bb6973c0be7b99f51881c0575ad479958f6102a950188f8b4635431d0ea9e13d273b8499097e91df62f7b13ea51423b9ad6cb04bae9b1ae572e813e78c132d4edf8db06dc62ca29627b8d4ace92598db4041656afbb435367a30b0b5e9faa35646bd0dad54250ee4642a9ac79879e2bfc23946daf816905a660c434f700bb1e021a32da6959e105fefc3a4c25d2f81252ce8081308fe3c1177aea8cfe2439f24bfda208c7143b3d78ebac5377e4802709ed3190d24cb3c7687cf9aefdf07099ab23b4c54f6d2a480277adaddbad712d5cf42f411a51f984fd8f99dfe7ed51e003d6320f26f79b06039d3cc84288030b72666182a2095f136e0fe7b78307d9d1958e966caf9ba331503b66edec58bcec145b9653cf55f98fe71a6bf4db56bb786e7e99b132243f4f4caabc464dc7d1d6e3
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: cb4ab09ceac1abddea98a9dd89c90ed6d123a81d
                       8c63322c1240bee03bc049e5bd8c0bf345203fe0
                       4d437ca5cf085ece7252851b0d6d58361b0da753
                       6b38c22260e46dfe527b7122e0f100b8dc779c93
                       ee866c9fa8ae59a361ec8835e26861a6bdc96e27
                       01144bc9186d11657730cf282f27c054badebe23
                       d876101723218d5fdf36cd10b1105b3fa09231d5
                       169d6ded7b71ee98b39ffb64f5ff3f6de7a6e6bc
                       fa6da02965458e6c9e0420fd17a0ef0174058b25
                       34c9c98af2cb1362d80eef6578d5d673c10d097e
                       f97116951eefc2cf20591a6e2017403eff6adffb
                       80c61704909cf49772427553ffec7ae230ab4bbf
                       c38a0eb4511d025c7c9029bab82be097498076a1
                       85752acb94833d7d6e1273ea2a8fb7a22037d21e
                       925569398da8fbc6c2d697e65b91e46ac2a93eba
                       16667fa9e175b259aeba8ef9e3460cc686b8225e
                       fbc594c6a5704aaa993c2868a24f09da02b0f6b7
                       a26bbbcfa4bc9067492b4908973e9bdbf688c96c
                       0d2ce2a8d5526ab005930d570a99f7b4b5825167
                       8e80c550
       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 [f9:98:cd:c3:d9:3e:70:d7:4d:26:b4:a9:2a:4d:1c:ba:f3:06:58:eb]
            modulus: cb279f323fe2d37081fb4afc1d3d073be40e3d48f42f3a348debc3c100a9fed2f995ba9fcaf63ebbb9e07fd13f00629bcb7a92253be406d263607044888ae7a4dc00dc24db02af9a85d8615bda9626aaf3504401350f5b44751f3ac090e324aca60ef6c90c64a898e2f160ddf9d07d67c24852cd5912fa281cbf529cf3fe95f6acdda1cf962ee4cfc8685a70c85f09ec921abaf7a841ddb558a794462ef713806f123a5349f3ee13462b6d9b25d91644adfb757ef5aaa140dbddae87c4593bcbd51c2adbfed1989efa99e6b4939d2c5cb1a8c10554d3b9e4673f30433cafbc27b8a5dd87f2c4e19e024605fb7cc3835c83d6e29b3e5a1b53f958f564aad83ae1
    public exponent: 10001

]