Results

By type

          2022-03-20 23:09:58,224 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-20 23:09:58,910 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-20 23:09:59.520  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 20, 2022 11:10:01 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 20, 2022 11:10:01 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 20, 2022 11:10:01 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 20, 2022 11:10:01 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-20 23:10:01.528 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-20 23:10:01.770  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-20 23:10:01.907  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-20 23:10:02.439 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-20 23:10:02.441 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-20 23:10:02.442 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-20 23:10:02.444 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-20 23:10:02.475 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-03-20 23:10:02.478 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-20 23:10:02.566 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-20 23:10:03.025 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 20, 2022 11:10:03 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-20 23:10:03.751  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.073 seconds (JVM running for 7.32)
Mar 20, 2022 11:10:29 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-20 23:10:51.109  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-20 23:10:51.116 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-20 23:10:51.148 DEBUG 1 [nio-8443-exec-8] .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-20 23:10:51.159 DEBUG 1 [nio-8443-exec-8] .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-20 23:10:51.180  INFO 1 [nio-8443-exec-8] .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-20 23:10:51.182  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-20 23:10:51.183  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-20 23:10:51.184 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-20 23:10:51.185 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-20 23:10:51.188 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-20 23:10:51.207 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-20 23:10:51.212 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-20 23:10:51.249 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-20 23:10:51.262 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-20 23:10:51.262 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-20 23:10:51.265 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-20 23:10:51.805  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-20 23:10:51.810  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-20 23:10:51.810 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-20 23:10:51.811 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-20 23:10:51.818  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-20 23:10:51.819  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-20 23:10:51.820 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-20 23:10:51.821 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-20 23:10:51.821 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-20 23:10:51.834 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-20 23:10:51.835 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-20 23:10:51.835 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-20 23:10:51.842 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-20 23:10:51.843 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-20 23:10:51.843 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-20 23:10:51.846 DEBUG 1 [nio-8443-exec-8] 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-20 23:10:51.872 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 102805521814403373734159241483786899303912374188
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Mar 20 23:08:17 UTC 2022
           Final Date: Fri Mar 19 23:08:16 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [7a:62:b7:ae:e5:da:31:a9:ab:04:a7:0f:f6:44:4b:72:fc:5d:93:37]
            modulus: 993a15470458d880eea28c3e6dfea515329377c639c75bc5453bf760341e9846acd7ac4babc811718f7384bbe23469b9d85c33ad8dbc742ef54d155ebf2fe12516703fb6949a06b1f22bf30838bb5d9d0e688d5fea6414c8211b446c9cde3525d538e0249d4a40ff130f57e813ceb700008e90c2ba4b2a13e113699f7000e0223d566471232a5630d36c20c565efb3417993397601c4c50028d770e29690d2497902494641d5a4edcb2ceefbb41ca88dd9cda1482fa859950f88756932b8cd1ad31a6cf9a786a03811ce93cea4bfecc4638b93422a54bb0eed109e456d9b164ed6a199e586072095508451b002594a1ea28b7ab9fa82fa46b7b9556016162a88bd352615ea1890811aa1c40265a45899a4dbe3f994a593238bcb70036e3e9b1921e9bd87d6ccf36920a27c77806bf3cacbd48807fb0784feffe5d0be8cbff9dd1032472e2cc2f1cb23b05e04a769d904a18cf7496919da9f1308ebc5824689cebad377b800ab9ed43ff9dfd330d8f1c0056a4d6ffee8d6a2edff8da5f1145fab
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 65754127e382b59396895dfe38843a0e06ca16fa
                       470ff179a4b79dc6e36167f21108809879f97c9a
                       c350c4ed2d981983a1562d7451d3062a6100fa53
                       5790d437f5313157ce1892b63baba68d7657dc0f
                       a76522d89a3217062bce5e54d805e9e2acb8e052
                       7d386f74ebea373631674c4dc03ab3b363f2e4b9
                       cd01c0c186b7681f77e1530d520a540fd89958cf
                       9d576b985d038a9afad5aa80688e289be1ef3c0f
                       96e70105ecce00f29f7fcdc2d081b0e71bacff26
                       78092c9bd581d01dc567ccb48dc47a957ede6cc7
                       b514a3052792c313c6664143071c638ad759edc8
                       5f7057bf0af58162667c6011977063122ec52b37
                       d71b5bafcc22188d84064c83a03b95824bfa7ac5
                       b638a2a34fcc9b2bbc7fb72312bed653a1749bba
                       2fd86eb18eb64eb3ef1365a941fc4c0a92a303c3
                       4ed989cfdde72a47596362413da580010e51dee5
                       48db3e9125191e025999f07e8e54e19fb2656bd1
                       d4523be08ace703ae5042088dbcc90a632ac1cec
                       0b70771913da443c57b2e0f1c9c8a40844a2da79
                       6e7afce0
       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 [43:1d:b8:cb:de:9c:9f:d8:43:7c:83:74:72:79:10:fc:8d:c2:89:39]
            modulus: ba21d17f3ce56b84f2653f15c4f9c5009890edbb00baa27171e0e9ed75ecd9f0d343a9974f36626f9832e5ae23eca744c56b8d3d2aef22add736b1ec11f0c83d9835a518c7c238692e88221dab18ce376e1ca6e7807a6572b904f6d55ed563f6b4cf0cfbe0d038feba7b2cb95d409d12a2ab285618c7982527f96a63903ebceb8d17cbb209877f7692b6d5cb5a41fb22e41f59c089eae230b7877da12707de0a1ea6ced751d0c4f80c1d944de74c752705f75db497e28106b2b8fa21fea3c3aaf8bc7ba164269ee70125277cb9bf8a8f19b2e32d046bccf5286589444c87af04e29cf35f1821b2f651c068febc99d30c0885714b48b18769a4fe1318aeaa588f
    public exponent: 10001

]