Results

By type

          2022-11-24 04:51:49,481 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-11-24 04:51:50,514 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-11-24 04:51:51.237  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Nov 24, 2022 4:51:53 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Nov 24, 2022 4:51:53 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Nov 24, 2022 4:51:53 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Nov 24, 2022 4:51:53 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-11-24 04:51:54.116 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-11-24 04:51:54.496  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-11-24 04:51:54.689  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-11-24 04:51:55.409 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-11-24 04:51:55.412 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-11-24 04:51:55.414 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-11-24 04:51:55.418 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-11-24 04:51:55.456 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-11-24 04:51:55.458 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-11-24 04:51:55.588 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-11-24 04:51:56.290 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/]]}
Nov 24, 2022 4:51:56 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-11-24 04:51:57.189  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.547 seconds (JVM running for 10.281)
Nov 24, 2022 4:52:24 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-11-24 04:53:33.236  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-11-24 04:53:33.243 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-11-24 04:53:33.284 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-11-24 04:53:33.288 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-11-24 04:53:33.314  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-11-24 04:53:33.318  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-11-24 04:53:33.319  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-11-24 04:53:33.321 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-24 04:53:33.322 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-24 04:53:33.328 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-11-24 04:53:33.339 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-11-24 04:53:33.343 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-11-24 04:53:33.391 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-11-24 04:53:33.398 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-24 04:53:33.399 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-11-24 04:53:33.403 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-24 04:53:34.081  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-11-24 04:53:34.084  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-11-24 04:53:34.085 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-11-24 04:53:34.086 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-11-24 04:53:34.098  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-11-24 04:53:34.099  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-11-24 04:53:34.100 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-11-24 04:53:34.100 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-24 04:53:34.101 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-24 04:53:34.116 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-11-24 04:53:34.117 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-24 04:53:34.117 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-24 04:53:34.123 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-11-24 04:53:34.124 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-11-24 04:53:34.124 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-11-24 04:53:34.125 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-11-24 04:53:34.160 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: 231386589127374206264312096021368326948740015247
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Nov 24 04:49:21 UTC 2022
           Final Date: Tue Nov 23 04:49:20 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [f9:73:bb:f6:2b:8c:ae:e7:0b:b7:c6:09:31:9c:23:ca:f0:29:01:3d],[56:66:d1:a4]
        modulus: a95d3d2d66fcbeb9fb5d4da34824ba341f0b91bc60e56bae5fb756603bea9c1719677bb971b0bf5d7991b9a91d2d4aee997a8c98a6b645664f0a5532b29945b7ef1afdedacbac084d345b62f02ddc63651344a07a18edacf89d036702abbb2dc254fefe808e989f9f2c05ec7b3c90bbbaf5c30931ec958f74f878376ae2b576bde0b651260e6a7185874d4249dbe432ee7c158f527b3f2e9ab420c0c43d3b57c257db36bbf933a5c3ed0ef2f228f6bd5feaca8ac59e04248c1b010e3863c9509319ea61cd0606b451ada26dbb0aa45d5deb93196bc567dfd0e80eb73e5b5762997c257dd02df5677c9786ed72f785c40df831be9a03bd20eb3513847b85da5da5731d25e103f56567d85ffdc860fba9a61ccceb5c8bdf93455ccbedcff2749e82777e62a9b6bc3a20fce09260520d16bd05aa6727675fa02a1ba99432f33913bb01fb009078c6c965f7b6a3c950a7cceeff31b7b49956489846bcfe52c365ef297218fcbe28d31bfd7f804d1ad24d8a6927d6734fb9702ce32d3362fa87be869
public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 48788f10dcee02a64c52c05dc257eeac18789ca3
                       b78c4be2fb5ec3e4efde2e46f276b0bd5127e193
                       0cdf2a483f9bab7ff7bcea077a200d0d6d5d7f1d
                       8ae461817b5e2158f218b86359216955114d1f5d
                       04c29163d9609caeb023e7ab9565f92eaf6aeca0
                       92b4c297767c02275b223e6d47d9f563c7309b01
                       440e83018fe5f19b071c9c40d8a5a17706954e4e
                       d4b355e5bd563aed7c40507637e44a3c8d39949b
                       574680d248cd548e3360214d3c3ef11028e5e9ad
                       2b50625e9fec3127992085c43536bfe4e8141a3d
                       bcfd418a4bf18be51e32d8cf2d13db39e4b4528b
                       d3f11eea732f8ea9187fe3301b5bd8d4ae0362b1
                       786fb200974f123b5ec8ab248b044bcf09f0c738
                       f9c39de0a83ddc107390d82a00a3040d4a9d9573
                       3d909cd00a1dbad10582aebe29c14b497e39db71
                       23eca7e4bd94777ddaaeb7adb7eac19a4b212569
                       086c252e96cc7817b1ab22b54f5df213766d81e6
                       e1b5eb99760a0fb9cca8f2a6250541131afce6f8
                       74c31bfa15324f7a822c69c5b377681a9348af00
                       ffd858a8
       Extensions: 
                       critical(true) BasicConstraints: isCa(true)
                       critical(false) 2.5.29.35 value = Sequence
    Tagged [CONTEXT 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 [04:8f:2f:b6:b6:f3:ea:9f:57:4b:88:67:0a:ba:90:1e:28:f6:cb:d5],[56:66:d1:a4]
        modulus: bc59d068bb76738ed7905031c106c46def2af7ee32c5a8943c8361a04f242eabdb249061d81170ed888f8036f494805daff8870e42f4bfdbb9ac199d0bdd6bfa8843275ff71ff8c9afd9797c1068974256d57ff6c0fd30b214c17cd16dfc5d1c56c5d065d67fbf3c2664d78348c53d72884655fc62e3737357496acc0a795dd155ed6504e29b346d56cfd153ed3fb5ec4265e493f1e0976cd375c28df1f56edf48fbd683952d5067eb1b555bf4e814c42bc0d1953a532088ed622d3170208db1cee2cfe9e68f01a09c34bfaf95a249c51653a669dd021a5b002ca0b204239bad95c757d54a8eb1ede18175b1ecb08b34d19876878f503fa8f542d145eb47897d
public exponent: 10001

]