Results

By type

          2022-03-13 03:02:10,011 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-13 03:02:11,091 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-13 03:02:11.910  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 13, 2022 3:02:14 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 13, 2022 3:02:14 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 13, 2022 3:02:14 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 13, 2022 3:02:14 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-13 03:02:14.910 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-13 03:02:15.289  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-13 03:02:15.474  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-13 03:02:16.259 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-13 03:02:16.262 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-13 03:02:16.264 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-13 03:02:16.268 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-13 03:02:16.314 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-13 03:02:16.320 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.u.SwaggerWelcome:
	{GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest)
	{GET [/docs]}: redirectToUi(HttpServletRequest)
2022-03-13 03:02:16.458 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-13 03:02:17.177 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 13, 2022 3:02:18 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-13 03:02:18.354  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 9.266 seconds (JVM running for 11.39)
Mar 13, 2022 3:02:45 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-13 03:02:58.828  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-13 03:02:58.839 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-13 03:02:58.892 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-03-13 03:02:58.901 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-03-13 03:02:58.928  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-03-13 03:02:58.931  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-13 03:02:58.932  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-13 03:02:58.934 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-13 03:02:58.934 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-13 03:02:58.938 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-13 03:02:58.944 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-13 03:02:58.947 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-13 03:02:58.990 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-13 03:02:58.996 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-13 03:02:58.997 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-13 03:02:59.002 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-13 03:02:59.760  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-13 03:02:59.764  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-13 03:02:59.765 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-13 03:02:59.767 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-13 03:02:59.780  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-13 03:02:59.781  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-13 03:02:59.782 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-03-13 03:02:59.782 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-13 03:02:59.783 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-13 03:02:59.795 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-03-13 03:02:59.796 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-13 03:02:59.796 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-13 03:02:59.802 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-03-13 03:02:59.803 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-13 03:02:59.803 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-13 03:02:59.805 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-03-13 03:02:59.837 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: 310821194979763829170039204527652041586697424659
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Mar 13 02:59:15 UTC 2022
           Final Date: Fri Mar 12 02:59:14 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [a2:3b:06:d0:f3:03:02:b5:84:07:56:37:54:ea:90:89:11:ec:3b:f4]
            modulus: bfb59aa5949569e4a58d3bb0c1c89870460ecf84394c3bceffac21063fa9430003034c0dfc18251a77a7ae28ca36cf7303df02d71e8e5974f584d659e6f711b0e9990e27ddcc538576bf9282520ccbf52731405e0a850352ce5e0438efae8303334cf26bbd099a8e525e9eef675d66cab7cd37bd0d7f0323de8e64d1100f7552914d2a6aaf44cd95bda9d72a1194e69fec6ff569b9773efede6c0edaa0a0a237a452cd4a35d63a7273e1b8645aeb995bdcefb19e9af5b6003bbb9c7fbc88110897d6f673edcccfe6ef3a8c83d386db54857cc5a89048ceced86267fd73c89335b6b55753c4ed4d8611d1891065ff32fa7d62700849e36a98dcb4a8531070b3025071f4165dd75706ac29c8f159c2c9cc45c81c698e74335e94b8964350f442d210e1b29ae4aa86da1db50e098c42a641dffdc8bcafeab28eec4498e0a3c20e066fa94249ff0752bc44d35a907d5272c5354bf1d1d120565615bdbca7b7707a2d775c7e061c61680c614ff2b7bd5f87fa3424660369f5ae0fb58a6b3c5bfd6de9
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 717080d6e69bf18e71e177b3dd8bef62de25474e
                       2212b9b3f5f3103af47c04cf2419717d4d884c3c
                       48c923f565727744a2b18f24e108210b0d9fbd93
                       ddb573d3fd741cd9f303da30234e5251a81894f1
                       20795a0d77a55079bb1ebfee4947d0abddaa9e64
                       9ffd61da64414b5da227fa254ec54931ea211991
                       7861c1b795a384f3c88076f99fbe20176a201183
                       88abd13c915bb73b2d0144c74ce991c89a3cad74
                       d0fd11c5c000214982442d5443d0c45536152da5
                       24b27dad05350e2b37ffc8bd2aa54aedde95a66a
                       4d8afb7706e1cd78e268e4bc7d7f102a0770ffef
                       e028265d28c5d3e69466d22416eff9bcdc23cb86
                       368bfbc5fdb6f5c7777d587e991b324696391983
                       0d3b19c2d0ce22b7c8d649a464e8f78936b7f8be
                       703126fed717e130350cd5be881cb0b02a651810
                       6708a8161d09cb1ca666edccf2c2fd611815c98d
                       1c61372743d6bd321e9ecd82f253e427b131fc1f
                       be390519647b9add3831f706798a1153c29472de
                       c0a6594713dd556084d1a15dd2283bdad585ef78
                       59dd1414
       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 [b6:3a:83:b1:de:39:4f:71:52:c1:99:2e:63:73:be:c4:65:53:c7:7c]
            modulus: c74162921cb7eabf3faf6b24f86a40a97c03579c0db721624221260566f97ce76f1fee9dfd86d126b7bc8299984b1cd56c6e2dfc41a1315c73e46967182485219755cea5d92e80c0de6277ed47c6160b0d91dd4a70f063daa11170acf411b84c3641f456eabe0d87b1b9e2f5e89d0be9ec9ad92a642c149a4697795942e536e85af2089edcf4a94d01c3cb78d8b3a1ed9ceacbcd83e0ba1c02b15229627d36211c4835d948d4c316c88aec427525715a06d65bc97c3b820de7438ca16900e5a7375d10ed73c1da7ef133559b806fdfcfaeacb6b0fddad37307855dbb41a1e05e063d19f4769d87d3a05277f55556eb8acb6103b91ebb86382e39cea5d0490a03
    public exponent: 10001

]