Results

By type

          2022-04-04 12:40:26,289 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-04-04 12:40:28,979 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-04-04 12:40:30.551  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 04, 2022 12:40:34 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 04, 2022 12:40:34 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 04, 2022 12:40:34 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 04, 2022 12:40:34 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-04 12:40:35.863 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-04 12:40:36.359  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-04 12:40:36.677  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-04-04 12:40:38.035 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-04 12:40:38.039 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
2022-04-04 12:40:38.040 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-04 12:40:38.045 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-04-04 12:40:38.102 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-04-04 12:40:38.107 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-04-04 12:40:38.355 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-04 12:40:39.494 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/]]}
Apr 04, 2022 12:40:40 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-04 12:40:41.553  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 16.706 seconds (JVM running for 19.765)
Apr 04, 2022 12:40:54 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-04 12:41:08.411  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-04 12:41:08.429 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-04 12:41:08.525 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-04-04 12:41:08.532 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-04-04 12:41:08.573  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-04-04 12:41:08.577  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-04 12:41:08.580  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-04 12:41:08.583 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-04 12:41:08.583 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-04 12:41:08.589 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-04 12:41:08.601 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-04 12:41:08.606 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-04 12:41:08.675 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-04 12:41:08.683 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-04 12:41:08.684 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-04 12:41:08.690 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-04 12:41:09.602  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-04 12:41:09.607  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-04 12:41:09.608 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-04 12:41:09.610 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-04 12:41:09.632  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-04 12:41:09.634  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-04 12:41:09.636 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-04-04 12:41:09.637 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-04 12:41:09.637 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-04 12:41:09.658 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-04-04 12:41:09.659 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-04 12:41:09.660 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-04 12:41:09.671 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-04-04 12:41:09.672 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-04 12:41:09.673 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-04 12:41:09.676 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-04-04 12:41:09.732 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: 418035517848075783936831126053155063074648973826
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Apr 04 12:38:09 UTC 2022
           Final Date: Sat Apr 03 12:38:08 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [81:26:af:4e:cf:a3:b5:3f:46:64:ba:cf:38:df:66:55:ae:8c:f8:88]
            modulus: a772b24e0d3f2b6aea8c3d4192d6c110ec23884a7d9a0783691f1b80440ccd22d6ef1895b6b0eea6ef85f4e999942cf9a075df963dc7d9d3c34dd28bec352be5b7d886e592b15aca202952a25e2b146f42f4ad0503d60b128a1f7159527000bdb8714b9ba031275b04fdb9709bd2d1fbad57ca8bc493156b816668c76083a51c98104f538cb9b4b32983581fb5baf43c7b7c19ece069a48108b3b4872aaef3161f6f081a68020ad7166700fac9b17d954cd292bf3a1304069b66762f27be3a921b4ed33cc3d364c954af5c0ce334cfd9f91c432050614d783f9271662790b1bce99db8afaa8ab8a7fe90f4ed1bb145310b278f7b387b7eb26e05693d6a2fe6a1b6bde40595216a8cf06939a794f93e695306f9e2177926f097430fd42a3e42bc4d5429f946d307293cefa252c3fc627f12f22a69c672c536ceb24984b429e61ad886c98343af44faf2e173d6cacb83954878b9981a015ac988c232986e4d80a933923ddb7d183a20abdb7230b5c358f9f2c1477c1e484772c8b5381d2b2d1ec5
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 0895e3860ace96ecfdf352cfed4a1426d9a468c4
                       e179df5d3f11e205907ed5b794332945d6d57c0f
                       3b4c8c9c343bf6d269a4048d77e0edd446cb5778
                       b3266216e60fb537e895032aa2742954446f8faf
                       9b15f0b937ac7b35821ab1833a1e85d3006f42ad
                       f21822cad313fe4a908c1f787803690edbb6bc97
                       20ffb48b2bd33c9ec45e5a7c6f28d6b01d4a6893
                       df06ef289f94ba98c76b5a5d201d1692116639ca
                       a321178a74d78def173a9e5fb32b6e308839c0ae
                       a1ffe2da0a501162abf5d7f2137153f715bc3dc8
                       cffb7b35ed14153600079bc9a454a97e6cf141d6
                       852d7115c73b07679b13a44d0474f96eafac2db2
                       d65b39d241b4f3968feff177640f58c49cf2425f
                       8583eda9dffd5d75b76557a30a05c2958fb8f305
                       d1746ae90614f75034793caf4d4f71f207b31f46
                       c1142a46f61065946593050770a0a26bd46d4c30
                       8be8c8a801f30703b1e23486ae2889bfcdf6089d
                       df4dd03dc75940dc79247d235632e09dfe57d766
                       c8a3f75e07a838fadb0ef4868d6f009de87ac882
                       d2a9d6b7
       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 [d1:56:14:9b:96:e3:77:34:8a:c2:8d:87:43:d5:80:33:71:2a:e0:6e]
            modulus: adfadb4d2a15d018f83de67f055593948e2e9964342cae3d2eb08b4f760e49c6ca363d1ef8949ab0ad8510b416b281aa03d95545db6a6881db5fccf8eba21e3d144d8e8e5f2009d2d3bafcf7207dc46bd4a2336dbd2fdec53bd50627b6eed480c1bcc2306c099f1ae51d90e620ceeb5b4011d7ddee5fa5a3629d95505932a6fd2fcdddd196c08fda7219d18553002aab683315451c18b372f1631367a584521217e243c4b7fdd716f16b0e9bb6fa517d014f0651e1e0b3cfb12b3b54c7c47aa5d6603f6c1eb0a6354999cbf8f3af005743adc893c5f344af158c7ef06aaecb7cd99a7cd37833659dfe588c6801f8463cd4416205de64959763135b046336b453
    public exponent: 10001

]