Results

By type

          2022-02-16 23:24:31,415 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-02-16 23:24:32,287 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-02-16 23:24:32.949  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 16, 2022 11:24:34 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 16, 2022 11:24:34 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 16, 2022 11:24:34 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 16, 2022 11:24:34 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-16 23:24:35.266 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-16 23:24:35.564  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-16 23:24:35.702  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-16 23:24:36.412 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-16 23:24:36.415 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-02-16 23:24:36.416 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-16 23:24:36.419 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-02-16 23:24:36.455 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-02-16 23:24:36.457 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-02-16 23:24:36.566 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-16 23:24:37.267 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/]]}
Feb 16, 2022 11:24:38 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-16 23:24:38.374  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.649 seconds (JVM running for 9.253)
Feb 16, 2022 11:25:04 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-16 23:25:36.112  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-16 23:25:36.121 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-16 23:25:36.153 DEBUG 1 [nio-8443-exec-2] .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-02-16 23:25:36.157 DEBUG 1 [nio-8443-exec-2] .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-02-16 23:25:36.174  INFO 1 [nio-8443-exec-2] .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-02-16 23:25:36.177  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-16 23:25:36.178  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-16 23:25:36.179 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-16 23:25:36.179 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-16 23:25:36.182 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-16 23:25:36.188 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-16 23:25:36.191 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-16 23:25:36.224 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-16 23:25:36.240 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-16 23:25:36.240 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-16 23:25:36.245 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-16 23:25:36.873  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-16 23:25:36.876  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-16 23:25:36.876 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-16 23:25:36.877 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-16 23:25:36.893  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-16 23:25:36.895  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-16 23:25:36.896 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-16 23:25:36.897 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-16 23:25:36.897 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-16 23:25:36.908 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-16 23:25:36.909 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-16 23:25:36.909 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-16 23:25:36.914 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-16 23:25:36.914 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-16 23:25:36.915 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-16 23:25:36.916 DEBUG 1 [nio-8443-exec-2] 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-02-16 23:25:36.940 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 306796823252443416407523872942533695246835263539
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Feb 16 23:20:33 UTC 2022
           Final Date: Mon Feb 16 23:20:32 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [95:89:10:91:fd:17:a9:52:1e:c2:b5:be:60:9f:f8:30:28:78:c4:f8]
            modulus: b3b36788bd80cfaace3d8c578a601bedb06e310a7a78d26916c164ca5e3e50e58b16ea379fd3e3094cfa79baf041e361247e93a1bbbe17344ca20296d21c0edeee145d4403e2acd6c6162c86ae1fa6935a9a216759d8196ec6a498f8ee4b0f636be5277d01bc80e10ae390a48692a83031efaa5895878e4d146c59acc43e3cb3a11621b6cb4295fe51a73040944e50927164faa18f26a04d035f8dcb5d564d3a4519db1d8a10fedba780114c68e54acc15a47e67690505db86e766d248e63c6162126e8d6c73adc02f61e4fffaca1ab00a2e8558e33f7f98a89f17a9d6219298a53b8e0cb3a12f12bac7e58ee90053326a5ca240709ac6cc22c0e7ad0e788cc5c47e6fa0e5b139f6fc1f93c460e8f9fa90feede93b15a2f3fb7fe400f00780501cf5997bbab9ae1a4750eeddb09cb07cc683f96203c36f9e5e303d2822b6b5f2aa14910cc411403bec0bc255d92f855f0db88b44a648bc81b3a94023f07715b04e23b1ce27b3df2576cafe623e4bab1ac010cf22cbc0f8dcdfa5aca9277e6ebb
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 3ac3587ae0a5c6d07289db81a966c21a156006ef
                       10a5b05a393ba0620162a4d37734272a38c4d8e4
                       efd94439d9b114bf1b3414000a2f0a0a3a3e2018
                       367be89cb3df06579020723a0fad2d39889a2a15
                       24fa65f58147bdc3a6d2ca94eb9b6a19345f91ad
                       645cb86ba48f79a0e3b760f9481c77e7123c5429
                       364d4ac95a5c1f16d7fe7e279f08b2ddacb09b25
                       ad11104da82eab92c0d22a1ad9502ec855f9c588
                       fae5169a0b4677ccebbef0abfadb9691e7c3edeb
                       8e8fd79f1838603e0d7379e0929d149b1d903f1c
                       aa02e841f20506f8296ae300385dee27b1391c23
                       a9a3d5b3761315c14a8b305b267320cc7df3b479
                       a1bc2f9803a0018a86bdf4cd4b4a6998a7402eb6
                       b00d89efd940a38776556fd6f7cc2f29b33c92b1
                       a70d7722392cdcab8a5c2ece8c467bbef5c97e35
                       d026a7e88b6f3adbfc6e7f7d999877b31aeb0554
                       5e66aad026af53055f0b721bb3518f22d99d93d3
                       1154f9347925db1f6c4c1216d032811d08f85cfe
                       83f58a119d70ca2bd38de8cfd7f796326d4e829f
                       6dcd62a4
       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 [8a:88:f9:20:f9:01:05:5b:81:6b:10:42:b2:a1:68:c2:c8:ba:34:a8]
            modulus: daee20a91e7afa3ab7264d7c73f59c69c559683c91ade3daf54eaf19a6bdc8524a031c35d87d06822ed078026056c5154ea016f27ed8b1cd169bd0444d63be9bc3d65318109d198aa6cfde1f4e4bae1f12fef9c92f945f2532c29f8676ce2ae3bbf600c8e4f6541292e3a13582ed22c48d0e5556bf67d88a47c7690d85f41e627ecba025c5c39a755bb70b8b79e305a97e958798a7e41fa6c5cfeab24114f11757a2b0dcbbdcbf00bec049c21b39345173eb129b95e5cf92e4030c5d18ba75fd1f91526b663dc5a835ecd3c1c3965501298bacfaa5bcb7547faa2b3c7911a519ad11b189de8c2622ccbdddf2fba52467bd5dce7cbebe72bb8723514fe09b1e1b
    public exponent: 10001

]