Results

By type

          2022-09-05 02:59:40,227 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-05 02:59:41,072 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-05 02:59:41.833  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Sep 05, 2022 2:59:43 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Sep 05, 2022 2:59:43 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Sep 05, 2022 2:59:43 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Sep 05, 2022 2:59:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-09-05 02:59:44.211 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-09-05 02:59:44.500  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-09-05 02:59:44.671  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-05 02:59:45.353 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-09-05 02:59:45.356 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-09-05 02:59:45.357 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-09-05 02:59:45.361 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-05 02:59:45.399 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-05 02:59:45.403 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-05 02:59:45.519 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-09-05 02:59:46.086 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 05, 2022 2:59:46 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-09-05 02:59:46.963  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.556 seconds (JVM running for 9.363)
Sep 05, 2022 3:00:12 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-09-05 03:00:23.920  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-09-05 03:00:23.927 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-09-05 03:00:23.977 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-09-05 03:00:23.981 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-09-05 03:00:23.996  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-09-05 03:00:23.999  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-09-05 03:00:24.000  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-09-05 03:00:24.001 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-05 03:00:24.001 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-05 03:00:24.006 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-05 03:00:24.012 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-09-05 03:00:24.015 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-09-05 03:00:24.051 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-09-05 03:00:24.056 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-05 03:00:24.056 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-05 03:00:24.060 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-05 03:00:28.248  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-09-05 03:00:28.251  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-09-05 03:00:28.252 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-09-05 03:00:28.253 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-05 03:00:28.263  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-09-05 03:00:28.264  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-09-05 03:00:28.265 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-09-05 03:00:28.266 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-05 03:00:28.266 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-05 03:00:28.277 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-09-05 03:00:28.277 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-05 03:00:28.277 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-05 03:00:28.283 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-09-05 03:00:28.283 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-05 03:00:28.284 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-05 03:00:28.285 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-09-05 03:00:28.311 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: 404968730418343990595591348173459009635023417178
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Sep 05 02:57:28 UTC 2022
           Final Date: Sat Sep 04 02:57:27 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [19:ff:c4:38:2c:49:0a:57:8e:94:2a:63:13:21:e6:a3:63:a2:bf:cf]
            modulus: d33b7d55eb848b9c90d0a8f1352349b1855ad891e94a0b0d24ec082c796d265239e99c415a2702537d62bc863c744c529b7a48ad4e58c77c72ca52251ae9340eca3060cea3117ad27d5a0c9e90b636bdd3ecdc57a29351275a20394033e34d0eeaa1b44ed7b14aa72300af3d74a398d929f25ae0af21aafe5f2893aa7f191dc7fab047ef1fac7819a917d14a946508ce68f2de7497386ec026fc2db879d5614c2f06735b86b4d5d73c01cd551a25090fadbec39827b5494e4e2aef1f39d788b9c2e97ec49499cd854a77c98d2691248a1ba52a7d1e212a598924ca20fedd08073a26a64ad6b6f492592c56949c9587025771d9515785c11ab9f9ef35c2aabf3475c9378e309994298b8b511ae9d76a7fe22164cf151368226c0a4f17526567d6a89c7197c7854d66d52c942b7312d411e3cf22afef3790b15bdfa732b5523d0678b1eb690a6d007abc1443dc324a8b69ec29b86b48d2611a3d1ad50ed814ae9afb201285adea3750ba6ab761b8151043ea6af9c9aa49412778e48267406f8d57
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: c19fa54b8c25b21faec58dcc1525789104328951
                       e00bcb234475cad2ae835854ab41d8184cda9b23
                       fe679fb8e43193240d15fc0f4d37523c7520e1e5
                       280f4d45ef4e2eb29f659d8c41d0f8751189e222
                       99dc1b1f86f7226a6104d0e94c08d29d7b0146cb
                       f8c525f854c8470ab2c1f42e8065086d8c88333c
                       f86f220cd9b88f7418baaa46d3ef073d30aae2c6
                       3a573853432e9d97fa489d20ba4f90ef40908b88
                       deac11a2364661e89e5826f7e55842b1361ad128
                       64ad001457ab474db477036c82fe3bd42d06c9e0
                       41e2ae21aa537055450b7ea00e271f7790d29115
                       c718bd065372df6b807cee1967655ee5dc3cc912
                       9973fef20bd02cd74e23bd515633ee426a582312
                       b4e9c42228592d506180d931e82965b2cfd073a1
                       757c33aba8939225c76e7f66e7277a3319e18fc4
                       a32df004d3d1276e048817b712eca4d92201f693
                       a6e2f20c8773409346e3107ff2e61cda57b3b0ab
                       39aa34b50b2b9b4a2fcafd14e9ceb226c8a9d2a1
                       f86d7ff78d72de728b6e4b3100ac897d67a64957
                       6f7be71f
       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 [f3:05:da:ca:b7:70:72:2c:46:49:b6:2c:ed:ed:67:28:2e:b0:02:e6]
            modulus: c3b9e3429ad2c6478582e838bc3723fe0c0e514b3e0c834bfd2187976ccecb60913d98cd29da4a86283541817f4996dc56a10767d8d90187decf31b0165a3cbe1e976c6f71ee4883b81854fb626c5e19a9c2a87ac2da8ee7aff8eb3d4c5b060bc3af0e0a8f5c89efab3b3547b31f8d111e782abf82eba591f277a5179564d7c8f9c063c406774679239ee0edd0393bd34352f0f8b4e19b6d41109c477b6aa80ed302a0ed7f474e7c085986a898dcf5bd6b8f845a2849873e7329a4f82abbde5048b30e55a5b01faff20a64d899c1e257995441ca927eac24dd96047a38e44a57f1345d04f71f94b290f589a207480f5453cbc87efeafc821b25a21726ec3cde1
    public exponent: 10001

]