Results

By type

          2022-03-05 03:06:42,257 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-05 03:06:43,186 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-05 03:06:43.948  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 05, 2022 3:06:45 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 05, 2022 3:06:45 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 05, 2022 3:06:45 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 05, 2022 3:06:45 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-05 03:06:46.517 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-05 03:06:46.804  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-05 03:06:46.971  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-05 03:06:47.636 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-05 03:06:47.639 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-03-05 03:06:47.640 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-05 03:06:47.644 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-05 03:06:47.684 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-05 03:06:47.688 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-05 03:06:47.809 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-05 03:06:48.394 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 05, 2022 3:06:49 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-05 03:06:49.316  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.821 seconds (JVM running for 9.641)
Mar 05, 2022 3:07:13 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-05 03:08:14.298  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-05 03:08:14.314 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-05 03:08:14.353 DEBUG 1 [nio-8443-exec-5] .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-05 03:08:14.356 DEBUG 1 [nio-8443-exec-5] .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-05 03:08:14.378  INFO 1 [nio-8443-exec-5] .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-05 03:08:14.380  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-05 03:08:14.381  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-05 03:08:14.383 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-05 03:08:14.384 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-05 03:08:14.388 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-05 03:08:14.394 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-05 03:08:14.397 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-05 03:08:14.434 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-05 03:08:14.439 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-05 03:08:14.439 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-05 03:08:14.443 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-05 03:08:15.086  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-05 03:08:15.089  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-05 03:08:15.089 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-05 03:08:15.091 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-05 03:08:15.102  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-05 03:08:15.103  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-05 03:08:15.104 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-05 03:08:15.104 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-05 03:08:15.105 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-05 03:08:15.117 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-05 03:08:15.117 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-05 03:08:15.118 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-05 03:08:15.124 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-05 03:08:15.125 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-05 03:08:15.125 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-05 03:08:15.127 DEBUG 1 [nio-8443-exec-5] 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-05 03:08:15.161 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 512333789329218184960632672972290616628503204865
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Mar 05 03:04:39 UTC 2022
           Final Date: Thu Mar 04 03:04:38 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [04:e0:f3:94:04:2b:29:4f:07:5c:14:01:27:c1:4e:2d:2b:3e:86:47]
            modulus: bdcab64e09697d74aa8703bc7ff3bb3918722932c6a29b01660599107c2fea20737f753e82a41d25caae35f49c98cb9c973cebccffb885caddb9b6c8b229d697c3085b8ecd231342a73ae620420137da0526c9f540934e2789d902f4ed139fd58e368e9923093037e0d35553f0c1ccb6b82e21afbbfcd5fcd27443d3ef23b5c390c4a7116ab564901f2d7ed57b90389a18711e83ab00e2455bed4d9987ec3db274ef4b6932cec7010bcb46fd0458a0a3e6464945f157089cd1ba80b60f5d77c12ac40e88de1a417d17ed780e6c757cf6964df6d3017e3a9bb4ad2fd319b9af32934e482004c56e27d3a81d164d6a39f5819d3185a87e2399921bba24a29fa767224c05beb16c30ba44c705bc5dd1226213522c099f02d0a408e8c6c053fb14485c3b99ea7ecb672223c1dcdfe63115254289fbd8083ecb985f16f4250a1d690d687475b0268bed2f906aa28c1e7ae6894aaae1b69e5653bd9db9622007f3671e6baae15621426e74a7f4db668ded1a40d07549c5e6202212caad620612e5dc17
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 3843ab91a2d5316d87ab47ef57e976e2b72159aa
                       68ac4efdacfd58dd5a2da25401fb6679f1b12830
                       61f45127c9a395a0bb4aaca3db8c543ede0b3616
                       be9c64e885f4fabd018406ff1095b3483c1fbbb9
                       ab0fca7f88e21f2f507e58ce6e60c650159f8314
                       297838b171a004d7378ee347fe02182b8fb85d20
                       44ca2ada90a0f9912ef9817ee74c8899b8e400d4
                       ee85dd0ceb16b86809eb3752e674bdcd619fe40e
                       f4e351260d48f8b021184ead35e9df5e28e5c108
                       136c5076ae7ecbde1782e4dd98c3290763fd22d2
                       615009696357bb48f4d3ee5b4b36385a8d93bcc0
                       d6516da05cdc6321ba77df50fd0cf46be86eef6a
                       61448254fd94cb398a3eae2f570c5e708c2d479d
                       3a0762d491d74388a20e8b42838454d6b7074329
                       9b4fb7003fded8e355ca2c86a97adfe132453424
                       c892bfe56349cab18cd17fab6860c6f5adbcd600
                       900f2b8dd51d4f9d41b70a7e1dfd6084241cff7e
                       630814e62fc65fae42e1184b0f82d0f3978a0b3f
                       2a04bf540ed34897ae372492c4fed19084c5527d
                       b4d23f54
       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 [5b:fd:86:b2:d0:86:a0:82:6c:fc:ae:fe:b6:37:e8:db:1a:83:42:98]
            modulus: aa1add1c66b0ec64db5c26c5717282ff1e688245a6352ec2ea1ddbaec3309dec7dd265b1da73645e72855f98a1e59b4cb05b0011439e5aa7fd6a794c2067d8ddd11d2c27b2e359cf31f4a71824aad2ce6fbaaabbb61a23a3056299029c0e2ba38aed2587dd0f7ff0ea3222e9b90829ac9af3e84001808a4239873a943a881e3e0d7032cb6608ca824531374c5c36c839f16a9f384f55e1140ef942b0dc8c2072483c02095ca7e4e9a61513f5263dd90e44c8ddf185ab6c40938581e09bd994190b770fb54626150e0ddcef0e9e4cb3cc7730495ca22bbe2fa9c87de5976006dfe6c18ef86293314087ee51d15954763406a3858aacb5ab298ca40eae61f46335
    public exponent: 10001

]