2022-12-30 03:16:39,899 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-12-30 03:16:41,280 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-12-30 03:16:42.020  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default Dec 30, 2022 3:16:43 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"] Dec 30, 2022 3:16:43 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service [Tomcat] Dec 30, 2022 3:16:43 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet engine: [Apache Tomcat/9.0.56] Dec 30, 2022 3:16:43 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring embedded WebApplicationContext 2022-12-30 03:16:44.489 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-12-30 03:16:44.785  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-12-30 03:16:44.985  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-12-30 03:16:45.687 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReloadConfigController: {GET [/reload], produces [application/json]}: reloadConfiguration() 2022-12-30 03:16:45.689 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-12-30 03:16:45.691 DEBUG 1 [ main] o.s.w.s.h.AbstractHandlerMethodMapping  : o.o.o.c.a.ReadinessController: {GET [/ready], produces [application/json]}: checkReady() 2022-12-30 03:16:45.695 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-12-30 03:16:45.733 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-12-30 03:16:45.736 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-12-30 03:16:45.862 DEBUG 1 [ main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {} 2022-12-30 03:16:46.420 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/]]} Dec 30, 2022 3:16:47 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["https-jsse-nio-8443"] 2022-12-30 03:16:47.349  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 8.353 seconds (JVM running for 10.167) Dec 30, 2022 3:17:16 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring DispatcherServlet 'dispatcherServlet' 2022-12-30 03:17:52.611  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-12-30 03:17:52.634 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-12-30 03:17:52.677 DEBUG 1 [io-8443-exec-10] .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-12-30 03:17:52.681 DEBUG 1 [io-8443-exec-10] .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-12-30 03:17:52.702  INFO 1 [io-8443-exec-10] .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-12-30 03:17:52.705  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-12-30 03:17:52.706  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-12-30 03:17:52.707 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-12-30 03:17:52.708 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-30 03:17:52.712 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-12-30 03:17:52.722 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-12-30 03:17:52.726 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-12-30 03:17:52.783 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-12-30 03:17:52.795 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-30 03:17:52.796 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-12-30 03:17:52.804 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-12-30 03:17:53.796  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-12-30 03:17:53.798  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-12-30 03:17:53.799 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-12-30 03:17:53.800 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-12-30 03:17:53.825  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-12-30 03:17:53.827  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-12-30 03:17:53.828 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-12-30 03:17:53.828 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-30 03:17:53.829 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-30 03:17:53.844 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-12-30 03:17:53.844 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-30 03:17:53.845 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-30 03:17:53.851 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Retrieving certificate of type class java.security.cert.X509Certificate from byte array. 2022-12-30 03:17:53.851 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-12-30 03:17:53.851 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-12-30 03:17:53.853 DEBUG 1 [io-8443-exec-10] 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-12-30 03:17:53.900 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper  : Certificate verify result:PKIXCertPathValidatorResult: [ Trust Anchor: [ Trusted CA cert: [0] Version: 3 SerialNumber: 505061792023527940250051494246617336117282465964 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Fri Dec 30 03:13:24 UTC 2022 Final Date: Wed Dec 29 03:13:23 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [de:89:69:5b:e3:fc:f1:ea:b1:d0:89:01:02:03:74:46:c8:b4:d3:00],[56:66:d1:a4] modulus: 88826266ddbbb972c4ed0d1331463745498243e2827a084cc0a40bac1985cc8d16324f0dc8c0dffc0fcb58441775f5cf9ac714dab909b851a74b031319e7f7b6e19032e7676fe8c06e8f0b56428fb6661edca48e5a12cba240da0ca47660d950f2294c4ee9498cca9988d73dcea3f89c7f008eaebe32dcecbb9132d54db228ed3ba5f42c98de80662265221ccdb7411c3110b59e6cadd346ea04a18f7d478ca3c43f25c8b304e91281ac4af57a627efadc4ad44c8cdfef4b10139ab15fe06bffb09f3b7f245359d9427575becfeaa0add6794cc0924af47cde85904f748e4774591af68794b8f56aabd23c105f46d7b23ec669943439324ee1c3e14f0d2b6383c2b4082bd75cf5b4f66c38171a6b84d2083cb6864380ebb0b55ab1be33c8fd21b448ebc5d75ba96ca1ba761c7c0270fdc1261c251cee2ca32140723459243e270883124ee9555151c6db47937cfb81f018dc822595f265633e27009c12a976266b91d21ad0afcdce0ab52c440349d925c6deb4396908fe3eefc3371176da76a1 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 04e50459685b43195c8065591015adb679390178 4368a7fe4dbc21503b3ec81cb0176e2164a21a86 f381eae14e39813e69ed8220b83a9237c2b7ebb4 4aaf1ad4f4d36fc555ecad01d61d72ca2416b687 d097e1b3edea35ef37cadbe6b6c1526251d74a13 0bc52da0d91022d99cf974eb7371e0b695123a07 d1c9ba709278bbde250476c654e60eb8b9770389 aaf2364653f317c6263cdfb695f1f495ccb18008 0f11fd3e00ca68b1254a97b14e200803982c6420 7c4777ed2d68afc0697b46909db2bcba1cbd04d3 329f66970e6cd47143d2717f99c5a3e5240109a6 db3ffa0a5926bf92c5790262d8ada355f9563d13 2e2abdc6ddbdd5f971329ad195447049c0d0954d 59f01fc70ade11d4afd9df98400af998719e95a1 7ee220296c005997bd25806564fab715e88685df dcd7e133f2c013ba5ae2c371df3896a34e8b9ee2 2ce754f7e7fcb11bcc2a5d4094b2c905407c40b7 c356d55d19cb6848a1e7a90c5688a6a77a8c04b4 7f0a1799c742d18bd5f11a8fd8d6823d58a8016b 19818f1d Extensions: critical(true) BasicConstraints: isCa(true) critical(false) 2.5.29.35 value = Sequence Tagged [CONTEXT 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 [4d:3c:c7:e4:98:8e:98:82:ce:61:9e:0a:96:80:6f:70:72:d8:f8:a1],[56:66:d1:a4] modulus: ba66083cf202e0b28c3c1b4fc6d62bbcfaf2bd73054929a09ce9e1dd5142ddd79a8fc5d3fd0e74237b3fb109202fe46d3c79c3fb38da82566f8653d44f757e90e086b91f595169a7b7afd3d2e60efb05140df2cdbae6c4507790e94e175b34a5af294cf1dc0920ab7ce10a178103214fba7b16957bd893de7fab6dafabe91277ce05e667cb3a35fcd234bd94782f0907702aa7992f021b59f18e20dcb38673c06ee2f1e5df0d2f6e4d6cd5978ee4c8e63c23c74548c1400c7a1f6a4ce9cdef4ae34a9039d0a76f40a70ca4cb15fbd2c07b6f43d035eafb1e6f18595bd40dca5aa51d99e58e55ba65239d4a15eb6c6b79661a04f8d974367b128e5a8402c48df1 public exponent: 10001 ]