Results

By type

          2022-02-28 12:28:30,228 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-28 12:28:31,231 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-28 12:28:31.973  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 28, 2022 12:28:34 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 28, 2022 12:28:34 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 28, 2022 12:28:34 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 28, 2022 12:28:34 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-28 12:28:34.819 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-28 12:28:35.153  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-28 12:28:35.350  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-28 12:28:36.019 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-28 12:28:36.021 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-28 12:28:36.022 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-28 12:28:36.025 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-28 12:28:36.065 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-28 12:28:36.068 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-28 12:28:36.182 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-28 12:28:36.803 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 28, 2022 12:28:37 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-28 12:28:37.739  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.266 seconds (JVM running for 10.015)
Feb 28, 2022 12:29:11 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-28 12:29:25.161  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-28 12:29:25.185 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-28 12:29:25.262 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-28 12:29:25.272 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-28 12:29:25.325  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-28 12:29:25.327  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-28 12:29:25.328  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-28 12:29:25.330 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-28 12:29:25.330 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 12:29:25.335 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-28 12:29:25.357 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-28 12:29:25.377 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-28 12:29:25.482 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-28 12:29:25.500 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 12:29:25.506 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-28 12:29:25.524 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-28 12:29:26.380  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-28 12:29:26.382  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-28 12:29:26.383 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-28 12:29:26.384 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-28 12:29:26.394  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-28 12:29:26.395  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-28 12:29:26.396 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-28 12:29:26.396 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 12:29:26.397 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 12:29:26.408 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-28 12:29:26.408 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 12:29:26.408 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 12:29:26.414 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-28 12:29:26.414 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-28 12:29:26.415 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-28 12:29:26.416 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-28 12:29:26.486 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: 70338486130255035445877763928961335104857348871
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Feb 28 12:24:43 UTC 2022
           Final Date: Sat Feb 28 12:24:42 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [15:6f:0f:22:b7:c2:fd:aa:04:6c:3a:b4:b9:14:56:c5:e4:57:06:77]
            modulus: c9fd13d1bf0f90e9af37387b9b18cbe7655988a33d2eacc82b5d5df59d450b50110b1d43a14aea527266677470a6b94bec00ef8ac4979d7a6da88e6feddb6271c8d941e5a5fd327f30fe335800e866f2de770750dc22d7e801503846b9a1a7c48c8b6a832a411da674de78cf309f03e9f463a1a3ae97ea3cbc2e57d8db531e2202fced6c41cdd0443a56ac93e0a6bc027638927b44b8cf6492abec0174fd8d1b459ddf8907e889345df39323f04fd58da9e4d215ae41390cea51950c2b6f4935d85ad3c45e5e1cc2bff25e7f914a69481beb7757d0c828fa771fdbfa087edec511c8e352bc3bb5ccb08f5739307661cafe90d152c6cca16221e30b402570968b704e9875b076b2d21fcb3702edf42d54bd8b8d9fd0f6db76d6fcf9fb1795057b04d18ee4f7ed3bcd8125430b1adfe075dfb58ab1a537e3dd6f3d4a08f3b3850f6f830a726df2c2007c279fbed09837e88f3ecba346d4bb878244aff223000579ad8d8e6ec276dc2769a23a4f599795380df8cb2bd66c8b37b572130f9c2913ff
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: a10b27d7dda5e64645582070384faecea29d4d70
                       15a8436aacbb309621a44d2ac2e0219360b45ea1
                       f0325bc6572c0f2d366b302c3be18d9761b17fa3
                       a20ffea9bd64171329b4b41ea8c501f3a784cdcd
                       422bfb48c71de599f6d1e17a0cfc486b47b02344
                       137b44f5827dce924f5acd98a64c7ba0e8871545
                       16620212526755724fa5108644a833544526200f
                       83877a3735fc347611a4b50978e6229342d31252
                       c9170def17c6467ea95b529de0dacc0301630e46
                       3726b009f4108b5f3f8555b142ed46b1dd1c2750
                       b497500c7fd6dfd9e13b9a41d7285f6f677ac8cb
                       905c83b5f573606ffd6310bd9ee72254f8638cb1
                       d171d0252a2d5f756979ec0acd7677ca5c9edb1b
                       f5c98e3ad10fa962721cef00fe0d8f57baeeb6f3
                       892e4e124e3ad3cfb5d2e0d356dae25c066a62ca
                       c1a3e5b9dec01cb5209b108df335a54d8d0ee67f
                       d01a1485d687fb6920daa21d93e85b3aaa1c1ee9
                       447544a092eb739542fbf87b7b9d08f316489fb8
                       77ef958d5a26f3adbbf0dbe3c0d9a48dd985061b
                       711283df
       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 [7f:5e:92:90:71:fa:03:13:de:16:7c:05:a4:b3:67:d9:c6:10:03:9f]
            modulus: d887719e9bd7351b0c5e321cba3aaa106e27700415fc4f7a3d46b7bc577807c71866b445d95a37a5c015d09a72969f267779cf07097fb084a87b9e3d54c6b1628d2785a0f2ec1a439077c128978bc3bc15a0104735aa6402adcf95b3a59852d5ddc2995419eb190c31793d3db3b6519639492218ebc9cedb127b510ebaa6a8a61235d5174605433d7de78ffc3cee03210a5b39fe2e3f00cbe09ff64d43858da8cd4caeca2cd12ed4396c76738349d3c271931e5a6956c1af4e7d6e2ae768e00733a4c621553682797f978b5f30285129d26cc74f7b63ece43e71a827a96a9a5aecaec9d9ecc3cb0df0b54dc30c50b7822101aa30ee7f9a05778c4fb6d54a7dc5
    public exponent: 10001

]