2022-01-16 12:05:58,823 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-01-16 12:05:59,562 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.2.4.RELEASE) 2022-01-16 12:06:00.174  INFO 1 [ main] o.s.b.SpringApplication  : No active profile set, falling back to default profiles: default 2022-01-16 12:06:02.709 DEBUG 1 [ main] o.j.l.LoggerProviders  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2022-01-16 12:06:02.956  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : Loading initial configuration 2022-01-16 12:06:03.079  INFO 1 [ main] o.o.o.c.c.c.CmpServersConfig  : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json 2022-01-16 12:06:04.960  INFO 1 [ main] o.s.b.StartupInfoLogger  : Started CertServiceApplication in 6.553 seconds (JVM running for 7.823) 2022-01-16 12:06:53.233  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController  : Received certificate initialization request for CA named: RA 2022-01-16 12:06:53.244 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object 2022-01-16 12:06:53.300 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-01-16 12:06:53.305 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-01-16 12:06:53.340  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-01-16 12:06:53.344  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validate before creating Certificate Request for CA: RA 2022-01-16 12:06:53.345  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Validation completed successfully. 2022-01-16 12:06:53.348 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-01-16 12:06:53.349 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-01-16 12:06:53.352 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random integer 2022-01-16 12:06:53.360 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Extensions from Subject Alternative Names 2022-01-16 12:06:53.364 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper  : Generating Optional Validity from Date objects 2022-01-16 12:06:53.408 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating a Pki Header Builder 2022-01-16 12:06:53.417 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-01-16 12:06:53.418 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating random array of bytes 2022-01-16 12:06:53.421 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-01-16 12:06:54.011  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Received response from Server 2022-01-16 12:06:54.015  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Response type is: INIT_REP 2022-01-16 12:06:54.015 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Verifying signature of the response. 2022-01-16 12:06:54.018 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil  : Generating array of bytes representing PkiHeader and PkiBody 2022-01-16 12:06:54.027  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator  : Response status code: 0 2022-01-16 12:06:54.028  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl  : Verifying certificates returned as part of CertResponse. 2022-01-16 12:06:54.029 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-01-16 12:06:54.029 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-01-16 12:06:54.030 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-01-16 12:06:54.042 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-01-16 12:06:54.042 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-01-16 12:06:54.043 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-01-16 12:06:54.049 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-01-16 12:06:54.049 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Parsing X509Certificate from bytes with provider BC 2022-01-16 12:06:54.049 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper  : Creating certificate Factory to generate certificate using provider BC 2022-01-16 12:06:54.051 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-01-16 12:06:54.094 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: 225635040414973455055178453483433176597977450200 IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Start Date: Sun Jan 16 12:03:06 UTC 2022 Final Date: Fri Jan 16 12:03:05 UTC 2032 SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart Public Key: RSA Public Key [33:a2:c8:3e:ab:a6:7e:01:f2:f9:ee:27:8a:c8:d7:2c:63:75:9f:1f] modulus: a24334b86f42a1568116fb5840b01d347b05e9f01c4a80ad6eedc8e997018b780153d8413dba376903c3a932a2e8545abbaf23eb4e0873b69c5c9c495577f3921608e44a86f6138af56eeb552ca52f06b6543684c5e05f1924477d508da0a0ea11e143dada94a7553c0847c20d747877ce83b203d8cab966fd580ab683cfc1b5b6e8358d1a01014f0596098898a8bbe809c54c4f08023dbf9c1904dc251d022ab51571e8f02d7374e3defe9fe6719d7387848d44e047baa33feb8901c80f1cdc01cdc2fc33c3817b0f718734d011aa0bfd891131f22471687a9f91621cd78b22e7900a7cbf3a792fd1f3d4ec1048ffdde4a8e44026cfdc3a4c23f8cefd5dc4e213a36e2ca0493f52121a5cfa1035c6b7bb77917afd05e34fb32a4e9612b09e8432b4a8902ebaf5a6ae55916b63902fa3a395a8719db3f8d2ae5eccf84fe89a402931c1d6ebaa75fec32e3a560b307ea0d96d806566d6e21607b9e19cee44a8a87fdc3eb40006bf70227078b0c0cda77eaf4fdc2af9f189fd579b75011ffe7e21 public exponent: 10001 Signature Algorithm: SHA256WITHRSA Signature: 029df191324fa95a0e15278743c41a362c8f4713 0a06fbc64344af53ddb8a4c6aba7cfa9c7c8dab3 d8f4e8093ee9ad5e2bff0c54a227781489cdb099 e989564866851cb27db60ac995a9a453bc80d0fb 85a3176349f47fd93d6f901d4b7e762c2d943fa7 a28d42ee13c887511fb6647eafb428ed66bf705e ee0ed3593b1ac23fb91860fbe5c6a987aa955d9e 927fb49b1a132197e8283bedb13ac5d9b483b335 8a0ced921fffda97faf530f25bec946e6ecb9d50 6fd9bfde6c49bd33343d1f43d9ffae33fa56e404 2eefd0b65f87d383877e94187e154821ff384d84 72a26a94b91d17f51f6fc8117b17988305136f61 06bbf8fb8370cf72e92b57a97fffc0c7fdf9872b 69c9150687a549161ddea6a5fde35f5776f3b7a3 65428f0bdc31cd3a2c8260291939aea18feb7867 ea8f107333971dbfb538f552a66a3e9e516485f5 b7c3337ca69e663ebf2d6be17b61518659436c9e 7c5fe0b1f146ce082b3354447993f2ba411a1812 6091dd4d7bfccc7a7cff29f8443b3308f87a8e80 bccc8ee6 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 [c2:a8:61:1f:bb:21:cf:20:8e:4a:71:10:e0:3e:0c:19:5c:be:e1:fd] modulus: a9d04ca1cab9360f255139a1791a3bd07690859fce1bb19c80b486e0ef9e03817928c921e5010e5791a4f5d431fe3c753ba78a826b46fc643207ba7b5ad93f8b5b0a856b873ecf3bd1450f02536705ff199229c20ce9618c20997322f648638d44d0546fc5d5f1d158525a27e3d5f19f649991b7fc76a7abe76a9103570d799a6f96e4bf93628909e4c0c9d47a4db2694f0746792ad67e1563e9acd45202f9b6906861ee49c28bbbc6a49340037b8b7cbd4c1062862fd44a77dd7be08c957279541f318b8fe6e41bc2a96fd99bd36d20444cc00a91b5a7093ca939ec50a1b7293cda9b25173484efc58fc4f47165a8534f226165f875512fe26b9c2b9e5f5581 public exponent: 10001 ]