Results

By type

          2022-09-28 05:08:36,441 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-28 05:08:37,530 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-28 05:08:38.311  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Sep 28, 2022 5:08:40 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Sep 28, 2022 5:08:40 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Sep 28, 2022 5:08:40 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Sep 28, 2022 5:08:40 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-09-28 05:08:40.874 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-09-28 05:08:41.177  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-09-28 05:08:41.337  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-28 05:08:42.029 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-09-28 05:08:42.032 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-28 05:08:42.033 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-09-28 05:08:42.037 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-28 05:08:42.077 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
2022-09-28 05:08:42.080 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-09-28 05:08:42.222 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-09-28 05:08:42.788 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 28, 2022 5:08:43 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-09-28 05:08:43.756  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.174 seconds (JVM running for 10.0)
Sep 28, 2022 5:09:07 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-09-28 05:09:49.517  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-09-28 05:09:49.527 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-09-28 05:09:49.571 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-09-28 05:09:49.575 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-28 05:09:49.598  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-09-28 05:09:49.601  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-09-28 05:09:49.603  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-09-28 05:09:49.604 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-28 05:09:49.606 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-28 05:09:49.610 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-09-28 05:09:49.618 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-09-28 05:09:49.621 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-09-28 05:09:49.672 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-09-28 05:09:49.681 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-28 05:09:49.682 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-09-28 05:09:49.687 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-28 05:09:50.553  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-09-28 05:09:50.556  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-09-28 05:09:50.556 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-09-28 05:09:50.558 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-09-28 05:09:50.569  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-09-28 05:09:50.570  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-09-28 05:09:50.571 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-28 05:09:50.572 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-28 05:09:50.572 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-28 05:09:50.584 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-28 05:09:50.584 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-28 05:09:50.585 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-28 05:09:50.591 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-28 05:09:50.591 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-09-28 05:09:50.592 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-09-28 05:09:50.593 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-09-28 05:09:50.622 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: 126532571313485926535656064583892493195441381172
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Sep 28 05:05:52 UTC 2022
           Final Date: Mon Sep 27 05:05:51 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [70:45:b2:ad:28:41:8a:c1:ee:3f:e0:e9:eb:60:37:29:78:fa:41:fc]
            modulus: bebc660ff1893cec3167017652d640237a73c01728f3309ace9c3e01e920d9b5f4a55f394dbb2a3b1f38d80ea67a94eb0c99e4ab2929a74b31617452f0e62f7b26a25c52ac58973533695f7e40f770ff2dd9ab1efe8118e2d2209550f16b711caf30cb08d63527153c9a5a8653892345b6f54387fdbeb878bd199fc62c85d3c43abc88b1a6bce315883b620a8e711b63da31dfe22c794f17a581a2c221e975ece998a254192ca0f087ea5fd8da49ab320e8b71e4fb714bb32fdd96dba86df20830b3185e9b8df3fa1df9e123c1709f31364d3ae81e6f51b5f1fb52909c5fa835540d4fafe9203002d4736780fc19a43657e45216da7cb62cfe6af69a9ab0cfdf4caf3cd945d07b235f46f254cf9ac3060ed7d1e84396fbce25e791a4bf30ff842d74b5a208896d4d1251003c2d1271c4b923f36e3f4bc99c7bb2ca0ee178011d26f0dd3c194dd1913fa1a8d8fb1d7016ed31151a2f317c6e76d127dcdf0ef4198e115476a3fe8ee4161fe7785fef2c105f929e7cd2d6bbc03c24a4ce9081160d
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 856c8930806183526f38ee7d67051809630278a3
                       6dea7a1fe1e0ee1dcccc48e1b42d2386e849b9b0
                       9f109800d3580ec6cd1bc3dc8eedde6afd7805d1
                       9a6940ecb27177ef6e5e29b80e6e3a3c9ca00baf
                       9b0852c797c86ab07f6c0b8afccc533ad728afec
                       e08eb321ca96dfb995b0c77ae783f9b052e969aa
                       12c2165cd7950075c8c290aa574616bfa527e732
                       83a999152b0bbfd6da0d1818829de617c269ccf8
                       85f4895964085cc09fc721e4ff81d8154f984eb9
                       1b1d1777131e5c192c1cb2d6dcfe1f484e1f4944
                       ce39b8f3e429ef31ec15138670f9177459ed42fd
                       9021ac454ec0987d1355a3e6829389e12b1704a3
                       c1cd1910df7ef7b0bb37faa628ccec2fd69eb6a8
                       06ef2119f287c3c9181d955bebbeebc8dc68d8a0
                       51ef1966cc02c305c771aa772b6bedbe8547dfb1
                       a09b063e2ffd22b051061988ce0da4ba2a9cde5f
                       bccb51c543fb2b72a53d92ecfc85038996b06c51
                       aa00296b0cea242dfcd8862c824f6d40d9aa402f
                       fc90fd9d6ca0af96277acf34cf1835b976cd67a6
                       43cd5844
       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 [8f:fa:9d:09:42:23:e9:b9:13:6d:4d:0f:14:c2:54:00:1a:7e:76:fe]
            modulus: c84627422b636ea24b24f7f4272871657b3454413a54eafea75d740368a7be7b527cb3073ad26a8e4ee1769ab85dbb808cef1723628f0ccf50cbe5c137e1db453be425cf3d642a27dfb4616886bde1c614d773403df38cf562dfc771f5ac92f260eeb02b82b4a9d5fafc98dcd5df49bd1fc05f993d8af2158d6ad5de9318b5f2bd7e2cbbebb047e8fd0630084d5d9ebe37172fcfe609efabf0a9a7965c166206579a7bea0968fcdcc1606352ba156a39f8c60cf74eadeca10f24a057270bdd791a40e1b528a3a2253eccc49456a1f1f2c318970c71349f0d9b2c93e9b414b16ed650a2369cd0c83c123997a0c0a3fabf01479961a96d72041e3cbcd1d95a421f
    public exponent: 10001

]