Results

By type

          2022-08-22 08:41:20,426 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-08-22 08:41:21,384 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-08-22 08:41:22.175  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Aug 22, 2022 8:41:24 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Aug 22, 2022 8:41:24 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Aug 22, 2022 8:41:24 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Aug 22, 2022 8:41:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-08-22 08:41:25.190 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-08-22 08:41:25.511  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-08-22 08:41:25.722  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-08-22 08:41:26.493 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-08-22 08:41:26.496 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-08-22 08:41:26.498 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-08-22 08:41:26.502 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-08-22 08:41:26.544 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-08-22 08:41:26.549 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-08-22 08:41:26.706 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-08-22 08:41:27.315 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/]]}
Aug 22, 2022 8:41:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-08-22 08:41:28.392  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.975 seconds (JVM running for 11.105)
Aug 22, 2022 8:41:50 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-08-22 08:42:11.321  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-08-22 08:42:11.329 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-08-22 08:42:11.379 DEBUG 1 [nio-8443-exec-9] .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-08-22 08:42:11.383 DEBUG 1 [nio-8443-exec-9] .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-08-22 08:42:11.407  INFO 1 [nio-8443-exec-9] .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-08-22 08:42:11.410  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-08-22 08:42:11.411  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-08-22 08:42:11.413 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-22 08:42:11.413 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-22 08:42:11.417 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-22 08:42:11.424 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-08-22 08:42:11.427 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-08-22 08:42:11.473 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-08-22 08:42:11.480 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-22 08:42:11.482 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-22 08:42:11.486 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-22 08:42:12.178  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-08-22 08:42:12.182  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-08-22 08:42:12.183 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-08-22 08:42:12.185 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-22 08:42:12.197  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-08-22 08:42:12.199  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-08-22 08:42:12.200 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-22 08:42:12.201 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-22 08:42:12.202 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-22 08:42:12.214 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-22 08:42:12.215 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-22 08:42:12.215 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-22 08:42:12.222 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-22 08:42:12.222 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-22 08:42:12.223 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-22 08:42:12.224 DEBUG 1 [nio-8443-exec-9] 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-08-22 08:42:12.253 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 52063732267904973621947115926180003274772673339
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Aug 22 08:39:05 UTC 2022
           Final Date: Sat Aug 21 08:39:04 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [c5:19:9a:7d:03:7e:d2:f1:ad:1c:db:af:c7:62:f2:46:79:79:06:e1]
            modulus: b99eaf1d1a37769dae9a800505aef8368845a33aa4c3fd3bdec29b6c10694b8a2c0096b993b307ed101e50c56ab170bbf9ff75a34ea005cd374c3d7f177f8931fdd19190e8791d34c6e857da2686a209fa545a5c01a18dd1edc234e7ab0b87a499dff716cdbe6a0fe09dccad3a56327562ead74d0b9d0ba12295909307219f3f909a8adc1a71a83dd6a65fed721616410401430da02a534b6d67c55440b4673f57bdaae38857b1b100042733be4f4bb3b922fee67c9d6815504f1a221395f98ab301b336e97a304cde2634b3a42320adcca1344d9183d872e981fffe9a3e69fce0a6f11662a1070e57d7349a2599924eee94a98b8d7b5cabeeac0dccc0c8ff145788485b9f90601f86892706b825a0e558145f364a4d2d8435a1ab319238cf6c45e8299ebf057ce170918073b75a99ae08609bc71402c6bad185e7c4f751fd1e3ce35f3834cc0330f071b6796c7d6fa173afa2c1e4e94cf530251d6f2f2a851955a021bdf8ccc03be1384892836f3da9f7d0064d08e14a4f183b4ef6dca9f481
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 30c26c57811c7c4f2c8c08f3cdced559f3a32f66
                       b1545e6da3b32b9b37a3a5233ddc575d6ccd7255
                       49dea8005c3b9b3229f860cffd9b3b37d54bb8db
                       caf2dfd103675c2fd9e363a18b3acc8fb37a30c9
                       9b199a8ff4677b5f3b14b8d2a6a7fa87a23c862b
                       4dab306806c622bebb18d9c6fd32f3dbfc083d8f
                       d41b7598fa02d1a225d0c3f6f38801bac01214b6
                       23b12ea710003a7f07b5ff1281dd6ff7b360b311
                       8c10e586237760123e700be4ac79c58b48a1f7e0
                       eaa0682c4bf366f76a7fbbefa1cde4fba6bb5464
                       a41c28d567757cc1a9d74de84190ebad286a43d4
                       ad8037f359fc80f1dc3821faec58dd8d45143d73
                       9d608730974fc27d160b322d38055d43df8ef647
                       6ae2f6c77ab4fbe72f6c81f9dc21016a6e9bec58
                       8ccbda6f435d589af2b5ecdc4634c8265fdd2af2
                       b1f6e4ca561a1cace82a0c965c40a69b9ff0201e
                       c8ebbcf6998c74b50429dac02e11808c2c2cd13d
                       b3376b5958f33ded20baee847a8eb988e3cc20e8
                       1d5dbd1c8c3f67d826c58f41477a72f7ff819908
                       9898975d
       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 [45:49:b3:01:8c:cd:1a:15:25:07:fb:67:85:8b:c4:90:e3:2a:4d:8d]
            modulus: e0194487c5a2cf2fe2cc028aff7e52d211f089f139903bcc142f7ffd01127e9d895bb09e69b5b701a16f922707164aef51dd985bc2bfba69e3f733f7d0bcc392a660c59b7d1fac5f7a47033c23a08b8d58f38177e7eeb03ea777aa7469111ce685170cfc06ee029894f51ec0cffaeb5d030901af6392bc8b98de690fff12f23f6670b161a92c0fcb518568cf167fc5c1c07f55135d010cdaf91f350ac513968491e0af1b3680535d4db462b1c728844ca0c7f63d6ec9fcdc789278f3b8c59773d62d71ac05e2602dfbf87377bc27444dc7b91e68778a8baa7c5ead474f7f348bde8de443ce2df3e08fbc5c0283900c0b1f558a6cf548d16ee48f3444bae81d83
    public exponent: 10001

]