Results

By type

          2022-02-15 02:51:44,440 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-15 02:51:49,421 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-15 02:51:52.321  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 15, 2022 2:52:01 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 15, 2022 2:52:01 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 15, 2022 2:52:01 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 15, 2022 2:52:01 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-15 02:52:04.030 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-15 02:52:05.221  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-15 02:52:05.843  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-15 02:52:08.729 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-15 02:52:08.733 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-02-15 02:52:08.734 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-15 02:52:08.737 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-15 02:52:08.926 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-15 02:52:08.930 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-15 02:52:09.442 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-15 02:52:14.329 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 15, 2022 2:52:17 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-15 02:52:18.342  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 37.503 seconds (JVM running for 45.272)
Feb 15, 2022 2:52:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-15 02:53:02.053  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-15 02:53:02.132 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-15 02:53:02.325 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-02-15 02:53:02.330 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-02-15 02:53:02.340  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-02-15 02:53:02.342  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-15 02:53:02.422  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-15 02:53:02.424 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-15 02:53:02.425 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-15 02:53:02.430 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-15 02:53:02.434 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-15 02:53:02.437 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-15 02:53:02.635 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-15 02:53:02.640 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-15 02:53:02.641 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-15 02:53:02.725 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-15 02:53:04.379  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-15 02:53:04.381  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-15 02:53:04.381 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-15 02:53:04.382 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-15 02:53:04.389  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-15 02:53:04.390  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-15 02:53:04.391 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-02-15 02:53:04.391 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-15 02:53:04.391 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-15 02:53:04.430 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-02-15 02:53:04.431 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-15 02:53:04.431 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-15 02:53:04.436 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-02-15 02:53:04.437 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-15 02:53:04.437 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-15 02:53:04.438 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-02-15 02:53:04.630 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: 324472902021752919516323716349938730107372121564
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Feb 15 02:48:34 UTC 2022
           Final Date: Sun Feb 15 02:48:33 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [56:6b:2c:7d:84:ee:c0:ab:9d:ec:ea:9c:de:07:58:bb:4a:de:9d:a8]
            modulus: a309fe03b12b4e89e59f329fcd38a078f4a581811db8804a9891f304c8931a2160b5c0c94851f49e1818cf8737fb1a200b9f0cdf7fb2d6d29b6619a3f016ddd6de2f7ab77f378ee6720411dc6f3bfdf620f99077e80df6d17a6705acf36bb410eb97fc52053821cb09977f0d51a39ba8abc1af75b567d420858676e592058ddaecc7b686cb7b62935fafc8d4765d17ea96a03bac7169c44e707f9624e1ae3370371749548a2fe9ba43b23ca39a476fc8f57ef6d9c3404d8e203cede414dcc2a0bb46a3507354809cbc90b97e4f4d916c8d5d7ecbc37f3d0dcdcc83f8d0d8e33fe82463b96b736c9466de527b1b49f4c2eac752a6d0cad9e4b8c088e0ba2a91acd13442fa0cb061fdce26e7447ee7543373fded1a14ce02d50f927bde9745adaac18ae59bdc8585279dd4fe1e85aaeefadbb6a70ee789e3b86544f1ec10b0f17e02c607361c7aa6b46cc469f2254d296457ab50328790b117dfc2df4d771eeeb625475ade6216d20f0afa92c6d3238bd5aa5810be07944dc219d47e27d7d589ed
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 438df857549c4b412f0162b547a02d1a416fcbae
                       14b9112bef095c81d061a4304720746fc2a204e3
                       24b5a39d75469934c484b5f317d7c93090912748
                       9e4b4ff88dd7fbc1322f3f9795cf49fa656b791e
                       13692787cd283546ff05171b610cdcabd5f084b5
                       70082afef30aa6faf63f0d0d07311e16816f0981
                       2d1f96a482416bb5c7093892fe4378efe68e1e09
                       6c2546602ac53bd15a05bdbee22d341751277052
                       5d905e9fd9f1f8f56e750e03a597da5342bb517a
                       7b507864f27bf488176802bb1fba7bce8b3a0f1f
                       0d98082ac331708643ee2207ebd103c5499b4ddf
                       08ff0f00d746e0edc5db62948708cf1eda736148
                       3a4e6abce02753a7e77e5581b5258677cbd45995
                       8132a171bfa6bc1610ab2c815dfc0f4c88d76b33
                       b579bfc7da0bb17767f283657110fa9257905e77
                       4502ea76e7ac7b4a29faad361f48fcb0e1168abb
                       a59020385cec24219bccc9cf33c6a2a80111d54e
                       8398e25ae53a8ebfe3d757f96dbdaca90ccb3e4e
                       5800e2dbd9e148b7bb0b7cb14471112e873ff68b
                       899a2945
       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 [17:38:0e:58:f7:da:96:c8:67:29:13:ea:f1:57:83:81:c8:6a:93:63]
            modulus: f097ce306cc929dd0f0b277964cb3311f926223fc5aed86f224285d0b60519f64d85f14dfac33aae0248d52dfae1a0086fba609b598ed4eeaa316af6d5cf36d52c78446ad6b4177f9f3f490583d225a86d08e92e2c917559bd6cba6b22f021b55161536859ab0caa132774752ae370d9be82676812023a5506dc84fea40a3d1c08e85060fe8cfe4d97f442a05d436e58f080151e5c3546bbdd6a4da2e389121699f228b7b0d282fddacb5deaa560a3c461ef2782fc2c8be30428aaad312ee241e5108309552275a9f6271d4ffca12cd7b492c2ee83978e693161521cb1bf1c94795f7693de0d30fcead7f7aa15d966055b69e7483247a9194e50e71e580925d7
    public exponent: 10001

]