Results

By type

          2022-06-06 08:30:01,851 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-06-06 08:30:02,829 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-06-06 08:30:03.700  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 06, 2022 8:30:05 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 06, 2022 8:30:05 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 06, 2022 8:30:05 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 06, 2022 8:30:05 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-06 08:30:06.344 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-06 08:30:06.663  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-06 08:30:06.848  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-06-06 08:30:07.688 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-06 08:30:07.694 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
2022-06-06 08:30:07.697 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-06 08:30:07.705 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-06-06 08:30:07.754 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-06-06 08:30:07.757 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-06-06 08:30:07.885 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-06 08:30:08.573 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/]]}
Jun 06, 2022 8:30:09 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-06 08:30:09.750  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 9.018 seconds (JVM running for 11.142)
Jun 06, 2022 8:30:37 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-06 08:30:58.239  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-06 08:30:58.256 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-06 08:30:58.314 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-06-06 08:30:58.320 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-06-06 08:30:58.353  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-06-06 08:30:58.360  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-06 08:30:58.362  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-06 08:30:58.365 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-06 08:30:58.366 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-06 08:30:58.373 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-06 08:30:58.385 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-06 08:30:58.392 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-06 08:30:58.456 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-06 08:30:58.464 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-06 08:30:58.465 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-06 08:30:58.472 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-06 08:30:59.102  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-06 08:30:59.106  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-06 08:30:59.107 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-06 08:30:59.110 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-06 08:30:59.124  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-06 08:30:59.125  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-06 08:30:59.127 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-06-06 08:30:59.127 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-06 08:30:59.128 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-06 08:30:59.146 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-06-06 08:30:59.147 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-06 08:30:59.147 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-06 08:30:59.160 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-06-06 08:30:59.162 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-06 08:30:59.166 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-06 08:30:59.173 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-06-06 08:30:59.208 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: 285111743824466046918790149707875083774914000257
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Jun 06 08:27:52 UTC 2022
           Final Date: Sat Jun 05 08:27:51 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [5d:7c:f0:e7:34:fd:92:46:c8:d0:b6:3a:ce:91:ad:54:a9:2a:c3:c3]
            modulus: c6a4a78ea28a3080679c2da486bec30d454ecc937bbbc43de2c31863e814b90debd9e10e73bce6ce6d3066c9ad82b42175d7fbb8590e48ccc92d579c330cd6432b19d26cbf18e0ca223a40ff2dfc6484624ae48db30ff536d66d934d1ae53b3a43c43ea55c887c5400d911207f36a40ed427fd85ac61e85ef07df2f35735c9ffd99358226447b9cc61c072f40fae4b6ea54159c823a673e90305c62909cade88ab021ecb0dfd85b1f681ce71d2227307e36557ab60c069c0356f1903df32bb5e03e12785b3362f7fe2d4457918e4b91b65c22acbcffaaf7e16f587ae4309a70cf1725d033fed08596d33cb42df095594e579e215916196a95b2d58866ae98e92070e02bfccd292dcfb8d0329979db6bbfbf23f2c727bd11de2b4c576e313831a0317874fd49eac9e2d200f54b611f82d19c05471ccd5831303231eba66305a151d98c73cfb9985bc18575a931e01ea7a67696f7bc53df7a8f27737e2b3462e8123eb77010557748d880d18bcb444087d95b559de011e8f40c6f5ca3e3961d2fd
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 3dce4f94a08a64ecad4f389b63ce421d634cae5a
                       abff9206578dad2d594caca77720eb8ef4e25284
                       bd837c468b55d210ee83889bf5cef4f1465340d1
                       295d1bbc2c18d236d92adc45069ddd4ab148e034
                       31e089327b571548a25dddcee73adca258fc0ff5
                       3a8c8a4b5e9b619a388ac24e4de98b7050d55fcc
                       7137c582cb77910c3b9726c6b1fd2e873af6fbdd
                       a1203983b8c5b472d8905446fd65fb3336ac35ac
                       b984fd4cba37b86723c4bd5b0db2d4d8dc4b519f
                       31fbd7b777b91e33bd9d51667745018400981fb7
                       917490f1ea2be94a4c4617c589fe541cff284bd0
                       c5ef8eecbaf324a7cd623641427b45fd0051b8e1
                       1f12fdbdc666979d43caa03181bc42acf10387f4
                       0b0a271cc3dc7124ae2e5a1696d67461902e2363
                       3444abe7d70b9eb6f40215d54bdafa0307a2632d
                       6710055f4a71a738fdc3879416b87e7fe48ee5dd
                       69f734394055a6482f27104c55f3ada5745628bd
                       9921fdc00a9b60d0687c2822c6a1b5ee35f839b3
                       b829815ac751574b4531a4380ba312d10831a70c
                       8aaf4244
       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 [ba:96:71:9a:ae:26:70:ad:d5:b0:fc:cd:dc:8c:04:70:88:c9:f6:34]
            modulus: b52ea47877f2e15938bf9c9cb76116a23b7352839d51f61eb7f1f155981f2f40b0c379c5ff9bb5f3892db5fe8a8ace8b266334728a7a4573f797984c28a99eb79dd9d2518e0c4cd6c81a59767cdda6d31029fbfec8fda80bae59f8d7d6963bd97e883e013b2cc7b4d0c0b09425070a0d4de24e389c55510423206f1dd18afee56224322aedad77ea1da6b306c0a9e89b9066a50a8860a9287da0afce55e3bef93436378f7d76435ced1e1f8c390b05177af709f0dd08a77a72835fb7233ce8be2a2a47810857b75379d6243da8affed8aafbdd7f98cf3a5f800d213160609842861fc6493524a99d4cba8e2c806cea4eefd3874dca336770be3e16a3862f7f55
    public exponent: 10001

]