Results

By type

          2022-10-21 08:05:52,125 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-10-21 08:05:53,495 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-10-21 08:05:54.394  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Oct 21, 2022 8:05:56 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Oct 21, 2022 8:05:56 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Oct 21, 2022 8:05:56 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Oct 21, 2022 8:05:57 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-10-21 08:05:57.741 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-10-21 08:05:58.204  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-10-21 08:05:58.399  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-10-21 08:05:59.903 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-10-21 08:05:59.910 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-10-21 08:05:59.914 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-10-21 08:05:59.960 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-10-21 08:06:00.013 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-10-21 08:06:00.017 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-10-21 08:06:00.174 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-10-21 08:06:01.136 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/]]}
Oct 21, 2022 8:06:02 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-10-21 08:06:02.456  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 11.376 seconds (JVM running for 13.814)
Oct 21, 2022 8:06:19 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-10-21 08:06:34.669  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-10-21 08:06:34.679 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-10-21 08:06:34.731 DEBUG 1 [nio-8443-exec-4] .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-10-21 08:06:34.734 DEBUG 1 [nio-8443-exec-4] .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-10-21 08:06:34.757  INFO 1 [nio-8443-exec-4] .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-10-21 08:06:34.761  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-10-21 08:06:34.762  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-10-21 08:06:34.763 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-10-21 08:06:34.764 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-10-21 08:06:34.768 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-10-21 08:06:34.776 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-10-21 08:06:34.780 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-10-21 08:06:34.836 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-10-21 08:06:34.843 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-10-21 08:06:34.844 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-10-21 08:06:34.848 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-10-21 08:06:35.394  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-10-21 08:06:35.397  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-10-21 08:06:35.397 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-10-21 08:06:35.399 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-10-21 08:06:35.408  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-10-21 08:06:35.409  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-10-21 08:06:35.410 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-10-21 08:06:35.411 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-10-21 08:06:35.411 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-10-21 08:06:35.426 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-10-21 08:06:35.427 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-10-21 08:06:35.427 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-10-21 08:06:35.433 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-10-21 08:06:35.434 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-10-21 08:06:35.434 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-10-21 08:06:35.435 DEBUG 1 [nio-8443-exec-4] 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-10-21 08:06:35.470 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 696443217748555416225095593515302713360034442723
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Oct 21 08:03:39 UTC 2022
           Final Date: Wed Oct 20 08:03:38 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [7a:3b:6f:c2:ff:79:fe:f5:38:6d:0e:33:18:0d:bb:c3:a7:6b:d4:0d],[56:66:d1:a4]
        modulus: b67a0fcfa0cc5d311dfebecf4745f0e1342fdfe780718ec11442bbbd0c698a7587956538edd15a43980fc83e1d4ff0a91ec4677b2bd72dbcaceb763054670caf44810c64c0580a627f5a49368087e9d0dc3d535a413d3c9d0d7a70de993a375360400cfffcb6a3acc184534cadf377bfb3172540a3d74e4dc3e268080c0b9516579471320dd004c2848b8d778c531bf845c5998a043736a20d12ad8dec3da733b80df06fb753ab0f007aca42d8458b75a71a40467f800aea7b5bf3a64ed6313088d90601166a0516e072ea3e9b4291e0fea2f6ef1dcc4d342c036f82b63fe13abb62a7fb3c0402b1440b8d1e3fe165389d8f4de00ca91756f3330c8555015421869658cf272e6cdee759eaba2d836dbdbe7e14de1bf441fbdfd7f6180e8344743d24fd4c038be2ce222ae9e122bf0d383e69e3f3baa0144b58b53f251a872b0d3d1e03fc3886d60c3fcf8a193f5a4ba8de05034856d95ced672db34572c6106a4cd85adb3f71e1e8f960c5e68c184873045c4f9f4f4b65c9b52dd17746cf095b
public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 4a1c96037890c623cf6559983de47c929eb5f352
                       67e8eb49b2fb7d72032b9fb211afe836ceff4577
                       4152ddd3fbc2b2d0b16d35c7288f95e6fd2ecf33
                       f1a65b591bb0e8348ff4c2145423690611cfa243
                       cf9231f3ecaa59d8fecb47c4aa6f0104ad754b4c
                       0a5b4d97280407a9b979a643356cb1725551f4b1
                       966ae452c5713925f3c886df3a28d96501fabf7e
                       342da0f688dfd79f2388797f9a2ce31685fb0db2
                       8bf09adf0eeec0875ebe09f26cb696e24d4bbc87
                       20eae0b9f17e7ca76c0a157603dd601f31ad46a4
                       15f9cfa66faa2a499c617077d08705afa46d4c35
                       d03aca0ea3d08d6e6b1bafd61b17f4ab69423984
                       4d12b591974ab1ebc80b41ed910973696e89f59a
                       1eb351d1f71092d052c091decf944eb88e7ac520
                       6ebb0fe3eff89971099135a94d6148b3631f7e0a
                       9668feb52c32f00779ddb40658ef5a1a589d2267
                       76f724bb29cf4fe4453a13d88ef927bde8ddab43
                       07804e601ba34a24b9ac340e0a5384b8eae83e0d
                       4cf7889482aa9a0320352b9b0546e484eab2fdc5
                       0fd47ed4
       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 [f2:80:38:cb:42:5d:13:0e:e8:db:11:b2:8e:95:c5:7b:28:b2:77:7d],[56:66:d1:a4]
        modulus: b54bf8be05ece9ddbe4928efa904152e89b93d947e9a6ba6fc55491cf3f50e9c0edee9e15ac3dc2912b6f0385d330f7491cff2c1edeb1d87f16af674e2b18fdf435de6dc7169f4e0f19a695dd4e3d5562351d6e15248a8b4ca8c88b6aba80752b61c1e31800cabfae7281fbd3a12020d69d75eed68f788382469b57b81bcf723037acfd2207671f3134c555deca317160095e2a6e65d8af5dece28a97e330fa9fa06dd13baf11e316c9f0c2cc3e05ba16cfde0df61f8fbe291d0e41f7d13f4728e1c0aff2c6a6d34728cd073e1fc402e3012b86d544d7b2b97bc2773fe7f07527cd4139bde0189f0a138e55fb18591fc39cb0a5272b7e9f0db2a28472137fd4b
public exponent: 10001

]