Results

By type

          2022-03-18 12:11:51,352 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-18 12:11:52,209 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-18 12:11:52.900  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 18, 2022 12:11:54 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 18, 2022 12:11:54 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 18, 2022 12:11:54 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 18, 2022 12:11:54 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-18 12:11:55.352 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-18 12:11:55.672  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-18 12:11:55.823  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-18 12:11:56.492 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-18 12:11:56.494 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-18 12:11:56.495 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-18 12:11:56.497 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-18 12:11:56.531 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-03-18 12:11:56.539 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-18 12:11:56.639 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-18 12:11:57.274 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 18, 2022 12:11:58 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-18 12:11:58.261  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.553 seconds (JVM running for 9.036)
Mar 18, 2022 12:12:26 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-18 12:13:29.194  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-18 12:13:29.206 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-18 12:13:29.251 DEBUG 1 [nio-8443-exec-7] .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-18 12:13:29.258 DEBUG 1 [nio-8443-exec-7] .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-18 12:13:29.281  INFO 1 [nio-8443-exec-7] .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-18 12:13:29.284  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-18 12:13:29.285  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-18 12:13:29.286 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-18 12:13:29.287 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-18 12:13:29.292 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-18 12:13:29.299 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-18 12:13:29.304 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-18 12:13:29.344 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-18 12:13:29.357 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-18 12:13:29.358 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-18 12:13:29.361 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-18 12:13:29.869  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-18 12:13:29.871  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-18 12:13:29.872 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-18 12:13:29.873 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-18 12:13:29.882  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-18 12:13:29.883  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-18 12:13:29.884 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-18 12:13:29.885 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-18 12:13:29.885 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-18 12:13:29.898 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-18 12:13:29.898 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-18 12:13:29.899 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-18 12:13:29.904 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-18 12:13:29.905 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-18 12:13:29.905 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-18 12:13:29.907 DEBUG 1 [nio-8443-exec-7] 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-18 12:13:29.951 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 606258448761484277000824590586297022468061982824
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Mar 18 12:09:25 UTC 2022
           Final Date: Wed Mar 17 12:09:24 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [4d:15:88:b4:f5:38:fb:b1:92:57:e6:8c:27:4d:1e:9c:da:f7:52:82]
            modulus: b828e9bd1997dae2c40c2a79371eccce9aaa038a26ee4a740ce5e9052d52f4c35d7a7a89ab9b3a2675248996766072f3dd33718f84f2c159b44a8e71dc2ae4afe184c1c64ce95c48268cbb7b4cc373fe585b56cb98ebfb08a8f91dc75929fb62360c232655112a4cabaf8b85f18b3bfff4dc7c0fd9079adeb9fb5a58cb31d318d2dba17067dd00964a6124b9e6f32bbf274a3699a9bd51d68c990e41422e4b2f75d016690e0fdb773870dd02d8163b6c0e1991355588be57cf30032562c282e940fc3eaf28def1eeba81c347a5e7cc6b679a8f1f94fa52ee5654b3ec0790cee951a4f426c6283be5533492dd46237d258fb05982400d382c4bf3c36e3da57ce2c9f660565e33b533a52c514bac94b6148294a27899440e4ab1bd7835ccfe2ca69add06f264c15b8ed8d13a933f7830496a46c21b238eac63f8f2887b1e5e64e6e3e38265e9fa685995e882063affa7613403c4b41de1afedc350b4073d74031cf5496167bd4e510a8fd918c6ddfc301e47918a658e6445c36ebbc260f5febf97
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: b49b541aa28753f6cafb6d39a44524539d59d3df
                       f37ca3756ad28775d8d194213b8a1ebacd2d5564
                       9e57837143eb4c0d4591f6d5d98704a117d45fd5
                       0141c4f340627e7f2572aa53f0f1c8008dd75c4a
                       a93d1d73750c51511ee7c70611f3e17de51b7583
                       aa85d340aef474068780a421b91976876457d252
                       0ee651b1fbdfd9e153fba745327d404a7e6f28fb
                       be77fa1f21d4a7e16dcfe596d5131f1c3f855594
                       bc68af2210689c56b154418a01e6f60b99c6316e
                       5e0d08e160ca6dbe5a5c1c8862cf038c696c6844
                       85f614b1b4eb2ecac25c2e253243210c87a11f86
                       9e6826351c10cbc0f5a2c1d42d41c95156513024
                       07d9e699a5bd4cec079e60e7d8190a37218515a1
                       a4b56045a973f0aed99bfe7b982cea8b421bd05c
                       ac217052971af38f6af6b102a1b6e7a542ad497f
                       99a9d511556dffc7cf7b55ea60e31f6119dc3754
                       a7d34ae8dddaf85e4b79c6f2c71262db38abb106
                       421fe17bdb34ebb312cf5c26a40a3c81043a56e7
                       5bacdf1c6652db27e2b210cf2493eb496befb282
                       3112d7ed
       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 [64:e5:a8:8f:79:b8:15:96:97:2d:ca:b4:95:94:41:28:b5:fd:73:84]
            modulus: c32a753d5d03c10f6bd844bda9940930490f7951d4c7e86378bf15664ade73a2d1ce2e08b9af74f7fdb6ee8435d59c42e8ad29185fb478bb02fcf11e90e376bea95832e893a346675de7b70ae54211919a6f2201b9cdb47f12f1e54f634bf0296166f1eda4c2ccb769a92cf280a97ca76eff26d95c726cf53b9afb7b3ea2de7ff6bc6eb75d8d86fe0e2eb9e9b804af1e42a20008065fcb0d9b03dc8c45845384217a9f2d65c07fb91ed4688343682baa99442044dca2df6093c07a175f2bfe536021a68a0793045e49d5d2ae2497521068e89f8cf94fa52415ac9c7daa3013a4459e1411775d3e06d972df0b725cca827cc21c6200a2a1ed023e1674362d497f
    public exponent: 10001

]