Results

By type

          2022-02-07 02:42:58,638 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 02:43:03,552 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 02:43:06.633  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 07, 2022 2:43:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 07, 2022 2:43:15 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 07, 2022 2:43:15 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 07, 2022 2:43:15 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-07 02:43:17.754 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-07 02:43:19.046  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-07 02:43:19.734  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 02:43:22.647 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-07 02:43:22.649 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-07 02:43:22.650 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-07 02:43:22.652 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 02:43:22.934 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-07 02:43:22.939 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-07 02:43:23.534 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-07 02:43:28.145 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 2:43:31 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-07 02:43:32.656  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 37.317 seconds (JVM running for 45.359)
Feb 07, 2022 2:43:41 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-07 02:44:49.151  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-07 02:44:49.233 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-07 02:44:49.437 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-07 02:44:49.441 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-07 02:44:49.539  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-07 02:44:49.542  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-07 02:44:49.544  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-07 02:44:49.545 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-07 02:44:49.545 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-07 02:44:49.548 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-07 02:44:49.633 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-07 02:44:49.636 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-07 02:44:49.748 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-07 02:44:49.751 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-07 02:44:49.752 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-07 02:44:49.754 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-07 02:44:51.252  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-07 02:44:51.254  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-07 02:44:51.255 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-07 02:44:51.256 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-07 02:44:51.332  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-07 02:44:51.333  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-07 02:44:51.334 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-07 02:44:51.334 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-07 02:44:51.335 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-07 02:44:51.347 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-07 02:44:51.347 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-07 02:44:51.348 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-07 02:44:51.353 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-07 02:44:51.353 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-07 02:44:51.353 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-07 02:44:51.354 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-07 02:44:51.543 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: 317405221814013758456971313266948421898681619760
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Feb 07 02:35:17 UTC 2022
           Final Date: Sat Feb 07 02:35:16 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [7f:d9:0f:16:9b:56:bb:65:50:10:ed:aa:5a:f4:0f:dd:d3:5c:35:31]
            modulus: c2a17c8bc5baec84fe0c3610eb1c626cdcb3ba71a5f7e4988e721b15449327988b97ff56bf8e2cfa02a15791844867830d1df44df23c0285bad72fccbdbe9dde85f00e12d532a9dcdf539ea7554a935b78deb213193ab8380ed32406371715891060d65472ac6bfe5176e6ae5b56f1ffb16a48c204d9b3a0881e0e7babae73ce9c8e9bd8d990617ccbd491ba47ad057da4d078f235c28e4a3a259393e5f9c1d2ec917913cf2a473b109eaa8034e132f1cf7adc9ceb1a31bc6a803fe3b2dc9230493835fa5511cdd79e0776df3f8e8ada23830f1c683ce2da7eaa2b142160baca3e16e331c890a2a57ef4ca9bb4bf72dc7b8cfc6560244a76bf267ea20b957621aa7c73aeedc20062a907aa5aca54c6aea7604a55b325a6b8d8347bb09e25b513022b5c2db4423d3b8af428bbf1956946354e5e2574226cb5b3ec34f4a6133d68733b68913dc697f925b0dd7d47dbdce2baf33dc2e509aeaba433f12fe513d709256b252b6467d8d133f1847fc7bbd4e6074cf58d3f76720ade16ef3a112e0eab
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: ad289fb08e670cdf6d417a2577866e358a7af8d8
                       068a1f052e1b1ff91022a7c1571bc5ed307a05b3
                       3d467896f45db0c57166d8879d81858890798cbf
                       51e8102630bec6c51f8357d6ab67f4b6071c571f
                       32a4b41e73134ac5fe355815434d02e61f7a0b00
                       163393d9ceffc1f44291e939965658586191e842
                       a82e854cf301b7781e2f3afa10a6eec12745062f
                       9026404771eda91d941a8b3d10569c6f030f4f71
                       263870d1e63405db047b737582603dcc562097fb
                       f9d0f242a9d8c4c3bb5365d9f0077d9c5a4882da
                       098f3d0ff585e73bf56415f60e0bce05f54d96f0
                       8bea6012aeee7bec09a4d04fbabb2d094de9e623
                       daa19dc007249ce420fbf27f3dc8d22a8f725d3f
                       cf98576cfb504005271d9bc985cf56ee3abd9eaf
                       9bbebfa6c0f3e7114ab4b565adf610d43db40e9c
                       0de105ed4844b57cd5ff487b4e9bb1c4812f8181
                       2755dc9416c55b797937d348f51d88938b28d1ea
                       ef0265c487202cf8c20dfa4ac94f038c99817611
                       edd554cf7faaeec75b7158685e29726fc720c2c2
                       43cd78c6
       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 [ac:33:16:00:fe:54:5e:d1:46:eb:4a:9e:38:f6:21:db:a8:4f:e3:68]
            modulus: cbf1e8cc6c6d750925cad4463b224329ac109f8e014666431d7ad5ea8b4c3ae94c1f888d4743ba30c4f88831c072a32f4f0db1a7c59f8179b190a02ff4f28ce290b629f6cc3c2acfe09689bc45f000e081c28a7bc614838420d911897cef01209fed104fd72288f2bdac37ad871029d8d280dd89250eda9138c4a570183df79771abcddaa3d746c0506fe26727f18abfc1e66e0abaaec3b65e4f4d116a91943bd6b453312304bcaa968e5d61b85a772b3d16340b619ed9adc8d883425b3beb53f381b0cc7b90b5d8555f7402d6c906765b23bd71a89d048d05a8cffb54ef57b14593324d8265368eaf0e4558fab81fb2d81ee9318fd41c0effef891864d8ba37
    public exponent: 10001

]