Results

By type

          2022-03-19 12:08:19,964 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-19 12:08:20,783 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-19 12:08:21.477  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 19, 2022 12:08:23 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 19, 2022 12:08:23 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 19, 2022 12:08:23 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 19, 2022 12:08:23 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-19 12:08:23.776 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-19 12:08:24.094  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-19 12:08:24.241  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-19 12:08:24.838 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-19 12:08:24.840 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.CertificationController:
	{GET [/v1/certificate/{caName}], produces [application/json]}: signCertificate(String,String,String)
	{GET [/v1/certificate-update/{caName}], produces [application/json]}: updateCertificate(String,String,String,String,String)
2022-03-19 12:08:24.841 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-19 12:08:24.844 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-19 12:08:24.877 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-19 12:08:24.880 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-03-19 12:08:24.979 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-19 12:08:25.593 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 19, 2022 12:08:26 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-19 12:08:26.497  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.172 seconds (JVM running for 8.589)
Mar 19, 2022 12:08:48 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-19 12:09:04.638  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-19 12:09:04.644 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-19 12:09:04.673 DEBUG 1 [nio-8443-exec-5] .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-19 12:09:04.676 DEBUG 1 [nio-8443-exec-5] .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-19 12:09:04.689  INFO 1 [nio-8443-exec-5] .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-19 12:09:04.691  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-19 12:09:04.692  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-19 12:09:04.693 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-19 12:09:04.693 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-19 12:09:04.696 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-19 12:09:04.700 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-19 12:09:04.703 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-19 12:09:04.734 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-19 12:09:04.738 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-19 12:09:04.739 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-19 12:09:04.743 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-19 12:09:05.307  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-19 12:09:05.310  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-19 12:09:05.310 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-19 12:09:05.311 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-19 12:09:05.318  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-19 12:09:05.319  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-19 12:09:05.320 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-19 12:09:05.320 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-19 12:09:05.320 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-19 12:09:05.331 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-19 12:09:05.331 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-19 12:09:05.331 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-19 12:09:05.336 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-19 12:09:05.336 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-19 12:09:05.337 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-19 12:09:05.338 DEBUG 1 [nio-8443-exec-5] 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-19 12:09:05.361 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 58083848968274447500196813945193448421532936312
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Mar 19 12:06:23 UTC 2022
           Final Date: Thu Mar 18 12:06:22 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [2b:34:72:1c:a2:95:22:d3:71:80:eb:b7:11:a0:41:e5:c8:f5:eb:19]
            modulus: d488f7817197aca898afff2fd0c3b7ae38b85eb6848b311988c9e00b6b6383028452970cfdf2a3e7e8d5cfa46f82ebe9bf00ce2e97c6772184334e9831bdf9f67d2b9bdf7f17eae6fac299e39eca7f702b0c9331b91f39df07511ca0348436935da6c240e756f9b70f827c7c82161e404768f8d26c57dcf2e8d96b82e3a2202b4517b8a2287f8f1b7e6cbc471452a78d74ffc0d85d8de9321026f53977bc9a3d519bd6db59004ef5535d44a438a3129c1e17fce3072468c0e3c54cc520a54c90371a9f85eb9485e86b4754fdc2d12b2275ff29e5b0ace06d475d801e60d9e930a4a43f606d395bac797f6c480f747fb0c2b0601fd4bbde2c62c62d4427cf14e43011bb1c43e54c05b5f17fb0e099be58ff94c47e0c2592d49aa0a2e5c1e2bf853a2793e9235479416b734f4522c7320ca3c4462def4434f0adf14f8e255b8f5df19c64701fb2284080f19cea4aa8808c8e10fcd6c7db4041bfbc973ad286f460c8bda036a62cefc157035c35af933cec09db57c519a27dd52af9b8697c3e261f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 1a9b847013b686fef3bc3e9ad4fbd38d51a4b771
                       d4b8b66d170c7fc3475ccc8da270de4a960352c6
                       a35726e4f809f3ea475f449b874a265e9583db9b
                       50cd3deaf52f4872d4f96e37446d6b95e118cfe5
                       68b51dee65904943847a08b030ccbd5880759a54
                       300bf5b028b2703b2babd3801b4328c152d9258d
                       143cb31788a6a85ee6078ad0ef77005046ed98c3
                       5c5358ce5719f6da05a8032cb3ebbc9b18a4095f
                       4db78ccc3ed4b607269eca0a9d84512efdcefae9
                       4530a9b64688c3f217638519aead658b087b4206
                       3787781ac56e954dfe420c55e09cbbdbde4cd5e7
                       e4d6fcd78dba89d18932393a00a4b176ad6d9606
                       ec9a5aa014cda217962544bf766a1a76fbb04874
                       08c75e223204a2ab7c9baa47740da46748741cc5
                       4d1187065e2ddbfc28b9994fd0c1494764a9dd46
                       bb11ed0d57fc61eb136363e2cd47fe8981731bf8
                       583e79919ebae3b663e1612a1ad2d08db5e5049b
                       b5bfdc62cc1d27fac1bc4ab896e87aa9412ed8ad
                       3442595a04ad1b5798fa75f5854286d57838aa93
                       1a1445db
       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 [83:0f:6f:f1:cc:69:b0:ca:bc:ab:d8:8f:e7:f7:ed:52:5d:d6:31:0f]
            modulus: b41660268b025af921f3eaff828b95b6e79f6d3e5c88d50781a69bb2ec41af76a22389dc87aa612c19611eed7c409def829e8dfcdd4d0c871c569c7ea0b0966e7742e30c4071ba74dfef784f37da32d01099f2a18ce79401e95ca26dc827fb1256091f15c00b38d4402885031ec62c7dd0965087a6d15684a1186eb034afbe4e7da98f8effa609856a8ac5ecbea25276e65f6cf30f6dc9d62fb59a9fd1e966d16754038741103d624184f7407afdb2a968f6ce998d4077e4ed0f5db5ff2c7b76d2be8df0229e529ac79f38312ab6eb5e5f1f3f41d994c8cf9ac05bcdea990ae067395ca4d94aa1b4699cb2ba00218462bae3d22223dea5cef46e4cc02c33920d
    public exponent: 10001

]