Results

By type

          2022-03-25 02:21:29,315 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-25 02:21:33,217 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-25 02:21:36.108  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 25, 2022 2:21:44 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 25, 2022 2:21:44 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 25, 2022 2:21:44 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 25, 2022 2:21:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-25 02:21:46.607 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-25 02:21:47.818  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-25 02:21:48.505  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-25 02:21:51.324 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-25 02:21:51.403 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-25 02:21:51.405 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-25 02:21:51.408 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-25 02:21:51.525 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-25 02:21:51.605 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-25 02:21:52.009 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-25 02:21:55.714 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 25, 2022 2:21:58 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-25 02:21:59.624  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 33.299 seconds (JVM running for 39.773)
Mar 25, 2022 2:22:08 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-25 02:22:32.705  INFO 1 [nio-8443-exec-6] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-25 02:22:32.711 DEBUG 1 [nio-8443-exec-6] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-25 02:22:32.820 DEBUG 1 [nio-8443-exec-6] .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-25 02:22:32.823 DEBUG 1 [nio-8443-exec-6] .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-25 02:22:32.914  INFO 1 [nio-8443-exec-6] .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-25 02:22:32.916  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-25 02:22:32.916  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-25 02:22:32.918 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-25 02:22:32.918 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-25 02:22:32.921 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-25 02:22:33.008 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-25 02:22:33.010 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-25 02:22:33.126 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-25 02:22:33.208 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-25 02:22:33.209 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-25 02:22:33.212 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-25 02:22:34.432  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-25 02:22:34.434  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-25 02:22:34.435 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-25 02:22:34.436 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-25 02:22:34.443  INFO 1 [nio-8443-exec-6] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-25 02:22:34.444  INFO 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-25 02:22:34.445 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-25 02:22:34.445 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-25 02:22:34.446 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-25 02:22:34.514 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-25 02:22:34.514 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-25 02:22:34.515 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-25 02:22:34.520 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-25 02:22:34.520 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-25 02:22:34.520 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-25 02:22:34.522 DEBUG 1 [nio-8443-exec-6] 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-25 02:22:34.628 DEBUG 1 [nio-8443-exec-6] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 602113525676466842051713643072655267078819169997
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Mar 25 02:17:45 UTC 2022
           Final Date: Wed Mar 24 02:17:44 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [3a:80:24:64:f0:39:0b:bf:7a:93:36:fe:59:7d:8a:22:fe:2d:3d:a1]
            modulus: 9df0eab27acc64f2f0891fa0b481d05526f90a35cdd82bb5847086a202ba56cd28f5e3e4bd993a57cf7c594ed78b97d6bda8872c3ce8596330d8a6f23e6d486738aafa5770893087f923a983ee2594c7f3e52897c935679c1a498c6c16a7ba3d39ba43e8c5fa380fd3f1d1bd6c2ab3411d68b53a0784cf5398db2bd924b655a1774a9750ba4f3446295447e3a070726970795eb50afc18ebf13cb153271b34a67e6b4b594f624ec3ca1e1344116e938d6ec687c0b38c4de927c82c0b2ebf3f4acad08764dd403442089c3bce7b62c08f210080999ebde1bc36aeedcc9746008413b0551319508cbc23e3d6076826b06cf102db1d8f6155d800bea46d8c50377d6fe44bea466bfff7d1a9b3697d372495cef8277c81b13c869806f0b355d98e15abc12845a53d4006c5c122a3da8f57e4392c4b30b04bfe32ae2a18d7964d34173389cfbf05b5c4b8130f6a5828643bed10f72bc44f050760141d901524d357a3708801e595277eb55c5ed25a6ecb3818cbf943f5c4262e5f861ea1bbc067e0a9
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 4c920293af9a27bf842f61ba89df12a7e9068c20
                       b32f71bf6090e2aa89ee630f6a7bce33973164aa
                       fdff1d8b7a196b65fccc00db935a932497c68a54
                       96db893b576895ade8f524e488fc373ba69dc446
                       def6b67f81bc5a1452a28aef10a49ac9bb5a4254
                       36ad1369d36dab4b21d32fdc5addc9ebf8c3f0b7
                       5258dc224b090da2a61f82639cf422e8c821d719
                       6073abf72d1924ad513e59914e4fc9ae7cf33bfe
                       a9bdfaa9189900bf7f7f8e24d1aaff94f9a873d2
                       5add7700d38534c4ac44fbd666f94987989b7897
                       12d79012e3292679b98d9192baf3c6000d591cd7
                       67adaa069a45f2a68690254fda7ba48a29b85514
                       44cc32a21b98beab0de15ef966934b99960a04e1
                       bd668edb8dd727940733de98b91b3216fb46ea5b
                       c2b2391fbbf673c3a46af1474d29b52ad6acddc7
                       027db582b93e56152e00ac6dc20486f504ff41f0
                       4b441921dde537635ec00dd154eeb3581fdbc649
                       fe4c1d4095afce981dfce6eadec099bc79ddc47d
                       b25894fdb48aff2c225781e95bd86ed997431464
                       e15ed523
       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 [1e:94:69:da:be:24:21:c1:a5:9b:c8:59:eb:35:f4:22:1e:cc:f0:c3]
            modulus: cbabf5b4ec25982501b185067f28a71b650dc965ae1f94c42beb97bdb836b23040736830a69d63b98f6b26b6ab99b051711e186cd9a4f34980a938e5f6c719773913eda9607367443b75f1b92bd974833c180cf876b83aa7630349fb28f17f3bab12556d8b642646e088964be376092c2c6cb9dc868db1b569d68bf6d71087d815ddf7b45861e6011602ddf8736bd6bb3cb0adeb3a4c397ec671c8ecb232d0334e497c88d1056c15ad9cac5a8397e956cdc03597850f20ff5cea8c3fa92a4ce738228e8e7a5e77713bdb499e17413346d6150b0259ed4b359c4b19591bb6d34472d5aafbba9f847612d4795c6795a783f1da0683bb0866be7336a11b59d001db
    public exponent: 10001

]