By type
2023-01-06 03:07:54,127 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.
2023-01-06 03:07:55,597 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)
2023-01-06 03:07:56.370 [32m INFO[m [35m1[m [ main] [36mo.s.b.SpringApplication [m : No active profile set, falling back to default profiles: default
Jan 06, 2023 3:07:58 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jan 06, 2023 3:07:58 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jan 06, 2023 3:07:58 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jan 06, 2023 3:07:58 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2023-01-06 03:07:59.589 [32mDEBUG[m [35m1[m [ main] [36mo.j.l.LoggerProviders [m : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2023-01-06 03:07:59.956 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : Loading initial configuration
2023-01-06 03:08:00.178 [32m INFO[m [35m1[m [ main] [36mo.o.o.c.c.c.CmpServersConfig [m : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2023-01-06 03:08:01.773 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m :
o.o.o.c.a.ReloadConfigController:
{GET [/reload], produces [application/json]}: reloadConfiguration()
2023-01-06 03:08:01.778 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m :
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)
2023-01-06 03:08:01.780 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m :
o.o.o.c.a.ReadinessController:
{GET [/ready], produces [application/json]}: checkReady()
2023-01-06 03:08:01.788 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m :
o.s.b.a.w.s.e.BasicErrorController:
{ [/error]}: error(HttpServletRequest)
{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
2023-01-06 03:08:01.834 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m :
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)
2023-01-06 03:08:01.838 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.AbstractHandlerMethodMapping [m :
o.s.u.SwaggerWelcome:
{GET [/v3/api-docs/swagger-config], produces [application/json]}: openapiYaml(HttpServletRequest)
{GET [/docs]}: redirectToUi(HttpServletRequest)
2023-01-06 03:08:02.012 [32mDEBUG[m [35m1[m [ main] [36mw.s.h.AbstractDetectingUrlHandlerMapping[m : 'beanNameHandlerMapping' {}
2023-01-06 03:08:03.600 [32mDEBUG[m [35m1[m [ main] [36mo.s.w.s.h.SimpleUrlHandlerMapping [m : '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/]]}
Jan 06, 2023 3:08:04 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2023-01-06 03:08:05.044 [32m INFO[m [35m1[m [ main] [36mo.s.b.StartupInfoLogger [m : Started CertServiceApplication in 12.087 seconds (JVM running for 14.069)
Jan 06, 2023 3:08:22 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-01-06 03:08:58.946 [32m INFO[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.a.CertificationController [m : Received certificate initialization request for CA named: RA
2023-01-06 03:08:58.953 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36m.c.c.c.Pkcs10CertificationRequestFactory[m : Creating certification request from pem object
2023-01-06 03:08:58.993 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36m.o.c.c.CertificationResponseModelFactory[m : 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] }
2023-01-06 03:08:58.996 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36m.o.c.c.CertificationResponseModelFactory[m : 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'}
2023-01-06 03:08:59.018 [32m INFO[m [35m1[m [nio-8443-exec-9] [36m.o.c.c.CertificationResponseModelFactory[m : 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] }
2023-01-06 03:08:59.021 [32m INFO[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validate before creating Certificate Request for CA: RA
2023-01-06 03:08:59.022 [32m INFO[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Validation completed successfully.
2023-01-06 03:08:59.023 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2023-01-06 03:08:59.023 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2023-01-06 03:08:59.027 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpUtil [m : Generating random integer
2023-01-06 03:08:59.035 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Extensions from Subject Alternative Names
2023-01-06 03:08:59.038 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpMessageHelper [m : Generating Optional Validity from Date objects
2023-01-06 03:08:59.099 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpUtil [m : Generating a Pki Header Builder
2023-01-06 03:08:59.104 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2023-01-06 03:08:59.104 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpUtil [m : Generating random array of bytes
2023-01-06 03:08:59.108 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody
2023-01-06 03:08:59.788 [32m INFO[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpClientImpl [m : Received response from Server
2023-01-06 03:08:59.790 [32m INFO[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Response type is: INIT_REP
2023-01-06 03:08:59.791 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Verifying signature of the response.
2023-01-06 03:08:59.793 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpUtil [m : Generating array of bytes representing PkiHeader and PkiBody
2023-01-06 03:08:59.803 [32m INFO[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.v.CmpCertificationValidator [m : Response status code: 0
2023-01-06 03:08:59.804 [32m INFO[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpClientImpl [m : Verifying certificates returned as part of CertResponse.
2023-01-06 03:08:59.805 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2023-01-06 03:08:59.806 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2023-01-06 03:08:59.806 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2023-01-06 03:08:59.823 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2023-01-06 03:08:59.824 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2023-01-06 03:08:59.824 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2023-01-06 03:08:59.830 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2023-01-06 03:08:59.831 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Parsing X509Certificate from bytes with provider BC
2023-01-06 03:08:59.831 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Creating certificate Factory to generate certificate using provider BC
2023-01-06 03:08:59.832 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : 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
2023-01-06 03:08:59.871 [32mDEBUG[m [35m1[m [nio-8443-exec-9] [36mo.o.o.c.c.i.CmpResponseHelper [m : Certificate verify result:PKIXCertPathValidatorResult: [
Trust Anchor: [
Trusted CA cert: [0] Version: 3
SerialNumber: 710233828469976386990212338093246758290967979139
IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Start Date: Fri Jan 06 03:01:27 UTC 2023
Final Date: Wed Jan 05 03:01:26 UTC 2033
SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
Public Key: RSA Public Key [43:7a:df:cb:3c:00:cb:93:a8:be:cf:20:44:94:ef:34:a2:f5:fa:49],[56:66:d1:a4]
modulus: d58c5f1a1e999968796e08b6323c70fe712414b51013c69a0212b47aa56ddfa11707f265c6539c793b8420808416c5515bd52737e22130b70bad197f56692c5332e5dae28d3a7f1c9a6ae3e312fab6cf74e2182a4fab3f1638d21af1fc06e1a3277c5d2f55ad3c6982f08b7bd80376659680ef2307db06636e0be5653864b8ca7e7b832d9fcaf2b4813194dbe296313a55c470b57f74a2e2ad5f4542c2284b51d366a1823064c5f2abede3e9dd93e5ad2a73feaf8d6ce5efe2497ab8eb1b355a036d936b99d812d3eec550bba069493f6714d66a8857af355d7d0f4563f1b0670780120fb3369e12f8e6631d6717dc27fd3222a11d45cddd3478179890cb5d5a32914c23a17a5879b8019815c68a6180a5cdc09a7439ca498a16728af2c5d8376d39fa19453874f51ca5b75c1e591f018a0066762342cd033550b957397f87bee4447cf8a6ceb187deff5511f3fb2e9ea12844aebcaa960eb313e93b4d9b04fa1f782d7d810f41f08b4121e55517c63c0dee951e85b93f2321b5d51a10d10127
public exponent: 10001
Signature Algorithm: SHA256WITHRSA
Signature: 5476f871910f593e5d42adbfa2e043d6c2a0135d
8f47d2d72c75406a777c74d8d7256c70c101778f
a1de2b9fdfe288c3278ff6a80edc7b14f057560d
2b2f2c3f50a1d062394f0432be5284c58e7901d3
42269c8aabf2e7700998926a5be810bcb5c52984
28d97d3a95e647f7ed1f16352efd0e79be15ad36
4878d2966a8d2381895c7daecc3dcb0bca9cfff2
3a41cc2a5c9356b45aeadd9545e7c71133ba7b88
895d82e8630e28a686d4268f8ae5dec8d6c2fa32
ec23c2d1241ad4ad44acd29715cb7d4f41d735c2
a0056da28f0c71a913a6d30ddd09daee563cead7
803e872dab726fac93314757dcdce269ac43c24f
2904e33cde1a874834afda4ea7acda4e31bd8804
7d26c73d4d0bd355909e08f5e95de5a637b494b3
4a873c21f3ba79dd63ea77c0617a182516df8297
d0e6bad691218a42c58fbbe3bc232c3a6b85b182
5a453ce63e16ccbe79598896c95610e855645567
cab3fb895e0b7c1b7efeff1fd99c11ecaee57afc
bbb68f3d0e48eea0ec6892fe67f4a3d1b205abcf
e581787d
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 [52:f3:bc:1e:de:17:e3:97:0c:95:6c:e1:bd:ec:d1:5f:5e:42:ef:46],[56:66:d1:a4]
modulus: ee9606437c4e804f27b336928593e35254274cf6afa94c1a5531a8dbfc69bf0ed57b0ead59644ef92d6608ccadde533c3509f554203f70be0d575f45bd2226113c9f95971fe3d4c22b307b19b467b5e8fb3e7659f0d604f2ecbc0c43c59fa1f7579435418db56e385b10f271ef36b3243f6abad99f8eecee3fdada29493719b11012f194bffc7adf9c79da3f8cb143c7f18e049bad3086ddb32c34a36d1a13b58e665775e48bcfdcea860be363e9c85852ee8891bae790b928e7d1848f3e16dcd1d6afdd34a04edd9949a335e5771de8ddd29b8880e4f4beebf286799adb0d9c449e49a8138991f280a4b39447b45a1d02c8d943946be0ae4c76d2a5d52a5e63
public exponent: 10001
]