Results

By type

          2022-03-15 10:17:29,959 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-03-15 10:17:31,744 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-03-15 10:17:32.978  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 15, 2022 10:17:36 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 15, 2022 10:17:36 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 15, 2022 10:17:36 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 15, 2022 10:17:36 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-15 10:17:37.209 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-15 10:17:37.716  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-15 10:17:37.998  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-03-15 10:17:39.246 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-15 10:17:39.251 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-03-15 10:17:39.254 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-15 10:17:39.261 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-03-15 10:17:39.313 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-03-15 10:17:39.322 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-03-15 10:17:39.522 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-15 10:17:40.418 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/]]}
Mar 15, 2022 10:17:41 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-15 10:17:41.878  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 13.327 seconds (JVM running for 16.448)
Mar 15, 2022 10:18:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-15 10:18:28.559  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-15 10:18:28.569 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-15 10:18:28.647 DEBUG 1 [nio-8443-exec-8] .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-03-15 10:18:28.654 DEBUG 1 [nio-8443-exec-8] .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-03-15 10:18:28.675  INFO 1 [nio-8443-exec-8] .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-03-15 10:18:28.680  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-15 10:18:28.682  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-15 10:18:28.685 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-15 10:18:28.686 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 10:18:28.693 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-15 10:18:28.701 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-15 10:18:28.705 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-15 10:18:28.803 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-15 10:18:28.817 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 10:18:28.818 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 10:18:28.824 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-15 10:18:29.755  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-15 10:18:29.758  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-15 10:18:29.759 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-15 10:18:29.761 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-15 10:18:29.779  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-15 10:18:29.782  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-15 10:18:29.784 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-15 10:18:29.785 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 10:18:29.786 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 10:18:29.813 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-15 10:18:29.814 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 10:18:29.815 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 10:18:29.824 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-15 10:18:29.825 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 10:18:29.825 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 10:18:29.827 DEBUG 1 [nio-8443-exec-8] 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-03-15 10:18:29.889 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 353644600663169900784268165406587956692090962733
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Mar 15 10:15:16 UTC 2022
           Final Date: Sun Mar 14 10:15:15 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [4f:78:f8:a7:c3:9a:82:02:be:84:89:6c:ec:d9:5d:0d:99:46:6f:47]
            modulus: dfa9936f74f704e0d84bf5e5a37284f1b2e6fa43f5a5342a06d7caee1df07ebb109e93a32708821c7e450c541f0619766e3b08b60b2f6c3bf3d7e1764a55e6901749993a4d323c751217a2f14e3624d5a9bd06834a69bbb073fb278c20b459ba872e6ec08e788cc9849adbba4c8717d3f970bf0a73b4ccaa94552b3367c0da1dec984883246b28becfa70759b0d187fdd8c626d7a26c55d9945f63bff5c94a381085b3a125b2fbe7bee09b1f1e0f0382c8e95a36adee356f25285f20ea3a8803500b958f18b63f840a2e926ee6cc4b5f76c1fdd3c29783ffdbcbb94b67ef7c8264ab6fb35171cc15d48ce0c9e1a17baef9bcf5a1dca86edb1f03b12070eb559fb3911141c57a9f7c62a1795d3a2fc2902e807ff402861b80bc7cb6d94d6b3d0dc18e8f8008ab952c42963025ef482a71c0023c5113217c3561245b6259b6ddd8065549170907849a25f6cdbb89d9f0d7c816a3cf4f1c251d4290e82b498f816eacc3b54402b99ce50b6c8a27d5b17eba5d2e0866da9a286913c28111001395a5
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: bbdeba9443ed904285466aa8e6edf4f7221dfc1b
                       17ed7c78ea5e0af98f8c4ae6fbbf010d376d30e2
                       6dde5a4c22452faa5e10b78406c8d535eaed4f97
                       786f7e5879fe99f851f688f6cef155886cb6b459
                       8c8684c2f8b2976fbf63378aef7e4cdff4d3b3fd
                       505fea9a76c3c5e689362f806b8d611e65b87061
                       e3dd4230bf00b491066bac32cdf88b98db6d1be1
                       e8631471a9b6bed9bfb6849f093f2d5f3afecf6a
                       2c218d9536561af132faead22fb330b4f0e2a833
                       e8c48d7f831bab05d6e45d39842841acb694fc9a
                       c6c170fbfb740d4a189727f995eabdda2ff19f21
                       be2ed1ecee8f12a95ea25720b213e120c41c10eb
                       b53b7be830606d16ceab2e7c96027a5fcd0f6fc3
                       9b350e3bb866ce7c48afcc896ac3ca3f92cb629e
                       1c4756fba58f63ae6b4a2f6223a6fe312d2039f3
                       706627702d02aa35648ae9bd4f44b52a09dd3d3a
                       1c7537edbe30b8284be3849c9b65033cdbb81864
                       5c048a843267723e655d263e5561a26cc02ed77d
                       49e79d5380a4aaf9b4bb70f6b2ad13d1aae897ec
                       c64a4b4e
       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 [b9:e4:da:03:98:77:c4:dd:55:a0:80:f0:d2:08:7f:d5:53:b1:7a:4e]
            modulus: c63a1c5d2f9a03df2814bd0c9904cf97d2447f43929ba422f7b09be71ba50f9e9b9c4a804702fdb444fa94508961f3e5499dbd1355e4068a170c503953425e2cf8a8600f80bb1a9bfc95cde71914c34128acabf5ad9a5bacf2afed253a17c59c9dd560f352bd82c0e7678a80abd886a59ab8e9077b306e7b201dc5f984474e93f4a030a91d17c0be69cd1b9b8db80102a7038a2165171846ebc26bc3f14b928f504aec33cb9b7702c9c59a2900bba6b5f2ceaefbb7e5fcdeb07da604fc9ef403413af322d9592f114f15f6ef72e57690d44c8bd4b9a7df841dd5b82cb4fe9b49394f2ea30f70dab17b4be20f5b05a3699d90f77deb6ed87e3298ff3edf50b81f
    public exponent: 10001

]