Results

By type

          2022-06-07 10:38:40,443 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-06-07 10:38:41,319 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-06-07 10:38:42.090  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 07, 2022 10:38:43 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 07, 2022 10:38:43 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 07, 2022 10:38:43 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 07, 2022 10:38:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-07 10:38:44.420 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-07 10:38:44.703  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-07 10:38:44.854  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-06-07 10:38:45.535 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-07 10:38:45.537 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-06-07 10:38:45.539 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-07 10:38:45.542 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-06-07 10:38:45.587 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-06-07 10:38:45.590 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-06-07 10:38:45.717 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-07 10:38:46.359 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/]]}
Jun 07, 2022 10:38:46 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-07 10:38:47.207  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.575 seconds (JVM running for 9.4)
Jun 07, 2022 10:39:11 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-07 10:39:28.065  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-07 10:39:28.074 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-07 10:39:28.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=sdnc.simpledemo.onap.org }, SANs: [sdnc.simpledemo.onap.org] }
2022-06-07 10:39:28.119 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-06-07 10:39:28.138  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-06-07 10:39:28.140  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-07 10:39:28.141  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-07 10:39:28.142 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-07 10:39:28.143 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-07 10:39:28.147 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-07 10:39:28.153 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-07 10:39:28.157 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-07 10:39:28.202 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-07 10:39:28.207 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-07 10:39:28.208 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-07 10:39:28.211 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-07 10:39:28.797  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-07 10:39:28.804  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-07 10:39:28.805 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-07 10:39:28.807 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-07 10:39:28.819  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-07 10:39:28.821  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-07 10:39:28.822 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-06-07 10:39:28.822 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-07 10:39:28.822 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-07 10:39:28.839 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-06-07 10:39:28.840 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-07 10:39:28.840 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-07 10:39:28.846 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-06-07 10:39:28.847 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-07 10:39:28.847 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-07 10:39:28.849 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-06-07 10:39:28.884 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: 704065848739395500571375981761368886764035867037
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Jun 07 10:36:34 UTC 2022
           Final Date: Sun Jun 06 10:36:33 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [ab:b8:cb:96:55:33:71:e2:38:ca:84:1b:3e:5f:5d:ea:a0:3c:08:df]
            modulus: c4e1170c27744b389f79e199717c86c20b7fd59985134d5564ea03065f1a831b2c64bc4cb6de6fe475ba20cffacffaa60a3c197324264e9fc2ef1ac21f90bc2d8f35e50f7d02876952d7f23f004c488aadc67e168d2b793a66cd116cd76a1385f1dc0eb05bdcfd3e0ffb24eee0cd4cd99a01c25dfb56d06af6d9a8f43afc1d211b9b386ba66f6d67b9ad89b290c2c2a3d4ef0d02557ac1b989ac5b987b7dc6368699de245c91f5dafe8bea625d5a3f98aa1bfe5933e2bccbd91299be8c3db3ac5bfbb4c114fe6e9f925a87a2d0e4bcbff8bac2ed393baa184ee0d33cf9b0eb7639a630e3aec247abb557d7e2e03e66d59d622a773f974e79c7acfd4272304094a7b851422e9e922c35d75b2509c5f7443b0c57ab2a40ff2561072a3bfb003eac0b2e7a8de4fb2667457dc5e68b3ff01bafe895195a1bcf9ac35cc4e49f19c7f847d68158ad24fb796ee64194ec4f2fefe736b68e9a54212574120c4387533bdf1d4bda11c374a973091dae3bdda4cca2154f2a96ed69f59608bfac38167c8617
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 02312a13064d276550c0a9bc8164d5b036b50dcb
                       55e339228232264f75b3af4d633a6db354898edc
                       7de79d308ea405723ffeecdd0ae06f45b4f262b2
                       554fedfb51f66a0eff53b1360fc03b31c131fb69
                       d65923c2d9ebce868d5423a1df60d1f8393da128
                       e9640e802cc54698e5a61277c520e8e4a731ec7d
                       ffe8108464f0e305b229175bbd97d1227c222f5a
                       4548469241ee12a30c74f7de27696d65aa4e707e
                       83a5798e0c48f46392831774f599f5ce6605fe01
                       55d83d85b793868b5dbc49d917f9bc6edabe9050
                       4722caee18c458a97bf18a120c1c2a183b600e4f
                       9f3e823af81d7b28ceaca1c4413e7e1cf7578fe4
                       b5b8bffba81176abc4b66e217817f725071873c1
                       90caa91f73edc8bcbb41f37cf6d2346f7ffb58b5
                       4ab6e22dc9d86fc0c86435b8e030f2fd1769d1e6
                       1c3dc0abb19d46748e0d7294b6216d20d4eef689
                       75791de49afb56b2bcb14e49e629faa5d79850b7
                       d91059881e4d67f305ec9164b15176cea24d36f5
                       e732dd983541c06ab3e6b61fa415f922e3c482ca
                       765e78dd
       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 [5e:db:3c:59:14:6d:d5:08:d7:7e:a9:79:49:e8:de:a5:8c:ee:a0:8b]
            modulus: c61df8d341a7a3da5d95515809a67c7509defb4be3ecf31a04948237c22959ba27de07dc4163a918b56dd01e9d7f920667f3712842dc66475feee269f051ccf494ceb7e8d7f170822f5c9c5f9c140d58a680f80d72491544ff02a19b5c9b4b0e55d8b1022609a29ef9427c278f4b44c733bb487780858b0e06f29132f9af211093d8c8b8fb5f04a12c02b1e4a90ddd1b0e5967084e0f5eaf827374ad3ada7339173736f8bb63828504884cbbbc43764ba6658a10e24d757052faffdb4c65c397b8f101b12b81122c7dba911f66f8caf0a6ed361801fa4b2684c0d4db986e0bc9d1b576e442826bd4d75072ac17c33a5fdbf06339bc7a6c254695c73930784d81
    public exponent: 10001

]