Results

By type

          2022-09-06 07:54:17,574 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-06 07:54:20,436 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-06 07:54:23.044  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Sep 06, 2022 7:54:28 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Sep 06, 2022 7:54:28 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Sep 06, 2022 7:54:28 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Sep 06, 2022 7:54:28 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-09-06 07:54:30.355 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-09-06 07:54:31.193  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-09-06 07:54:31.780  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-06 07:54:33.824 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-09-06 07:54:33.830 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-06 07:54:33.833 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-09-06 07:54:33.841 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-06 07:54:33.945 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-06 07:54:33.953 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-06 07:54:34.214 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-09-06 07:54:36.518 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 06, 2022 7:54:38 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-09-06 07:54:39.269  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 24.524 seconds (JVM running for 30.885)
Sep 06, 2022 7:54:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'

        
      
          2022-09-06 07:45:19,797 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-06 07:45:23,410 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-06 07:45:25.837  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Sep 06, 2022 7:45:32 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Sep 06, 2022 7:45:32 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Sep 06, 2022 7:45:32 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Sep 06, 2022 7:45:32 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-09-06 07:45:34.427 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-09-06 07:45:35.529  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-09-06 07:45:36.182  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-06 07:45:38.544 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-09-06 07:45:38.548 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-06 07:45:38.551 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-09-06 07:45:38.562 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-06 07:45:38.636 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-06 07:45:38.642 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-06 07:45:39.050 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-09-06 07:45:40.751 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 06, 2022 7:45:42 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-09-06 07:45:42.988  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 25.51 seconds (JVM running for 32.802)
Sep 06, 2022 7:45:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-09-06 07:48:27.736  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-09-06 07:48:27.768 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-09-06 07:48:27.880 DEBUG 1 [nio-8443-exec-7] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 
CSR: { Subject: { C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=onap-pm-https-server-correct-sans }, SANs: [onap-pm-https-server-correct-sans] }
2022-09-06 07:48:27.891 DEBUG 1 [nio-8443-exec-7] .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-06 07:48:27.985  INFO 1 [nio-8443-exec-7] .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=onap-pm-https-server-correct-sans }, SANs: [onap-pm-https-server-correct-sans] }
2022-09-06 07:48:27.991  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-09-06 07:48:27.993  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-09-06 07:48:27.996 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-06 07:48:27.997 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-06 07:48:28.021 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-06 07:48:28.034 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-09-06 07:48:28.045 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-09-06 07:48:28.129 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-09-06 07:48:28.142 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-06 07:48:28.143 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-06 07:48:28.151 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-06 07:48:29.524  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-09-06 07:48:29.538  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-09-06 07:48:29.539 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-09-06 07:48:29.543 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-06 07:48:29.588  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-09-06 07:48:29.598  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-09-06 07:48:29.603 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-06 07:48:29.615 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:48:29.621 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:48:29.651 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-06 07:48:29.652 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:48:29.653 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:48:29.667 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-06 07:48:29.668 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:48:29.669 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:48:29.672 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Verifying certificate CN=onap-pm-https-server-correct-sans,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-06 07:48:29.754 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 41056761720767917450591633263826102677316873297
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Sep 06 05:24:53 UTC 2022
           Final Date: Sun Sep 05 05:24:52 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d1:d9:0e:c1:92:ba:9c:3c:57:15:ea:3d:2d:71:93:96:e3:49:3b:70]
            modulus: dc84315294ba558bbf6cc033527de743bd90d6d1020207b9365b485ca4c59a8536bc1e1d994b2c7bf27ec0b761fb22b113c5f42d1df376b929b08cfac9e44e24939d35b6548cf264986b74ca0fc3d62cc1b38f36e9c740597eb721f21308abd48a67bde291dba5f391014659830ca8e8526b69acee7f31ed3823a5b005a325beab0d26a147878860820da45408e8f909c23bdf8f8a4c58d704a46522721834f14c6dfd0aecea2a4905b3d1ea9a728cfc2fdd322eea1db14d80a12aa78babb7ceac43207e88c92b9d1e09a7deec175e2d8c5a3efd5fcdf0e8b04eb411dc944a4e7601c3ab84f933afb2c465ee128832c33396144d5c4d03833ece370297533948533724e8056622c30d874807794bca7ef1519cfcd51f2f4bcc80c5811686d20b3ce12f3e63c64be38bb55216888631f1867735ea0c6034a9bb3b71924cd9d5632778cda53e6db363f052a4fcd2a289c3a8931dfc977079ba5c4114eb49ccd00931d09540f1d7244047f8e4043c8a2533e44ae8f5064071cb05c14b6115cc4853
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9c31b104d3c571f7499e401eebf2667a6449bd19
                       38e21b526afeae5eb5658c0c93f850cc385cb1b6
                       a36fc5d7bf9dbf89d5c7ede387b7e7a4e4d214c2
                       d8f0aa1d774100d2766035fc5b43e52fc8072a5e
                       d5f624f900c3f6a70c048aea9f7d94dad9501169
                       eac18b2cac6fd54d49c67f14b2b7f32fbd846c37
                       8ab925a40d1c57d837cb92308dfb0bc7b5796e41
                       4977b315716ab034362a418c97f245c609f4013b
                       9e63f595a44f7ea7dc7ddf62aa5a7f1cc5cf97ea
                       3b5df2cbf2063ea1a5e4d7d0cc2b2d3fc52a7303
                       dd1af96312df883a827a286cb8d80a2832969495
                       6e86d1e03b507f6292472e81797fc447987f0454
                       7389f7328d9157190701eeae64fa7a205c8566d4
                       e954e5c2d1aba026ce1d2edd50c659a159084753
                       5a47ed992c75bcec778f855e58e15378c95084ec
                       972c275a605a9a5da64fd133a8bbce3bd3f0de2f
                       f5f730c9ca4011e904dbbebe7775d18a63ce2f5f
                       0f145aac1ed910736386f81f549b77e7575f5152
                       1108e74122d447813615b60b4b3411accfef96b3
                       a33c27a0
       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 [c1:11:3c:8f:7b:ea:67:84:56:92:9d:9e:31:33:2f:15:ba:9b:9a:c3]
            modulus: a913fca07f585520cc2ee791089293d283c528ff5c7e2245c4bb81a03aa370a2fd1f7abcc369d5b7ab1dfc0eb959aa6c15cca656862bb68958b26f0acc13de8d611d03d342e1d7ea52cd9d3415d5f102c3e008f5ecf4b3240e314442d7e87d84e03c323b48e73bf330ec9a9a528ce4049331155056faa7ebf27d4ee395b4c2c85b9403c2a00b0fb4f8afb28e424861e0f42f4d05f4cb5b4279fa0324af5971b2a92dd52fa19c14ccf6ece98710b0ee5c7481fb361ed72c3283d23740a4eccdb756233b4794570ae192b9646a5612c283d09df5e26a5520a878ddc1cf2990a0c2e3d10c3bcc00958f765457f9a5fe3134c7f463554197f5568f7854c78493f7f1
    public exponent: 10001

] 
2022-09-06 07:48:38.090  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-09-06 07:48:38.106 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-09-06 07:48:38.115 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=wrong-sans-1 }, SANs: [wrong-sans-2] }
2022-09-06 07:48:38.118 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-06 07:48:38.119  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=wrong-sans-1 }, SANs: [wrong-sans-2] }
2022-09-06 07:48:38.121  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-09-06 07:48:38.121  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-09-06 07:48:38.123 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-06 07:48:38.123 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-09-06 07:48:38.139 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-09-06 07:48:38.162 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-09-06 07:48:38.167 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-06 07:48:38.169 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-06 07:48:38.170 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-06 07:48:38.333  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-09-06 07:48:38.334  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-09-06 07:48:38.335 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-09-06 07:48:38.336 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-06 07:48:38.373  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-09-06 07:48:38.374  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-09-06 07:48:38.381 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-06 07:48:38.382 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:48:38.382 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:48:38.388 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-06 07:48:38.389 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:48:38.390 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:48:38.392 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-06 07:48:38.392 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:48:38.393 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:48:38.407 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Verifying certificate CN=wrong-sans-1,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-06 07:48:38.416 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: 41056761720767917450591633263826102677316873297
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Sep 06 05:24:53 UTC 2022
           Final Date: Sun Sep 05 05:24:52 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d1:d9:0e:c1:92:ba:9c:3c:57:15:ea:3d:2d:71:93:96:e3:49:3b:70]
            modulus: dc84315294ba558bbf6cc033527de743bd90d6d1020207b9365b485ca4c59a8536bc1e1d994b2c7bf27ec0b761fb22b113c5f42d1df376b929b08cfac9e44e24939d35b6548cf264986b74ca0fc3d62cc1b38f36e9c740597eb721f21308abd48a67bde291dba5f391014659830ca8e8526b69acee7f31ed3823a5b005a325beab0d26a147878860820da45408e8f909c23bdf8f8a4c58d704a46522721834f14c6dfd0aecea2a4905b3d1ea9a728cfc2fdd322eea1db14d80a12aa78babb7ceac43207e88c92b9d1e09a7deec175e2d8c5a3efd5fcdf0e8b04eb411dc944a4e7601c3ab84f933afb2c465ee128832c33396144d5c4d03833ece370297533948533724e8056622c30d874807794bca7ef1519cfcd51f2f4bcc80c5811686d20b3ce12f3e63c64be38bb55216888631f1867735ea0c6034a9bb3b71924cd9d5632778cda53e6db363f052a4fcd2a289c3a8931dfc977079ba5c4114eb49ccd00931d09540f1d7244047f8e4043c8a2533e44ae8f5064071cb05c14b6115cc4853
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9c31b104d3c571f7499e401eebf2667a6449bd19
                       38e21b526afeae5eb5658c0c93f850cc385cb1b6
                       a36fc5d7bf9dbf89d5c7ede387b7e7a4e4d214c2
                       d8f0aa1d774100d2766035fc5b43e52fc8072a5e
                       d5f624f900c3f6a70c048aea9f7d94dad9501169
                       eac18b2cac6fd54d49c67f14b2b7f32fbd846c37
                       8ab925a40d1c57d837cb92308dfb0bc7b5796e41
                       4977b315716ab034362a418c97f245c609f4013b
                       9e63f595a44f7ea7dc7ddf62aa5a7f1cc5cf97ea
                       3b5df2cbf2063ea1a5e4d7d0cc2b2d3fc52a7303
                       dd1af96312df883a827a286cb8d80a2832969495
                       6e86d1e03b507f6292472e81797fc447987f0454
                       7389f7328d9157190701eeae64fa7a205c8566d4
                       e954e5c2d1aba026ce1d2edd50c659a159084753
                       5a47ed992c75bcec778f855e58e15378c95084ec
                       972c275a605a9a5da64fd133a8bbce3bd3f0de2f
                       f5f730c9ca4011e904dbbebe7775d18a63ce2f5f
                       0f145aac1ed910736386f81f549b77e7575f5152
                       1108e74122d447813615b60b4b3411accfef96b3
                       a33c27a0
       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 [72:46:b2:0c:f8:c4:86:86:14:d6:f5:6f:ec:f2:c4:9f:98:46:9a:bb]
            modulus: c46df05795bba01f343e5bfa1b090c1774cc4d90f884e80371754c877c4bffa8017cc4a8b86a276f929e0fc851b7b980d6b39818d7d397e5bf9e12b51b7b0e0d95070fd976edff59b25ebefbdd150ab052ffd9c8cd5561abddd115a849b6466ffc8e70a69a775aa4f4a63256652e03540cfa9603e22953755cd974260330e4adb13b1acaf8bc3e0620e28388e2c2c7c4e751165664ab1b7d990249cabd110f8c434864d19a9bfe1a31b508b10702b5b38f32edfd074d7b56da4b6dc0c427b9b555127063e9aebac8ac6fa5366aee5a961f9fc5067a0be6081c0872ffa70d1458f9a3bcc119b39368cde4889d771c70e187d88b2b96c2edb19a91d751f55c921f
    public exponent: 10001

] 
2022-09-06 07:50:09.031  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-09-06 07:50:09.033 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-09-06 07:50:09.036 DEBUG 1 [nio-8443-exec-7] .o.c.c.CertificationResponseModelFactory : Received CSR meta data: 
CSR: { Subject: { C=US,ST=California,L=San-Francisco,O=Linux-Foundation,OU=ONAP,CN=onap-ves-client-cmpv2 }, SANs: [ves-client] }
2022-09-06 07:50:09.037 DEBUG 1 [nio-8443-exec-7] .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-06 07:50:09.037  INFO 1 [nio-8443-exec-7] .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=onap-ves-client-cmpv2 }, SANs: [ves-client] }
2022-09-06 07:50:09.044  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-09-06 07:50:09.045  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-09-06 07:50:09.046 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-06 07:50:09.047 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-09-06 07:50:09.047 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-09-06 07:50:09.071 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-09-06 07:50:09.074 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-06 07:50:09.075 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-06 07:50:09.076 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-06 07:50:09.243  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-09-06 07:50:09.245  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-09-06 07:50:09.245 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-09-06 07:50:09.246 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-06 07:50:09.254  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-09-06 07:50:09.255  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-09-06 07:50:09.256 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-06 07:50:09.256 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:50:09.257 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:50:09.258 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-06 07:50:09.258 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:50:09.259 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:50:09.264 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-09-06 07:50:09.265 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-06 07:50:09.265 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-06 07:50:09.267 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Verifying certificate CN=onap-ves-client-cmpv2,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-06 07:50:09.296 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 41056761720767917450591633263826102677316873297
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Sep 06 05:24:53 UTC 2022
           Final Date: Sun Sep 05 05:24:52 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d1:d9:0e:c1:92:ba:9c:3c:57:15:ea:3d:2d:71:93:96:e3:49:3b:70]
            modulus: dc84315294ba558bbf6cc033527de743bd90d6d1020207b9365b485ca4c59a8536bc1e1d994b2c7bf27ec0b761fb22b113c5f42d1df376b929b08cfac9e44e24939d35b6548cf264986b74ca0fc3d62cc1b38f36e9c740597eb721f21308abd48a67bde291dba5f391014659830ca8e8526b69acee7f31ed3823a5b005a325beab0d26a147878860820da45408e8f909c23bdf8f8a4c58d704a46522721834f14c6dfd0aecea2a4905b3d1ea9a728cfc2fdd322eea1db14d80a12aa78babb7ceac43207e88c92b9d1e09a7deec175e2d8c5a3efd5fcdf0e8b04eb411dc944a4e7601c3ab84f933afb2c465ee128832c33396144d5c4d03833ece370297533948533724e8056622c30d874807794bca7ef1519cfcd51f2f4bcc80c5811686d20b3ce12f3e63c64be38bb55216888631f1867735ea0c6034a9bb3b71924cd9d5632778cda53e6db363f052a4fcd2a289c3a8931dfc977079ba5c4114eb49ccd00931d09540f1d7244047f8e4043c8a2533e44ae8f5064071cb05c14b6115cc4853
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9c31b104d3c571f7499e401eebf2667a6449bd19
                       38e21b526afeae5eb5658c0c93f850cc385cb1b6
                       a36fc5d7bf9dbf89d5c7ede387b7e7a4e4d214c2
                       d8f0aa1d774100d2766035fc5b43e52fc8072a5e
                       d5f624f900c3f6a70c048aea9f7d94dad9501169
                       eac18b2cac6fd54d49c67f14b2b7f32fbd846c37
                       8ab925a40d1c57d837cb92308dfb0bc7b5796e41
                       4977b315716ab034362a418c97f245c609f4013b
                       9e63f595a44f7ea7dc7ddf62aa5a7f1cc5cf97ea
                       3b5df2cbf2063ea1a5e4d7d0cc2b2d3fc52a7303
                       dd1af96312df883a827a286cb8d80a2832969495
                       6e86d1e03b507f6292472e81797fc447987f0454
                       7389f7328d9157190701eeae64fa7a205c8566d4
                       e954e5c2d1aba026ce1d2edd50c659a159084753
                       5a47ed992c75bcec778f855e58e15378c95084ec
                       972c275a605a9a5da64fd133a8bbce3bd3f0de2f
                       f5f730c9ca4011e904dbbebe7775d18a63ce2f5f
                       0f145aac1ed910736386f81f549b77e7575f5152
                       1108e74122d447813615b60b4b3411accfef96b3
                       a33c27a0
       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 [6b:28:11:3c:f3:b1:17:f9:b7:17:c0:da:0b:6c:4a:12:96:4d:95:ea]
            modulus: cf4ee46f6313e7539b73fafc3bc9e6b1ffef0b9673ff1ae1515f12aea4046622bf6871f97b9eaab4bf7c6d4b07bbc7f847a36cfeace5ec08a2c15418dc3ccaca6ffcc20cc4846a90026890f7cd9fa2f81ccc663df853aa0982f1095e31c51ad37824edec89e457a494f3660b1e09c94bd36bfc50b521785af27119a451fb502167e8a6132ad5939895ac53a0c3270ac33ddf8d2bbe508591ab27f26adf7a5aa510dcb54f385d4ecacc5c2163c29e2a31a71bb3729e69e6ad6c06d922b0a428ed45250e610f396c42fbbbdb06fdf9907f6cb49a9b204ef1e3b9302d867d333c8ec5ef20155d82717ad2ea58544203420344d264ca85ec59197987b399f40b5497
    public exponent: 10001

]