Results

By type

          2022-09-27 16:29:06,573 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-09-27 16:29:08,190 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-09-27 16:29:09.279  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Sep 27, 2022 4:29:12 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Sep 27, 2022 4:29:12 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Sep 27, 2022 4:29:12 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Sep 27, 2022 4:29:12 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-09-27 16:29:13.638 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-09-27 16:29:14.091  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-09-27 16:29:14.353  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-09-27 16:29:15.795 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-09-27 16:29:15.800 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-09-27 16:29:15.802 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-09-27 16:29:15.810 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-09-27 16:29:15.872 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-09-27 16:29:15.877 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-09-27 16:29:16.018 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-09-27 16:29:17.084 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/]]}
Sep 27, 2022 4:29:18 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-09-27 16:29:18.985  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 13.882 seconds (JVM running for 16.794)
Sep 27, 2022 4:29:40 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-09-27 16:31:22.395  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-09-27 16:31:22.479 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-09-27 16:31:22.581 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-09-27 16:31:22.591 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-09-27 16:31:22.661  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-09-27 16:31:22.664  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-09-27 16:31:22.665  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-09-27 16:31:22.667 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-27 16:31:22.667 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-27 16:31:22.683 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-27 16:31:22.695 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-09-27 16:31:22.721 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-09-27 16:31:22.812 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-09-27 16:31:22.843 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-27 16:31:22.844 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-27 16:31:22.849 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-27 16:31:23.661  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-09-27 16:31:23.675  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-09-27 16:31:23.676 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-09-27 16:31:23.685 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-27 16:31:23.708  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-09-27 16:31:23.710  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-09-27 16:31:23.712 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-09-27 16:31:23.712 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-27 16:31:23.713 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-27 16:31:23.746 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-09-27 16:31:23.747 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-27 16:31:23.747 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-27 16:31:23.759 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-09-27 16:31:23.759 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-27 16:31:23.760 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-27 16:31:23.763 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-09-27 16:31:23.844 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: 309405589942137091135872772059536368324390905372
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Sep 27 16:26:56 UTC 2022
           Final Date: Sun Sep 26 16:26:55 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [00:35:5b:71:b5:ca:b2:02:e9:95:1d:56:46:73:2c:26:8b:2c:c5:57]
            modulus: a54b22eefdb24d1253952c4ef328799cdd40524e385b4ebe97e5a5a447d8a0f1f81e1a10560ad7497efc7a7d94a2d11a30ca98e1c2b541d3f2a0327ae80eee9238944bdd001b8ab0ac9218b6cd72eefd21240206a7dbd637cfb51bc4950b3e388d917e3adaf40a8a1a44d43fd70dd74359d11e36256b4aa5a2e80fbade3466a77abc6171fbe3c31acd404696d2ab83b049ac6fa0bfb2e6ab5c2b15c02d002f2f45e0a7a0824b3e0ba3bfc1c4d613de8ed39c8d47048d255f6d5e9acf4777cdb906e4cd24482bfb5ec33cfd1de2b16eea673de459fa97f02ee244cba1029425c51a837ba392da0d5962dcf91592b0e00b55bfb203532fb1796df9e97dea2d492b08feaf20b20818f7c61234be5883223d08a07678ca8e6b0eb11184637b3213ca2a39600aca914e663b9cc01ade10d6dc8566aa5d568a73592dc8f41893dcc2de12d59f11187ac418201fa460de6224235c17c4fdc2594a10c56345f9df27b8e905c24317fe8ddbee9b7d6d7b5f72cac2ae941a5566a30a262f308710950f3755
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 3f5bacdfe1f3dc79d744b7fe217369a87c4309d5
                       01e336aa5407c58ff2b1dc8771487c2bb6dbd80c
                       9b13e38049d4485091d46a60892c873378f67830
                       9ba8f58ed92112109bc3a57261d8b288208c0de8
                       0cb26f39a9678beaca53053021da91b829ddb294
                       8dbdb06db316992e8b3ee25c9f0f728575c486a9
                       bf67f46a7fffe78dd428dbc6a6a6130ec1cc16b9
                       b8bfce23987f43a038972ccd19f01f75e7b3b54f
                       e9711f9f127e987f9c871bba9098f7a2f50854ae
                       da5551ad63641de4c8b3f045b80d9b80957dcfe9
                       c2a484fdb5598a6fa159972f8b75845eed3cce16
                       d425a1693164e7938d45a0898cc7a440e8e982c0
                       c22c346d4408dd54048c078a151a9bf3b7ddc085
                       ed41b2e5a40d5a38be8acf1eed903aab383c7dba
                       7b460259c4b75daabf605d1d98a7a6f74545c557
                       11a70defd8d659ef2930bec4d0806c4a14651405
                       96acc9ceebabb29e0779e3e0ad0c92a45b438479
                       e2bee7ad249b8024c2851f6dfa11ae4bc950149d
                       765f9ebbd21ac3fb98d39b7cc3d20f82c186df33
                       0bece03f
       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 [cb:c4:7e:fd:7a:8e:10:e6:02:13:73:f9:f9:75:b4:1b:ce:d5:aa:74]
            modulus: ae28943bd2789cba8623f2ff3d85e8b1fc645f0a3972c283c20f066f231b5edd5787e563f47d734812a37b42c2c7a3e4bb4ea7aa87d9e025b003a37b0d338d24b571065c1eb77ea183e0d27f5845943f8980b33597d4e1c77df49b75fc85f191803739aaf071fd1a3ca6819c8fb199f7c63a1333e32dc70b8d0f584c7fba92e18fdce4ae0633f3807b1a88cc59583fa6b4ff08d305bffeaf8fec58d2dcd1d52a066a9d284ee5095597548a3de4c5a6b2c35f6e3f0632f8794f24726a1de3e35a60c12b119620946bc24538f87909ced83c720c34646be12e32b596dc41404e6dff39ece8d1f16dbd9dca7ababe8bc61db0280e827906d56efa7c2cfd3b2ff029
    public exponent: 10001

]