Results

By type

          2022-03-30 03:00:28,896 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-03-30 03:00:30,725 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-03-30 03:00:31.648  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 30, 2022 3:00:34 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 30, 2022 3:00:34 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 30, 2022 3:00:34 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 30, 2022 3:00:34 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-30 03:00:36.182 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-30 03:00:36.592  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-30 03:00:36.982  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-03-30 03:00:38.404 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-30 03:00:38.409 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-03-30 03:00:38.412 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-30 03:00:38.419 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-03-30 03:00:38.471 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-03-30 03:00:38.474 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-03-30 03:00:38.637 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-30 03:00:39.409 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/]]}
Mar 30, 2022 3:00:40 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-30 03:00:40.612  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 12.815 seconds (JVM running for 14.986)
Mar 30, 2022 3:00:58 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-30 03:01:12.290  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-30 03:01:12.307 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-30 03:01:12.355 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-03-30 03:01:12.359 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-03-30 03:01:12.377  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-03-30 03:01:12.379  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-30 03:01:12.380  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-30 03:01:12.382 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-30 03:01:12.382 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-30 03:01:12.386 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-30 03:01:12.392 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-30 03:01:12.396 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-30 03:01:12.441 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-30 03:01:12.446 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-30 03:01:12.447 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-30 03:01:12.453 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-30 03:01:13.051  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-30 03:01:13.053  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-30 03:01:13.053 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-30 03:01:13.055 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-30 03:01:13.064  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-30 03:01:13.064  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-30 03:01:13.066 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-03-30 03:01:13.066 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-30 03:01:13.066 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-30 03:01:13.079 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-03-30 03:01:13.079 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-30 03:01:13.080 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-30 03:01:13.091 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-03-30 03:01:13.092 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-30 03:01:13.092 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-30 03:01:13.096 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-03-30 03:01:13.128 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: 601190543217511664527488459496336925827321394543
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Mar 30 02:57:46 UTC 2022
           Final Date: Mon Mar 29 02:57:45 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [77:54:1a:e5:0a:1c:09:31:b9:01:7b:5a:45:fa:74:c3:67:5e:59:9b]
            modulus: 939f375860749c7c03118d31bab61c866324e17c83706f98fc61b5be8fb0ebd648f90fdb8e85cb3e5f43e79d532492f9ba1484d68b1a6e6171bac80afc3278b419d6bf364df4ba5696ed87e029eef89001ef7e1cbdb27e03e77009ae5500729046784a614fd04140d20aa9550a63612fe797add6e4bd52d0fb48804af3de573b6cc3bba00ee43c8f353c4ace2db331ffb2fcce517477b76ecfb181e307e7b088d020f8ad1433919c773cd260c5b691545fc48818da4c6c93d5cb08504f20d46272a386be62ca1e6ffdc9afb87011d54aab0b5ee5b2421f924bbbbe54f64685afcdce0129e684d049315bd2330e8760a09e7aacc94520d9a74f338075a59cc61e960f9175f21fc03d93094b3b90c862a098a502fe7b31e5d8bcd0f9edbec0422dfdca42e1b96cda47be579643d51be7e8d243bdc76543842eb923fb63f114ea2b6eb3d328ab39a0cc49ba492a7245053c55d33b5671987c5b56b08cadfcefd1fc532c99c71cc3745f6cf24106284c0ecf8fb3a8338c8666b8bb52cd4e5d9b8b5f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 1ad9cb3352126b6f8c3ef4b3d6459e68cede50dc
                       6370205d68b2ec0a55684829311539630c59f3fc
                       5e943b17aa476143598d5df27efb5c5a920e0ec3
                       6ad8133bd843861a6fde5ac376c12177124faa17
                       58946f03731f3880b33050e975701718e567f0b0
                       4767b44af1f8fa1b59a801360a79180bbd5b9bff
                       99845cf70ab5c745f7d5684bfae440a19188a872
                       ba0a1d7cbb182bf121160afe2152303de2470465
                       483a315205f7cbb3e1993bf099708a4d4140e422
                       f3e0672a74d1a163fd5c9db5d88f26f393439e11
                       58c1b66d07511fdd66cb8ba397ef299bdff56cd6
                       e21194a71840afed805f0c1093c2847fcf5b4754
                       f8c588e8085a0b69efc9d6652a110bbd6283f7bf
                       13cf6e144e8be9353646a35d61f2aaf0a8e403c8
                       9c48c666b67e76bf8022920cb233082f798c578b
                       97e5cd8667072cc2b0f90cdd5e9c200e01028c61
                       2e789d3ec7d28353ec8787332c63fbd0383d5b26
                       5c85f11b5542a7c3ce933d504a345f11b6680a9c
                       3ef0f2a8bba4818a88d210101c95c7a827310507
                       70c25635
       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 [87:37:1c:3c:da:68:03:ae:c5:dc:11:b2:72:53:6a:4b:29:22:40:46]
            modulus: 9448ca09fb14c004432f60b067249374b18d999929293db700adf859bcb1acd88b799bbad26684437b0a8a5f03478b7a6346545a006bf346f6561a21ee0714fb94c686d24f7f7fdcdf0da37b9b76ec7dccc6f68a9d04ad6bd1d875f2e314bc045115b2158cea0fbea98dc727a3e1e68f15738631004be569088e42c43564d904042999fa6c8a0a8c97966ba725cc07f2918cd5c24c2f10fbd173c3b01ed1dd4d9059848d74ce86bdfe7c494d0d612795b66197f10efe12c2f174e472105d318ec367297162b9cbaf7c94bb987cbca295897a3c3dd47c24f0d55a60af2a450f6d64c047d5cf532ac99d600934c4a7ca447b08c72681a1ef0aab266d403580ef37
    public exponent: 10001

]