Results

By type

          2022-02-08 23:24:40,693 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-08 23:24:41,326 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-08 23:24:41.931  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 08, 2022 11:24:43 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 08, 2022 11:24:43 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 08, 2022 11:24:43 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 08, 2022 11:24:43 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-08 23:24:43.869 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-08 23:24:44.121  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-08 23:24:44.243  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-08 23:24:44.799 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-08 23:24:44.801 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
2022-02-08 23:24:44.802 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-08 23:24:44.804 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-08 23:24:44.833 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-08 23:24:44.836 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-08 23:24:44.924 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-08 23:24:45.506 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 08, 2022 11:24:46 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-08 23:24:46.303  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.281 seconds (JVM running for 7.617)
Feb 08, 2022 11:25:15 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-08 23:27:07.757  INFO 1 [nio-8443-exec-1] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-08 23:27:07.771 DEBUG 1 [nio-8443-exec-1] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-08 23:27:07.815 DEBUG 1 [nio-8443-exec-1] .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-08 23:27:07.820 DEBUG 1 [nio-8443-exec-1] .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-08 23:27:07.836  INFO 1 [nio-8443-exec-1] .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-08 23:27:07.839  INFO 1 [nio-8443-exec-1] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-08 23:27:07.840  INFO 1 [nio-8443-exec-1] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-08 23:27:07.841 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-08 23:27:07.841 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-08 23:27:07.845 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-08 23:27:07.851 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-08 23:27:07.854 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-08 23:27:07.896 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-08 23:27:07.906 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-08 23:27:07.906 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-08 23:27:07.909 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-08 23:27:08.456  INFO 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-08 23:27:08.458  INFO 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-08 23:27:08.458 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-08 23:27:08.460 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-08 23:27:08.467  INFO 1 [nio-8443-exec-1] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-08 23:27:08.468  INFO 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-08 23:27:08.469 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-08 23:27:08.469 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-08 23:27:08.470 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-08 23:27:08.480 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-08 23:27:08.481 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-08 23:27:08.481 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-08 23:27:08.486 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-08 23:27:08.487 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-08 23:27:08.487 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-08 23:27:08.488 DEBUG 1 [nio-8443-exec-1] 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-08 23:27:08.566 DEBUG 1 [nio-8443-exec-1] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 215658590940252399918299014723927089882767471296
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Feb 08 23:22:44 UTC 2022
           Final Date: Sun Feb 08 23:22:43 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [e6:2b:80:97:49:df:90:bb:c9:1b:9f:a7:f5:bf:e9:3a:74:0b:98:15]
            modulus: affefa47e7831d7085c188f9c0033a4c37b8afcdfe1ed49332f5445e3a06c6dffbe34f927596d0c878fc878e9392108c4d316e14e607968f6c972ceb0cd805121870286f00766ec2437578a2885b0465f8abef8a76dffc0d07df80d1464f63b0f2322ff7252346a9f062e6fa76660eba907710c56b34fdd26c48706cd7a78f86f3e8387d17fd9703b0396d1702eaa3e04652b37ebbfd1827de1c9a19c888ec54c98c79c9387fd7ce95567d98e29a70af81884cc63b020a242b75ebe67a479c55e3134741cd5e2f02908111eaa9e4f75310622cb2900eda84ed857e6160436a3a0c8da47c037fbbf10fd0b316660b124841ee4466719f1eb1feb5f8c9adaabd658b7319c9f21cb5edf14a05742a223da135ee90bfb2dc2e62fedd5b74dccada6a413402fd05c37020d42aab67e2bbe9a03bb9c9d1bbe2b711c6dc9d5f0d830e11c309e5183f32e6cf857d5c85cbed7d0436635af6ea9dd7bf16f3e18731b6cd7a158c529e38a2c2065db1fe6a5cc69b090b005bdf7f682e683726659fba26ab0b
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 6a0be6257b21cbc056dff1c2fcb584a6d7435afc
                       b62a17586ea3043b9e9c806df1bab4e032fa2c84
                       579a61efe11d35bddc97bd60bebe76f00159f0b5
                       9d1b7abeeba83362a447149525d309c1c9246e0b
                       20dc01457fc98d25198918d8d975a264b8805c98
                       f0258d82a22e8ba134cdfc3f6d7e2cea0640674d
                       458fe7e884f0b52c7ff256fcdd49e1b62ad19e5e
                       be330e156b31a1b5d5543f923b3cfd70a0efde9e
                       eb4f7a018ca7b4da5b8517e2f4751fb56e739a23
                       a07165a1ca72dfddd746eebf9180c7a88bbed249
                       30789a986ac411406d477debdfe858317d1a4759
                       217a788cf1afd14dc996c65d3d51e4de90ab4163
                       bdb1ab76757530dd6fa86c528aff0a253d9b85c6
                       84200c853d35d8707c2ef0a7a7925ec28b9e3fa8
                       f7e3bca6ab74202bea145f7a1b83d2640eb3648a
                       5f20a40a07b2127f349a5ff8e55a45157e111013
                       3821220a6704988678cea2c873eaa77fb4aec278
                       6cab16d39bacca7ef3f72c2c4f71d36b212373f1
                       e31544794ae1541a8e899630d207d79472bdc781
                       acc8e704
       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 [0b:64:51:3f:07:5c:8b:19:0b:97:d9:7d:fe:39:bc:25:9e:3e:a5:27]
            modulus: c7de23477662179ec753e9c890397d9144340403b135b45096a1db8f54e1913a88221d5b78a9ed33e6a4d7a79e082eca9a50d95052f08a8bc1cb359787839a64bdc328ed7d9cb097d48e4a5fd1bacb4b1ade15a68c5bd2b2c50b9147e8158a0d2330302e6609255a7be0db026849ee2e36ad233af4b0f59f18966911c98ead7db5b025339cd5f04d055d6fd0d25aa1a7928fa46054884ad9d1dd5ca98624cc860865391eb92cf5f8afee13465399c04e701bf5e8b6e39e5ad287417e8e39599779477e89176b8164b5543503b76a6817f53981dda30e786c61bcf6b767b30bcd17fe7f14299bdcb256f7d22849b0c51cdced590a880642b3fc895a1a03e25d7f
    public exponent: 10001

]