Results

By type

          2022-06-06 03:12:07,324 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-06 03:12:08,997 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-06 03:12:10.054  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 06, 2022 3:12:12 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 06, 2022 3:12:12 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 06, 2022 3:12:12 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 06, 2022 3:12:12 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-06 03:12:13.291 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-06 03:12:13.608  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-06 03:12:13.775  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-06 03:12:14.619 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-06 03:12:14.625 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-06-06 03:12:14.628 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-06 03:12:14.634 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-06 03:12:14.708 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-06-06 03:12:14.716 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-06 03:12:14.863 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-06 03:12:15.676 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 06, 2022 3:12:16 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-06 03:12:16.832  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 10.883 seconds (JVM running for 13.488)
Jun 06, 2022 3:12:36 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-06 03:12:48.437  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-06 03:12:48.448 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-06 03:12:48.492 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-06 03:12:48.497 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-06 03:12:48.519  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-06 03:12:48.523  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-06 03:12:48.525  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-06 03:12:48.527 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-06 03:12:48.527 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-06 03:12:48.533 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-06 03:12:48.542 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-06 03:12:48.547 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-06 03:12:48.597 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-06 03:12:48.602 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-06 03:12:48.603 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-06 03:12:48.608 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-06 03:12:49.191  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-06 03:12:49.195  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-06 03:12:49.196 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-06 03:12:49.198 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-06 03:12:49.211  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-06 03:12:49.212  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-06 03:12:49.213 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-06 03:12:49.214 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-06 03:12:49.214 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-06 03:12:49.225 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-06 03:12:49.226 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-06 03:12:49.226 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-06 03:12:49.232 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-06 03:12:49.233 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-06 03:12:49.233 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-06 03:12:49.235 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-06 03:12:49.274 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: 59233235639468197528665419611037183421190594905
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Jun 06 03:10:01 UTC 2022
           Final Date: Sat Jun 05 03:10:00 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [49:60:6f:98:0b:d9:88:10:28:98:81:a2:a6:e9:ea:40:56:55:bc:e9]
            modulus: a494280aaffc46245e8f727194fc3d249759da20cfd2e1d2bd9659965e84feb9d8ff857ba60044c647289df1d9244b30ebae909fefa3dc1bc2241628672ed76ca3216861fa5423adfb13f09480ba3bdcf9d3995bb827001327e2c0419fbdc55629152ce44964dff9f6b39672d27e6ec638be882d053b5f5f7bdc999e5359aec2163daaa2fe54b5820733ff95fbe396ae55a6471340731c05426c144f5438ac8b3c039eca70a36de4487745485e5ca6ff5f41ac72f855986d9197508bfe479d93f03766797de719b1bb8f29ac60234528798ffe90f4b36784c9b5e82400d0e12edb7ca8098defca3e927c3939f57e91bbb36373e467a5c0be5f98ae00d89fb01184ca2ba20f8293fe9d6e467ea37be7c7487d93f45e8a9547ea84738229d863bc656a81fc01483d14184ca785971a333e17009e5ad9dcab6a0f8d68e0647ee9fc245969cbd81ec0f186ce1eb4f73c0624c11f01ed186ddae9190f82fe1de9ee8574a1dc9baf442447ea8ba0f9d8b67d37afd8a491930b316f3830373ffbce06ff
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 8e85cdccab77c93d2fcbf5c4bdf9251362367176
                       97f32ce708b609411cea5d27e35d3f88400d693d
                       a5534677229e927b616a11364e8d0b6af83f63c7
                       5b67590a1eda1b16e51cf07a992b87dc436330db
                       1137f99c4998cf89f6fa98c1e3393871c409691d
                       fa98ce9da29cd0b488de06ec08c4e21a6326f92c
                       de31744ecffde253239955f7d7eda5c4d40a4b77
                       886e75c0562804f2a3b4ac4e6b6d3863762fede5
                       78cf07301e055410e2754406ef9b247fc7ab92bb
                       e420844be1ed3b7d33ff25a3bdd2de03a66bceaf
                       2e6d7016601c1ad0f7cb47ebe836ac815a884f63
                       7af70ee1b3de6d7163853e1f5c69b130df9017c6
                       e29ea6deaa273115cbf4d8067bddbcfbcda9bfed
                       2bb0ae251ea32a8e6885599dc4e7f679ad348718
                       54bd2ef37ed62b031f1c1d5e2b2159d9a4bd9713
                       575fb31e78e0a80ae3b9fbc47b2d3ce925d55a97
                       138c8ae56ab545005b6555c114cbe51b79af76a1
                       b5bffac482b71b51339a6e6c75a7a0d5feb74179
                       3adeaf4d6da4946c77e90a5a8fdd235494e47465
                       367453a1
       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 [94:d8:01:17:47:6b:b1:d3:f0:6b:be:31:8d:45:fe:cd:e1:6e:23:f7]
            modulus: ace95c9911d80f1af6b5ac2738a5c88200cafec66717ce8bf76ee3648f85dface89298cada507b7dcc0a74384c326aec041ba7a66bcdbb574eb5455529e4fc4e613d14532666235927d772ea6d45129062531b605607635cb206d6f5e63c718e9dd4d40568e95a0c52c853aaeb10e498cdfedae218c2a52ab01069f67df39fadabf3affbcd306a40fe7f2100ee2fa803066f0dbc0460d8935f5af647931d33007b309f9d08610d47898b821302c86c321454149969b74cef381820a5372784ffc182f97126b138d8b4e5da2576013748cfad14676fc8bb79afec1ac5fa0fb03601aebc59ca4deaccd1a42cdf805f021e27317089c6e8f84603e2808f9d38f599
    public exponent: 10001

]