Results

By type

          2022-06-03 08:57:15,551 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-06-03 08:57:16,905 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-06-03 08:57:18.201  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 03, 2022 8:57:20 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 03, 2022 8:57:20 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 03, 2022 8:57:20 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 03, 2022 8:57:20 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-03 08:57:21.686 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-03 08:57:22.100  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-03 08:57:22.349  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-06-03 08:57:23.727 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-03 08:57:23.731 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-06-03 08:57:23.733 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-03 08:57:23.738 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-06-03 08:57:23.807 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
2022-06-03 08:57:23.818 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-06-03 08:57:24.019 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-03 08:57:25.130 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/]]}
Jun 03, 2022 8:57:26 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-03 08:57:26.705  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 12.286 seconds (JVM running for 14.724)
Jun 03, 2022 8:57:47 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-03 08:58:02.998  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-03 08:58:03.008 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-03 08:58:03.051 DEBUG 1 [nio-8443-exec-3] .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-06-03 08:58:03.056 DEBUG 1 [nio-8443-exec-3] .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-06-03 08:58:03.079  INFO 1 [nio-8443-exec-3] .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-06-03 08:58:03.082  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-03 08:58:03.084  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-03 08:58:03.085 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-03 08:58:03.085 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-03 08:58:03.090 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-03 08:58:03.098 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-03 08:58:03.102 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-03 08:58:03.155 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-03 08:58:03.161 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-03 08:58:03.162 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-03 08:58:03.171 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-03 08:58:03.782  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-03 08:58:03.785  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-03 08:58:03.785 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-03 08:58:03.787 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-03 08:58:03.820  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-03 08:58:03.821  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-03 08:58:03.822 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-03 08:58:03.822 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-03 08:58:03.822 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-03 08:58:03.834 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-03 08:58:03.835 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-03 08:58:03.835 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-03 08:58:03.842 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-03 08:58:03.843 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-03 08:58:03.843 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-03 08:58:03.845 DEBUG 1 [nio-8443-exec-3] 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-06-03 08:58:03.876 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 332729816597490596483103427969620686318447473913
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Jun 03 08:54:56 UTC 2022
           Final Date: Wed Jun 02 08:54:55 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [f2:5d:cb:c9:f5:72:e4:76:d3:d3:0a:27:f4:1d:00:53:63:f0:f8:c9]
            modulus: 844a2d6daa1f62ec504211cc5fcad43985fb1225b402c3e535a75c5190b14b3642371555bd0eb8836047268a41614de74a3634e47b76a48a9e358688ddba1b29152d27b0751946fd9570ee3640c31da2e53eea5d7ece446e1aa37f68d48a7f5bfdff959e138f79e611fb01ec7432c3119b0dc0a291b0954b5d78de284f35ba09e005e4b2cd1c6898280f50b0678d0be4f43c6a121383a69ea7d3b946e7486fec3e4bf1dc6472c4d204d5d4919696625b77e63dcac9eaaf66d28cfbc3bb5c2a96ee7bb517328fd873a0c22a550ed37b64c99dffbeeb7083cdaeaa84f148bbed7844d61b463b5fe3db41e1e44881ad5cf95594d1a620df9cd3294c10a78293c227d451458e6288776b12de710056ed6bd038182b8a41ef5b1006f0ccbfd79bd9f8f0968aea34a4c584cd2af4f4527eaa11e531529485e3b3af3f9646f4a0e35789fc0cfd64042ea52e360e7f625fbb398c7ac4bde6189f62b2bb3533eb0ece6a3ea2c321f821a8b206b867e63d4986f47c5f1a466a19e5512675246b6c1db1e61f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 6b0c0ce01ae33911de21576c5c2bc92c6d469591
                       8a40e6b3606fb6710313cbb141ddcf50afad0f60
                       10cc4cab2ecc5839fdadc77c3d395399850f4719
                       f174f936202f2c6274057b1c2a4ec62e8988612d
                       cb45a4353163e114e81111cfdbe6666282581655
                       4fecd9f52bbc9c29d43f987a58316d09c839e7d2
                       d43e4771d60048dbbbb261758efd029a2c657595
                       6871142a30422999542d898f1e288839222c8502
                       3021e3bc708ed94a97c23001aae661244c78a2c4
                       19690ce3d40c0167de667bc61a489a1dff95fbd7
                       8420104ea81f15352f7f94ee151c96cf1536551d
                       2c0c405c2c63ce58af39b8671bc6ded3d0e07510
                       35b559eb4bad21fb9cca33872d7605841985005d
                       8ab940311fe3fe973727cdb0aeceda183e591db0
                       1fcf00774d028e56623da93247c17a504b45e61c
                       24b72eb09ac897f2c6c1fdcf763796aa46f42312
                       3787bc61758fca1424d11265af915fc8daf48152
                       ce5f20b28a50b10bd9e6c679e3b4685fdf50f029
                       5bf8a4b20b368f8e3eb1e35aa58802f8f40614f0
                       dacbc3cf
       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 [ae:4f:80:c2:69:7c:2b:c4:cb:45:4d:80:b5:da:26:70:0a:f7:ae:11]
            modulus: b03fd936962364bc742dcf32125fe15a03f3efa74f57c48ab33d363fc9c8571a69d5ecf2e2245c461fe4ab64c5fd447c45bfb1882c02bff35abeaf458fde1f871f8b99e79412f6905659b907026a1a78200a27750ac89f4f7cb51fe3daea619bb4d01ba3931586fbc5a7e8313649903063ffe2f2743a2a65bc7f97848902fafc9e48a6f3c950a3106cb9c49f08d5f048599458bed4cfb166fa43cb97c94276fc4100b0d5080215a30a365f2ed87e174a7aa1f8edf0fbc27c225cc3193d43696f868a27689b467d1e0eb2e51134c5060ab08458f88d50aa1606ed2c14bedc0247974d8d264b5b597a1aaf07d8e18c1babc63035e725a95d802cf3d9e163bebf8f
    public exponent: 10001

]