Results

By type

          2022-02-07 23:22:03,079 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-07 23:22:03,926 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-07 23:22:04.718  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 07, 2022 11:22:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 07, 2022 11:22:06 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 07, 2022 11:22:06 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 07, 2022 11:22:06 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-07 23:22:07.035 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-07 23:22:07.298  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-07 23:22:07.458  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-07 23:22:08.132 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-07 23:22:08.135 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-07 23:22:08.136 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-07 23:22:08.140 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-07 23:22:08.191 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-02-07 23:22:08.194 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-02-07 23:22:08.292 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-07 23:22:08.889 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 07, 2022 11:22:09 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-07 23:22:09.719  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.321 seconds (JVM running for 8.865)
Feb 07, 2022 11:22:39 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-07 23:22:48.108  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-07 23:22:48.117 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-07 23:22:48.204 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-02-07 23:22:48.208 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-02-07 23:22:48.228  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-02-07 23:22:48.230  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-07 23:22:48.231  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-07 23:22:48.233 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-07 23:22:48.233 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-07 23:22:48.237 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-07 23:22:48.244 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-07 23:22:48.248 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-07 23:22:48.293 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-07 23:22:48.299 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-07 23:22:48.299 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-07 23:22:48.302 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-07 23:22:48.825  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-07 23:22:48.828  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-07 23:22:48.829 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-07 23:22:48.830 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-07 23:22:48.841  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-07 23:22:48.842  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-07 23:22:48.843 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-02-07 23:22:48.844 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-07 23:22:48.844 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-07 23:22:48.861 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-02-07 23:22:48.861 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-07 23:22:48.862 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-07 23:22:48.870 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-02-07 23:22:48.870 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-07 23:22:48.871 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-07 23:22:48.872 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-02-07 23:22:48.902 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: 304096383976026366992345629395693132350118711149
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Feb 07 23:19:37 UTC 2022
           Final Date: Sat Feb 07 23:19:36 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [29:14:b7:08:dc:df:cd:7d:cd:55:37:32:12:35:66:2b:4e:a0:80:7c]
            modulus: b3f89e9149130b95a90fc293679721009f0a98a9c74add3f7147b39ee3b98e8b30e86d313597ba418f2e5f10daadea197a21966ba7c96aea162a8a61ad249138750c9e49d3f9c7e009dd16d31a8744e813afff02a6b562933009a50aebadeaddb486f236857894bb7a6d3ebbee4e592268aa7fea965e937d8072a86d45c8fa50c4bab3d4925090c518a626cd084bcce06b0aaf191b2fd1a896e7b7d0ed86863470438293d82a3e2c1f46da2928fa56f86a88bcbffd84b816768efc6850200a4a7ba2e30cf39f90c76f7aa42973b5887db5ff27e4bb408021ed04bd4e49ed2a8f4903bcd774e529d19926f098e165099212f987424b9656908bf49f7fbadb5efed92eab02cb6e24bdaeb89a86ba59c1d349a2eff36c8e5a6ddd1cf9055c260d9d2fa208591ebe077757c97290d18c45a1205a59d185f21711fd8c1d9ebbbaa067bbfeaf384f9ecc9cdc9410db4c73e63362f5501b1ee6b288d7fe8840f81134a5a9688b8c09c78572d217f5407cfefda0d4122f26f3ef3ed09af6ae7f053fb845
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 83fec08802cd0d5f9d015b104ebe3dbd903f12cb
                       26be83cf63523c060d813f6b5d1b3a2b8c95b8a4
                       98d7bce56e5911b9dbf1f977cdc37428987c6345
                       c84d0260ce617a293a73471a47762e355583aace
                       15434cbd85ed6c120a56216fddc9ddc7fafe918e
                       9170bbe3ca4d87c34e92059392080be438d4012b
                       daba934def89f0d98b8e5efd95989678d531d317
                       318765ce406d179b1c5b473b99fead49e1b64a0a
                       706c6c2be34da51f1fc53662cf3f13380df891da
                       febb12c4142c7285b5997556d04ac5b892158d5a
                       d2cc5ab676b6c74f2039eaac66e5886dade36d5b
                       7396e73dc9ba0091fbfb6fd9fd1961b369352677
                       4947fc42aa6224d7d0dcacc95c1c209bda39be85
                       f5ffb458fc45b0482f7dae3ccd82930ed36ab07b
                       28311b76a0f15161768cca6ac56daba670c7a003
                       0a2fcaff8b446b7b18a72bbefd397efb788e48a4
                       fd8bc1db9c28ed90d87cb6575aed507739dc81af
                       65410c44da4bfc7a0170b94b1ffe7b1ddf52034e
                       bf60cfd00b58f44deffe8d0b409fe0c599f587b6
                       fb279ad1
       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 [24:4a:78:a6:b3:a0:3e:c4:cf:3c:28:aa:61:6a:60:ff:12:6a:e9:75]
            modulus: a58bd131b5aaf13607ff0bd34e755f6d5144b8c5793990ba26cc374c46cb17b45853e7aba983f6a68f7e180455709b412f4e5a9022c25f4b6d8e1445c41afc5d65dd2ccc80a34247989c561114900cc67ac783846bd51a69162ac136d557673e20a3a03d81afa2220438a594f81c44a718ee864d26aa1f7a3bcc756d5c644fa27b82cc8bc12cce7bc49be74e4eaceee346ed114b220a81f2ddc03790e01639b6807e5c0d88d26beb8d4e76b464068e0d40a6d606084345986cc87b7357367fa35dda5ccd8ed9ab53fc397d743a37b4a4ecc20ae1c8bef38217b074a73da974b0af2513c1ae4cd6914c5c1c03c518904636e631609e59d944447e8c93961440ed
    public exponent: 10001

]