Results

By type

          2022-04-27 17:19:21,991 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-04-27 17:19:26,001 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-04-27 17:19:28.578  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 27, 2022 5:19:36 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 27, 2022 5:19:36 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 27, 2022 5:19:36 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 27, 2022 5:19:37 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-27 17:19:38.789 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-27 17:19:40.085  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-27 17:19:40.691  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-04-27 17:19:43.387 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-27 17:19:43.390 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-04-27 17:19:43.391 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-27 17:19:43.393 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-04-27 17:19:43.578 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-04-27 17:19:43.583 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-04-27 17:19:43.988 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-27 17:19:48.192 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/]]}
Apr 27, 2022 5:19:50 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-27 17:19:51.995  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 33.084 seconds (JVM running for 39.243)
Apr 27, 2022 5:19:56 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-27 17:21:13.887  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-27 17:21:13.893 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-27 17:21:13.997 DEBUG 1 [nio-8443-exec-5] .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-04-27 17:21:14.000 DEBUG 1 [nio-8443-exec-5] .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-04-27 17:21:14.090  INFO 1 [nio-8443-exec-5] .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-04-27 17:21:14.092  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-27 17:21:14.092  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-27 17:21:14.093 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-27 17:21:14.094 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-27 17:21:14.097 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-27 17:21:14.183 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-27 17:21:14.186 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-27 17:21:14.303 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-27 17:21:14.379 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-27 17:21:14.380 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-27 17:21:14.383 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-27 17:21:15.514  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-27 17:21:15.516  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-27 17:21:15.517 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-27 17:21:15.518 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-27 17:21:15.526  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-27 17:21:15.527  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-27 17:21:15.528 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-27 17:21:15.528 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-27 17:21:15.529 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-27 17:21:15.588 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-27 17:21:15.588 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-27 17:21:15.589 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-27 17:21:15.593 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-27 17:21:15.594 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-27 17:21:15.594 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-27 17:21:15.595 DEBUG 1 [nio-8443-exec-5] 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-04-27 17:21:15.696 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 180704689180240944350702683362360537068461271754
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Apr 27 17:15:30 UTC 2022
           Final Date: Mon Apr 26 17:15:29 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [4c:8b:90:a9:05:95:8c:84:2e:a8:25:21:09:24:c4:c0:a8:84:97:12]
            modulus: e60aab267c6dfb5f99a20527c26b4c50a4cb053c5d630909dce49f24139ecaa72ee8f568d5c4035bc2f04ac6e4fa0f5a53b2034673d8c1d0def0887e0dbbf3eddb2a20acd68563180b658759153440847e956d3b4c9d7f372d692ce7513ae1266ca231ce047395a0abe16ba7bc173f86ff5ad5719da23aed98af58c4ffaa533cc1cbfe916e998db91c9883b3e10b199c2543935aa53c26910b1df6b60a1595f53e2f22f1399346047a1120b762ba01eafdf15f266b23428c1527e92057920a889c6d734ddaaf468ac2d95a37f31f9792ced708ac9afcb30fb537fb1db6459055b70be97c6d015c38de84bf166f69acb95ba1ca0ae6a97613c096e2bb86360dec7b2336e8403459ea3ce6d24e74da3b3c7363ad76b671d8b93cbf1678da5ef5bacd835bbdd7cc037e57fea1c975d5469c9cad5f588bf7cf7ea3c49d1094cf3e67e7bb4f9257c34be5949f22471690886aa14f55650e9680c92b783ca8187a3e9480286ffe27a9ab1f2580b1da6bfd4987bd4c834056543b27f8e545e0efdeddd3
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: e1a19bdb41fced775e1caae5774fbc5c7eb4a533
                       d7e3044d57eb01657acdc5a20fc9114e5b1c9984
                       c18d64eb52be1933fd4f4d2556fef6546c888cf0
                       794867df394d0d54ed5d6b53a62595e14b0e4f5e
                       062f10761a79411175ebbbf518f40bab94f8da89
                       b3ce34dcf94ee485702eba3d4c8f0d90c6559d32
                       84283971abb135a9ce7accc415bcb08f65e77ce4
                       2890b46752820c9f2ff39e99a64d0caa8adfbf3e
                       53862317c8f55b72f5382752e76e811096e8fa3b
                       3c2b172df40b941cf9f815e75e83d883bc8ccdfa
                       38a822b19c0a86de7971f573f71311d2fe2b0a00
                       a4ab713f8a1521f723f92c806b4136857f94a577
                       4cd2404d6f8f99390e6d3ca501ba6069097e3724
                       847a6c24abc5e0de6cab7186dc15ef720f117035
                       33996b08c2438643e463509dd0fb0061a6be7c98
                       e1fb940ac9c9d8733aae94cf300a225efde9b982
                       ff3699e462971322ed4a50c71974c14a696e0655
                       cba0c85194477d23659fb8bfb0606110aea8571e
                       689933399930b452562a82213cfcc60348630937
                       5ce9eaac
       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 [24:aa:14:3e:7e:50:fe:46:20:6e:3b:2c:26:dc:6f:4b:e8:fb:aa:f0]
            modulus: d240ec99750cd296438abf5260b06aec464e139fc48062642ee6b8e64099210ef13f3946ff83935d8baf8e2bf152d766013a0fe0818ea252c0ec47b586f300f0d46e2edeb5a9c18650972ba3be80606cb539e0ffd90d80f9d69675414ccabb3890152c17d7c29df4ee38bed9cf5ded68423df0a5fa7dae731a078488a949f5aa1005c47ea976af26b5a09a8178dd7d812908fbbd58e3ea222b3655921f65590c715f296fa9f20cfec4bada286ea59d3d781500fa730ddc364fe3646de763b9c86d9a7930532004b447758d8a5fca4a4be12c796463ac167ff163d279bc5f5852ba1b5bad2f089c1006496761571b7083b81bd83aaed4d538c1ca4fa1bd3d06f5
    public exponent: 10001

]