Results

By type

          2022-05-05 17:03:07,295 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-05-05 17:03:12,299 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-05-05 17:03:15.695  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
May 05, 2022 5:03:25 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
May 05, 2022 5:03:25 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 05, 2022 5:03:25 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
May 05, 2022 5:03:26 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-05-05 17:03:28.309 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-05-05 17:03:29.791  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-05-05 17:03:30.584  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-05-05 17:03:33.507 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-05-05 17:03:33.584 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-05-05 17:03:33.585 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-05-05 17:03:33.588 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-05-05 17:03:33.703 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-05-05 17:03:33.705 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-05-05 17:03:34.293 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-05-05 17:03:38.700 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/]]}
May 05, 2022 5:03:42 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-05-05 17:03:43.302  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 39.797 seconds (JVM running for 47.554)
May 05, 2022 5:03:50 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-05-05 17:04:23.384  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-05-05 17:04:23.390 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-05-05 17:04:23.597 DEBUG 1 [nio-8443-exec-4] .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-05-05 17:04:23.600 DEBUG 1 [nio-8443-exec-4] .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-05-05 17:04:23.696  INFO 1 [nio-8443-exec-4] .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-05-05 17:04:23.698  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-05-05 17:04:23.699  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-05-05 17:04:23.700 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-05 17:04:23.700 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-05 17:04:23.784 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-05 17:04:23.792 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-05-05 17:04:23.794 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-05-05 17:04:23.908 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-05-05 17:04:23.990 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-05 17:04:23.991 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-05 17:04:23.997 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-05 17:04:25.409  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-05-05 17:04:25.411  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-05-05 17:04:25.411 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-05-05 17:04:25.412 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-05 17:04:25.419  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-05-05 17:04:25.420  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-05-05 17:04:25.420 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-05 17:04:25.421 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-05 17:04:25.421 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-05 17:04:25.491 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-05 17:04:25.492 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-05 17:04:25.492 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-05 17:04:25.499 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-05 17:04:25.499 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-05 17:04:25.500 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-05 17:04:25.584 DEBUG 1 [nio-8443-exec-4] 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-05-05 17:04:25.607 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 683209456196843957853664811006211668813296768425
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu May 05 16:59:10 UTC 2022
           Final Date: Tue May 04 16:59:09 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [f0:3f:48:6c:ea:05:e5:40:4c:fd:93:ad:ad:d0:9a:e0:30:94:88:28]
            modulus: ae8f24a8ee6f0280c0e3ae96ebfc7d3e7d8968d8cf5c2449078860e0b9d15e62e9239f51e3c2b18df7548b2672ad10433ed5fe02aeb8645019e9143d5356eaeccc9512c21d05998b057a77adeef093268b5b93f24f08d370faae1dc71fa187dee73c616a3d2df9fb512b9186ba88e9f9015fe42f9c50b4731350e95548f513f4dde6ff32b3c2924f5258d8625bfd4424febe995a53e4d71ecf546b747840681ca48e3ad2bd6dd84505cf49c7e2c03ad98b093379329796c14ac72e4ad1020e553ec75374a24eea9b671a1f998a5cb5ff998a6f9170a73c97cf1aab6e31d588dbebc398112d49771e1cabcbdb336c8e43c64fcc73d21a0ecf2dc926554d3e1f2a807e22ff0597390957aed389c993426b3da78957b4b83897d1e8b03adf6fbd324c5c186e3db7ac8df539869051e5e161054b0d08c095ebb6736895325fc0ac4b6c5c727b13927218c0aa3fe093eaff43f5d3ae84cb84095565198b46cc9f3a57d0f87408dd95b04f77ab27aa704b13da875b3d05b9471acbfa7924a82bb79bb1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 434832da7ad79f1b807c2574e00ac5d4e04e57e4
                       d8487218b64086b62fa174a6365cc103d70d6261
                       b589519a076576429d24fa42422e8f945464947d
                       e90dc303bbaccbfb2085a4b8364af8892a85688c
                       c2a22d81c122b42fba2ad16ac5717cc26cc9eef2
                       e48306785b3f16bddd2352bee4abe0d3aebe22b7
                       648964a80ebbb699d64fb0299ba5e7de065d383e
                       b97a19d0fa3e9c3d28c70fdece8290043bb7c77f
                       93b1c22b7af2af0dea613f798c78e6f27302fbcf
                       137adf70dce33e9c2307e6bf4c03008a28e50559
                       4ad76f9ada1eac09919713ee67c1f6a89e2b6f84
                       ca8796589b4d1602d088c5082cd2a4315dc6b122
                       c65ffd1b877bf62fb48cda8c7610b457bbef4902
                       7662da92b5b79b28f2f2ea80f29fb6b7cd9a5e96
                       fed162e32239472846869c477e7f6386bbbddda1
                       707d3afb8d02b2c99f3511c5c502807b7b414d4d
                       5e917d6fee60a6ddadd85b0b5aa13a908ef34f71
                       0a7b46853d2056da148b0d12a4fb8aacf4f67d6f
                       93b564bd569ec68952f62089c756a1419cda87f3
                       dd4573be
       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 [df:d5:bc:fc:7b:ce:53:0d:1a:9f:06:28:78:45:93:ee:bf:d2:80:f8]
            modulus: d2fbbd2089cd64627c6be861012673b496df4934e220d3fd43778949d52d56236dce02f1e253ba0a2fe872e21881dde1a2f0524c65e186b4ca75a76f7e1ff19e9a22233eef32a4a9a3e54974f43b7308949f7c5d4b946b61e609dccbd5fb71ea96225fb2655ae8cc64102cd763ab61fab516404203f48ab533fa49e27016076a8c7f07bc47f4862bc3b1968229aa3bc9433126a4e5aa2c3ea6f68a8c5320f325289386c4395fc86251dd7deed76aca81181bcdaf82913306eac9c18fa60bab99b668dfe44dbcd7ae05ab9f0a8982088fcdebbe9807655d635131ffbc1e8b5446abf04da78a1d70578ba1bdf16b072383d9287926d43d135f3879fa6a5d383b35
    public exponent: 10001

]