Results

By type

          2022-06-19 05:16:48,148 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-06-19 05:16:49,121 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-06-19 05:16:50.009  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 19, 2022 5:16:52 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 19, 2022 5:16:52 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 19, 2022 5:16:52 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 19, 2022 5:16:52 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-19 05:16:52.886 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-19 05:16:53.191  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-19 05:16:53.407  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-06-19 05:16:54.162 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-19 05:16:54.167 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-06-19 05:16:54.168 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-19 05:16:54.173 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-06-19 05:16:54.216 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-06-19 05:16:54.220 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-06-19 05:16:54.355 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-19 05:16:54.991 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/]]}
Jun 19, 2022 5:16:55 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-19 05:16:55.994  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.723 seconds (JVM running for 10.628)
Jun 19, 2022 5:17:23 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-19 05:17:34.697  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-19 05:17:34.704 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-19 05:17:34.742 DEBUG 1 [nio-8443-exec-2] .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-06-19 05:17:34.746 DEBUG 1 [nio-8443-exec-2] .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-06-19 05:17:34.768  INFO 1 [nio-8443-exec-2] .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-06-19 05:17:34.772  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-19 05:17:34.773  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-19 05:17:34.775 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-19 05:17:34.775 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-19 05:17:34.779 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-19 05:17:34.785 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-19 05:17:34.789 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-19 05:17:34.830 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-19 05:17:34.835 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-19 05:17:34.835 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-19 05:17:34.838 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-19 05:17:35.913  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-19 05:17:35.915  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-19 05:17:35.916 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-19 05:17:35.918 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-19 05:17:35.928  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-19 05:17:35.928  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-19 05:17:35.929 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-19 05:17:35.930 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-19 05:17:35.930 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-19 05:17:35.948 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-19 05:17:35.949 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-19 05:17:35.949 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-19 05:17:35.955 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-19 05:17:35.955 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-19 05:17:35.956 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-19 05:17:35.957 DEBUG 1 [nio-8443-exec-2] 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-06-19 05:17:35.987 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 585458372990002494036021613007504037327467940538
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Jun 19 05:12:49 UTC 2022
           Final Date: Fri Jun 18 05:12:48 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [3b:c0:44:b8:7a:32:8a:c0:22:e7:75:94:94:e7:aa:0f:fa:b7:20:b7]
            modulus: b285d863c4eed7965915bad9f10fbf04c7a764cf9c1b1ff3f9e0c3981c47a1af9b1c20fec522963fdac550289be07926319f4088770968103c7f306d2e486d310808d3c8267dea48f932733e3682e2469712a4a08a95f409da0405a501a9404542beeeb5bbbbd466a189eea99ef2ae5eacd3e8829ea07856218859dfdc1fc7b4ea440f8f66d57366d8f6628f40ae1ab93f8cc01212324afec69c26cf5add0349acb32674d93d53b321d4a3c0299653293b26e601e711ef82b4aa9d5bd61b2b8728724af5d9a48df58a16d0b908c5d444dd5968767828d6cbbd74129e39c3299140f125342d7da851b8b23abc382a4c796f7c666961a48d2d9b2ed707d96d429f586170da58ad1d953a3e419e08bb7c57e97e403c777fe31cd40056eeaf2f3c20419dfbd28728c1b28202412f0bf3b4d13633bc9035cc946c7296832e44c5ba75b9182d443f2727b3ad9d8f3e072970203e7b0e19ec5a36fdbbf868573f2efce5935aa8343f8955ffa99ee9f841dabb03c29dda9367247272a862e4d8df550ff7
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 1fadb8207bb0219303c0a7a41788bbc7061fa76a
                       11b6a82c864251e83761295b6692300d866b0edc
                       8257ecc252751eb9ae5dd6c7ac7b4d2996ba88f2
                       aee372aa175e30202c8f5528748ae2198edc5732
                       015d1c8fead6f60b9dd158c8230cc190c622cec8
                       c56b787312df28d914ebcc358662fc6d5d379788
                       c1eb847170a7642e1e30adb0152b7cca4662a06e
                       e3534a27f3ca87e3aa006ab38aca6a1bce2dabb7
                       8a06877cd7975a1c6fbc95f948f52f37a6638782
                       55d91e51e0655ec5a4f54becee1215e9984e9eaa
                       a8f5d73e252b221f13a4316adb0d345ab270cb0e
                       00832b37cea75b64ac2ec4c1223f39fc5a812a93
                       85cc733fcbfdcc1890f23a8561b2fb80df2e310e
                       97593853e3289116712f52b614bcbd9b980822c1
                       9e7fe2b0d7a71558200b4b8edbbb11a4b026b2c3
                       8dadbcdee677ae0820f029a5863ee73d24c00278
                       0d2892488fba9e2fa61318a721722e499f3a8c4d
                       9355ff4b0d05c1fa3a4bc8d66f92aef06a211ac2
                       814dae232cb20db482b5c7e88560c544711663e0
                       82953813
       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 [39:bb:33:6c:fb:08:86:eb:a2:d5:1f:bc:09:0f:eb:32:98:be:2e:c2]
            modulus: c82435d5cdee15a61f9420ebf69f1f60699dd46d936de6da9880ccf4034e326ab3016b0632f564ce2f9ff3c624e5bfad767fffe7437f44a5e3f52f120cd7c8007edfe7167797ad6a5be276e64bf0537b4b30b7a5004d8335eca6b87b846cce140b46465c7a94f984000855f3bcf61eab91775207ce628d314be001e6e82f620e3c5f6dc177a373208fd78ce0d3388fbddc201336b8c722ef4c6ed1c071c98044daa739980cf89ce08bc8c4900ee231c6779aacff8a791df9074be9c61815f7626550b70df03c7cd4f02d13a329b373c14832b8e4549852985b700408d7b291a8d9608f33ba75a016887ac0233e5ec93d3cab92f08ba3de851f6d90f7e6a23361
    public exponent: 10001

]