Results

By type

          2022-02-01 23:06:15,872 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-01 23:06:16,679 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-01 23:06:17.390  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 01, 2022 11:06:18 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 01, 2022 11:06:18 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 01, 2022 11:06:18 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 01, 2022 11:06:19 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-01 23:06:19.443 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-01 23:06:19.731  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-01 23:06:19.857  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-01 23:06:20.395 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-01 23:06:20.397 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-01 23:06:20.398 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-01 23:06:20.401 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-01 23:06:20.434 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-01 23:06:20.436 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-01 23:06:20.534 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-01 23:06:21.133 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 01, 2022 11:06:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-01 23:06:22.001  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.636 seconds (JVM running for 7.909)
Feb 01, 2022 11:06:47 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-01 23:07:08.112  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-01 23:07:08.119 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-01 23:07:08.153 DEBUG 1 [io-8443-exec-10] .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-01 23:07:08.157 DEBUG 1 [io-8443-exec-10] .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-01 23:07:08.170  INFO 1 [io-8443-exec-10] .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-01 23:07:08.172  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-01 23:07:08.172  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-01 23:07:08.173 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-01 23:07:08.174 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-01 23:07:08.177 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-01 23:07:08.182 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-01 23:07:08.184 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-01 23:07:08.215 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-01 23:07:08.221 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-01 23:07:08.222 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-01 23:07:08.230 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-01 23:07:08.886  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-01 23:07:08.888  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-01 23:07:08.889 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-01 23:07:08.890 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-01 23:07:08.901  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-01 23:07:08.902  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-01 23:07:08.903 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-01 23:07:08.904 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-01 23:07:08.904 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-01 23:07:08.919 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-01 23:07:08.920 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-01 23:07:08.920 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-01 23:07:08.927 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-01 23:07:08.927 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-01 23:07:08.928 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-01 23:07:08.930 DEBUG 1 [io-8443-exec-10] 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-01 23:07:08.963 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 52001392133949505386210653307599501256828562466
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Feb 01 23:04:12 UTC 2022
           Final Date: Sun Feb 01 23:04:11 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [1c:7d:22:18:ab:7d:52:e7:aa:ab:3f:10:90:bc:11:a2:b2:32:38:cb]
            modulus: cc6ce03335873a4c64a0e39249c6ed016ae555c2f0eb7e5b7cc6793b0087ed0484c49d261925b3f208fc8fb7cc830c056354de8d05a9b634f550bf685705e88c33624639925337121d203d3be5a499613ffe35c22ad468fa3e905bdfac194458262b3af5299cf381a2df65c950baf65894c0e484b52e8f740b464b517be12fbe3d2dfcb06f0399de870a152ab9feec2ea7424934bd8eb195190fbfda6953b31a2aba8d4e95f640cd4ce84dc1e8678d745bdaf026d205505f6114e99c7cdfbef273ed9e1dfe9a9647a7adf8be39a7f121c4413c1377356b4622d7075d2a5e28bb1f950c78759b088a1c680abeaa075414733a76b4f5245ec161b30386a050bd6b75540609cfa1491f1398ef6cbe94ae28349aced25dd51c29f8ce78162e0c98155a061ef5b563a8bcf07261256c5a9866c54328f680b41b1718d7e67aec38e2349197e10e313225a523133e5a905e030b53ffb441968038d05351714fc32f0d922aec504ac2389f09f59a5fabb8950cf4a5747bd02efb91041ffab80ec734dd63
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 88d95fba499975aa1ec631b61e66ed69caf52ca2
                       216a9d9df7238f6317cb33b72ed213dac17faca2
                       d0eec1b112002411e974d39fb6b3cff497dcf815
                       85819613cbe78d1817ac24732f27be40f8ccde3b
                       76c658f52d65706eb3bc1c644b9b691ae3456194
                       cec030745b47588a28da0c5f78997285601c79b6
                       b4dd3da0bc604ba3f463407c9c1295958c63e793
                       d07784aa6597d4b59d8afc6768e7bf8791db5945
                       f6ba3289956e53afd811524a78d05fcea8cb4edf
                       aa6499f46efe61629f0aaedf7986607db03da8c1
                       4a432229405685f54f23a1cd76fbcb000e36db87
                       3c92daf8869d87492a8618edbf3be1cf7019307d
                       e95042083e71a4746e2a9e02c0d2e5737046719d
                       e9eca46fac84198c56e27417cabe7670e31cf6e6
                       cef209e54ff9b2c08470cbb299e3d56c0679cd15
                       916b748c3ad02afa9dc615371b5f02db25fcd92f
                       6d579110531c15e884718d15b127631ebb125e9f
                       79eedc911d1786a9cb7a808b6be19cc471a86b95
                       3fd94411b4ffff96aae8b8d1a6c23a3089c8626a
                       15b470f2
       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 [a2:4a:08:06:ce:2e:a6:d2:20:df:7b:01:c2:90:15:5e:bb:19:c5:1f]
            modulus: d75bb3d565741f7e5304c2b9ba812f5c5ce69b0d0493a269ef21e7d1c092371e7bb93f2ab06437d7322935ac1d42c1ac61be805c3ffa45ba360b31d0d9e2f416973b586103df9bc0b25f6d868f64102825a4e8a2125d221a8a052987062cdbf39b6da4fb3d6c6d809857b7161b050e52618fe6e0f0969db764d868b7754ca1ced215078bf4b6677f0cf39d767a57859db7e7d6adc83f76e8d06fe174a844b9f54cde07c720a43f275356cef1fb185f58b6d1575b7a5cad31167637aa3e9d1e0f35ad5cbedcd6c35f78d1974ca708f3d05be52c0d5e44b24b4df12c98e14e13fa170555b5c5bc25e58e0d8b127f6c0cd2e839bf5144851f02eb37da5834fed099
    public exponent: 10001

]