Results

By type

          2022-02-17 12:31:07,093 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-02-17 12:31:07,953 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-02-17 12:31:08.603  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 17, 2022 12:31:10 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 17, 2022 12:31:10 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 17, 2022 12:31:10 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 17, 2022 12:31:10 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-17 12:31:10.836 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-17 12:31:11.132  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-17 12:31:11.291  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-17 12:31:11.932 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-17 12:31:11.934 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-02-17 12:31:11.935 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-17 12:31:11.938 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-02-17 12:31:11.972 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-02-17 12:31:11.974 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-02-17 12:31:12.084 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-17 12:31:12.659 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/]]}
Feb 17, 2022 12:31:13 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-17 12:31:13.481  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.034 seconds (JVM running for 8.891)
Feb 17, 2022 12:31:40 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-17 12:31:46.645  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-17 12:31:46.657 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-17 12:31:46.718 DEBUG 1 [nio-8443-exec-7] .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-02-17 12:31:46.722 DEBUG 1 [nio-8443-exec-7] .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-02-17 12:31:46.738  INFO 1 [nio-8443-exec-7] .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-02-17 12:31:46.740  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-17 12:31:46.741  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-17 12:31:46.742 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-17 12:31:46.743 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-17 12:31:46.745 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-17 12:31:46.751 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-17 12:31:46.754 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-17 12:31:46.795 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-17 12:31:46.800 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-17 12:31:46.801 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-17 12:31:46.805 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-17 12:31:47.442  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-17 12:31:47.444  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-17 12:31:47.445 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-17 12:31:47.446 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-17 12:31:47.453  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-17 12:31:47.490  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-17 12:31:47.491 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-17 12:31:47.492 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-17 12:31:47.492 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-17 12:31:47.506 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-17 12:31:47.531 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-17 12:31:47.532 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-17 12:31:47.539 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-17 12:31:47.559 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-17 12:31:47.560 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-17 12:31:47.563 DEBUG 1 [nio-8443-exec-7] 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-02-17 12:31:47.614 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 22877381099727942498321473692028791949923131776
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Feb 17 12:28:47 UTC 2022
           Final Date: Tue Feb 17 12:28:46 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d3:11:44:d1:84:aa:38:3d:f7:02:8d:0f:22:2a:fb:01:d5:ac:62:d5]
            modulus: b8a8f63149d632ebdd2c47f6e456e34cf8ff104ce3b939aa5aa69d66d2bfffbf3d25eecd54c8772552f29f974540db2b1ef84c1416409d9603b726729991bfad5a1d7e3bfcfd39f2d7f6bc7fca2b0ff29298f48c21b33befe3f4f1df36431fec4c51834392dae755c7520b41927647608960481feab4df40ccbee2550e88d76f234150b8d3238686e5caca8a24a7ef01891b6ed4d08b67b2e5120848a17ff8710686c3ec0c4a5016601f7aa78b665e8be214c4f1379e0a02257124cf41f4ff7b1ca7b8b106a6410abfacbd45cf64478c8bb12b2cb09d28e342882ab8f991a519beccff4e727495db6792ac6db9aab3c511a62d6543d4ac480645f25b81b2ea4508794d9e9294237cccebf0b87c09e45d0f6867b232fe986c177897b190534b0aba43aebf4440ead3948b1f154ddcca96cbaf4d666edbf1250d54e3e0cb5aa058c8928d7e3b53a935e633f33d2e92d7da28c865a4ab4e5ff4c628a49b98795274f3f816b32f522be3788e0c575302d1f1aefa9d0a60df63eccc0587bb2cfd82a1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 5ea40f1862fc41f841a5e3a054f39652aaeee6e0
                       53add280bfb60697eabfd4e904fb930913b4fbb8
                       de6fdeb1e9baf0adcbc57fcc0cf2f7813ea2e97d
                       70f1fe85d4fde967f2cd1dbcfe9586a910c1816e
                       d3160ab6f2c6613b44c8fdde3da23e0cbcb5b981
                       66f0bb91793959748ee193a66fc7fd837ef0d395
                       7323e77e4bf363e5436e1c29bfa7277551f1960b
                       03e35a38ced07f5cd1c26e147c89687773ccca61
                       9983cff71543ecb7ecde06c5846a06e4bcc7c9e5
                       9f4828ea7b26c1a2a1b93d3ba8d0a91861722f14
                       c7d6721937f21590d314bfd4bb408ee38b80d38e
                       7dd4cb4a3259b065b2f7728b281b9484257a5667
                       50febe5deb39a14b5f205c9bd2a6f67f02d39a05
                       0b7cb1aa2eda3c44b25961bdc1a50f287db9819f
                       76b8b4a4b4ac4b09e8573abdf9c36b92a7ee3a11
                       0415ea7bda1addfc48dca208793445b64802e3fc
                       054f7e37c6742ea4f2985061db7c7515da3d61fb
                       9293fa58c7e42a0e6051492bb7fe58b125a21a15
                       5457ee18487f1a667414d0b14b8e922db32eb45e
                       ec69f1c6
       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 [dd:ea:19:6d:f9:14:0d:44:e2:eb:cd:9f:9f:c7:0a:d0:57:df:48:46]
            modulus: 9d451610354da5199aea5e30aed36c26ee46e535a8002ac319e954a35f5c84ea79f99d0cc551d9402fb1c75726fbf1b883af5b80f3f0818fa8941f243a3b7e7d64b5c0ef8c616e7ddbf3818789f57e85144684ba78c7db02ec70d7aee079ae7c06fb18304b864586b86aa87a0a3834fe8dcef6669179b460ae90a9a1bdaf326f6ffb09c95454390869bec0504d993d04c4dcaf2fbb33a7e829caa3221310248bcb1b8e1894033c7f733488a4c8cdfc2e047dc3322d17512179b064615b0feb2857446dd53876aff4a57e3884b50e2db8ea49c8b5819ac5a890f3de62aa56dba32e13bd37e468a3f6b7648c4f7662fd6612e7bfc54492315072014a1a6c75fdb7
    public exponent: 10001

]