Results

By type

          2022-03-16 13:10:21,046 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-16 13:10:22,375 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-16 13:10:23.463  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 16, 2022 1:10:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 16, 2022 1:10:26 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 16, 2022 1:10:26 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 16, 2022 1:10:26 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-16 13:10:27.207 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-16 13:10:27.640  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-16 13:10:27.845  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-16 13:10:28.903 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-16 13:10:28.909 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-03-16 13:10:28.912 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-16 13:10:28.918 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-16 13:10:28.972 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-16 13:10:28.977 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-16 13:10:29.141 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-16 13:10:29.964 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 16, 2022 1:10:30 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-16 13:10:31.229  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 11.34 seconds (JVM running for 13.825)
Mar 16, 2022 1:10:50 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-16 13:12:11.035  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-16 13:12:11.050 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-16 13:12:11.094 DEBUG 1 [nio-8443-exec-3] .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-16 13:12:11.102 DEBUG 1 [nio-8443-exec-3] .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-16 13:12:11.123  INFO 1 [nio-8443-exec-3] .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-16 13:12:11.127  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-16 13:12:11.128  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-16 13:12:11.130 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-16 13:12:11.130 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-16 13:12:11.135 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-16 13:12:11.144 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-16 13:12:11.148 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-16 13:12:11.190 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-16 13:12:11.196 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-16 13:12:11.197 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-16 13:12:11.201 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-16 13:12:12.030  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-16 13:12:12.033  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-16 13:12:12.033 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-16 13:12:12.035 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-16 13:12:12.048  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-16 13:12:12.050  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-16 13:12:12.051 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-16 13:12:12.051 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-16 13:12:12.052 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-16 13:12:12.069 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-16 13:12:12.070 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-16 13:12:12.071 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-16 13:12:12.093 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-16 13:12:12.096 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-16 13:12:12.097 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-16 13:12:12.100 DEBUG 1 [nio-8443-exec-3] 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-16 13:12:12.150 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 547301566148651345037510218850465017064477708766
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Mar 16 13:07:31 UTC 2022
           Final Date: Mon Mar 15 13:07:30 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [7d:e1:b5:4d:15:6e:3e:5d:e1:14:84:65:17:82:c6:44:9d:c1:00:2f]
            modulus: d77e1037e1624edbff52efd04d9de1208f98f7258d6d358caa3b975046c37c46a920d5d9cfa1b23abe9637aa009dd548f604c2975bfdf2ef98de32cdc7f3fc2d69242bff88f98d9d1ce8779ad6c750a39fcb9ed6438e879ad02f1ad46e5ab9cfd3c636bfd99bb1ab3bc3f8b88da811ead5edb9d50c4bf482da10a304ac2c8bad29e412afb72ce6ab077e00d4f2ee254bfee9abc6601e7ddf659bd924d4911477a0c46ce9c43bd29ae37cb5e38b2629e3282b6ca42ae22fe158254f60badeb2dcefac21fb835ba0bb1c99a28e4a36fff31d9c52bcf55e9d9135cd933216ed236d63267e82021fd2b3a29891989c6c6d3cfdc7d60360ce5a82a7f49c099f7aff95964476f4caf32347ca800bf9258589f9aad5390c037cd2805c253a363f0f607b14c1f1af8135b39cc9d67834fbe0cccee30424720fc51ca4e0192323ec1d25a6cb5fc809701824d090529cbe833e2433e7cc2c97f36f9ba669055622688254ac24d68e50b638a174d6cc28899f62161385e29adffe41131176f67f905212b42d
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9ac1cf6c0225f2ec06e219a6db4d7ba9f3185445
                       e9d00ac9e5c749c6499c41bd4f4fb028b5601575
                       67b879ed3ffdefd5dde7412ec43237de7b647c2d
                       19c84bd63b316aac78d7ee4607eb5a07b66d4a25
                       e0cd55e9106b49c0b186d95ea20665c67c153873
                       d3856af415ba734d868890903959bf4967b2457b
                       cac2a687aa380e909bfcf6b310a4f7487cf87c82
                       ce495e4b3c85b72aa0813b2528bec6b3cf4add7a
                       9ce173289d031d08237a613870e64edb966f6b7c
                       938415fe54562994cd4c0fc8f9b40c02efc585f6
                       61ea7f3e1a76ed5ee5abe9374faf61a3f0309828
                       7b8c7c7f79832564a4f9ca0003d8c983d34d9459
                       1a375aa0f3582010b520b392e0fada8b6f208195
                       9b0f352e81e128ae845400117f8389070bbd6adc
                       e1d72dc0d0484e97487652d00f7bb5ed77f4e414
                       db4fd550ca7097b2205363d83b37a0d334697a9d
                       7c0dd9355db75d80f8b86baa664df621ec3519ec
                       18c7dd3b49e6c888709b24f70a85b780070f2831
                       4e7c0680fc8be468eb0f496e8f5acb94b1060ef5
                       621ac74e
       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 [00:15:a5:85:8c:4a:70:05:1a:71:30:ee:11:68:72:b0:86:bb:4e:14]
            modulus: b9d24cb6e2d4289b09d466112756d0838576545de32fe0492d9216e5d6fa76794e174a8969d855fd8896ea317a20d125706c46e75d29bec775009ed0ea007df8653a1ad621aeda4d9267d3f1370a925afdd72bf8136c0870d5cbec6e0b1a949b33ee4e26ff6c88cf0eec62e51fd47b9b07239ee00aedd7331c45ef6dab56ac472efea30921d227fb391388a7615c3abb03d20d0761f0d59a23910f2bde5748f87575bc518c8ffceb25ba5d81df0bea02776bbcb84b70fc54889f5931cee071fe403b027770160cd76293b1444e5d69905281cae494f5516b4630b8d15e08f8213a988ba9132e54c8356dcd390ca82d76f4ebbf2cb4798c765c393edc1d50af53
    public exponent: 10001

]