Results

By type

          2022-03-23 12:15:27,916 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-23 12:15:29,220 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-23 12:15:29.986  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 23, 2022 12:15:31 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 23, 2022 12:15:31 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 23, 2022 12:15:31 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 23, 2022 12:15:31 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-23 12:15:32.548 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-23 12:15:32.846  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-23 12:15:33.038  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-23 12:15:33.799 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-23 12:15:33.802 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-23 12:15:33.804 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-23 12:15:33.807 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-23 12:15:33.866 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-23 12:15:33.870 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-23 12:15:33.991 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-23 12:15:34.759 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 23, 2022 12:15:35 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-23 12:15:35.820  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.859 seconds (JVM running for 10.939)
Mar 23, 2022 12:16:03 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-23 12:16:15.651  INFO 1 [nio-8443-exec-5] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-23 12:16:15.671 DEBUG 1 [nio-8443-exec-5] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-23 12:16:15.722 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-23 12:16:15.727 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-23 12:16:15.747  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-23 12:16:15.752  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-23 12:16:15.754  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-23 12:16:15.756 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-23 12:16:15.757 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-23 12:16:15.763 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-23 12:16:15.770 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-23 12:16:15.774 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-23 12:16:15.814 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-23 12:16:15.819 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-23 12:16:15.820 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-23 12:16:15.824 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-23 12:16:16.460  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-23 12:16:16.462  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-23 12:16:16.463 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-23 12:16:16.464 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-23 12:16:16.475  INFO 1 [nio-8443-exec-5] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-23 12:16:16.476  INFO 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-23 12:16:16.477 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-23 12:16:16.477 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-23 12:16:16.478 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-23 12:16:16.491 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-23 12:16:16.491 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-23 12:16:16.492 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-23 12:16:16.498 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-23 12:16:16.498 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-23 12:16:16.499 DEBUG 1 [nio-8443-exec-5] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-23 12:16:16.500 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-23 12:16:16.532 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: 221175428755071418787544210198189018612661824800
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Mar 23 12:13:05 UTC 2022
           Final Date: Mon Mar 22 12:13:04 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [1a:23:b7:da:d0:94:8f:4b:6d:ee:12:d7:c4:54:0d:59:66:37:c9:9b]
            modulus: b34f37e1d5df7b719cfc0c4459dcc82352ceff3319b264eb688978303e7191d68772d9e3224f087b6bd124af3633735495462f78b9431fd1c843cbc02613cc2f22a7ff3067e46dc24e62c92b030a464ef728bc13ee91d3048a7be8ff4f155055e729cc3e12f554cfbdccd7c4d8b4c848f0ce35195cc9d3b4de34937cba66878372244d9be4437aee2ddf3d225e7006d3c9cc8da558c3bb8f284a7a3ed3a9a946a568a6279228f21493023737f14b58dc5536ff386bf5b59b6f6e924214d96cfd7ca990ba651ba0cd34b7920aaf4fae412798f1332ec8f6f4f425ef7e3200a476ff353f50c0d38e4f8a004f1c9f7da288a62c7b3e86b516d9ba42b0706902b069abfde8c5c18cb62bb0c99dcfecc6b5bc67666bd7c6d9d6e0150afe0912a0b254d656eb03d166144b12e1718a2b89407a8a1ea094b0580060ff4b12a8328e1bcaf24914c4bb2458f8d1155963426e5cfaa7c408c756858c15b4e5162885cd50f6f0d60617a7996467cc0cf1cf962e08cbb2e16df164c4df3a1a1a75f01bba3e21
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 5e7526b7b936d15559a998eb83c86e8cd2692dd4
                       d8a09d5fab549a0bb8bd1f287d4943fa6eb857b3
                       0f31c34a5e77fb8f0713de1639f2be9308c64092
                       5739c09231186402a408c735cc077ff901bb81d0
                       9f2c2a9f2c8a9ad7dfe78d3efe9cfc2ce51eb150
                       c74ef42628d7377a606ada7b1fafa69bbde97eb7
                       829e774512fbc6b2cb00536dc8e958a36da95212
                       78602884e029c8f8a161b0f672a37ddf03050e4f
                       282561e89d0eb10519cf2797f041f1f612cdb9df
                       2037365bb830f66e8e052111db5c5f9d77b6c57b
                       48944f8a56a5db9e927e07942a94ab57c2ed6c89
                       4679a90b02ef3eb84042454cd53d506627794549
                       88f225fb6be39451190c11048dd2a804c267ce99
                       ec505b2f8fb6a14c60099c28b899cb5a9fc12705
                       a2604811c62e761831fdd29ad4cdd4150ab17a2f
                       d6e261f6518cac300e46f1e915e5129b3e1d4310
                       1fedf5a93fdef9910cb23ca057356e4d25fae6b3
                       f2b1570a292667a20d58cfc6e64cfacd8a393bd5
                       0aceab90ecb605230ddac62fb77e4568140b01ac
                       7b0cb307
       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 [00:02:a3:da:69:2c:a8:c0:bb:7f:20:19:44:4c:ff:3a:ba:a9:2e:1d]
            modulus: c12f6169c2eb1d927aba5676b4a0ab5fb2073e98390c88aae77c777efe9a641c134586707dad7cef5512c6247534624f09135a4cc21a699a49de07ea65776d95fd9183502613cef5e912402d81e942486da7e88a2dc4f6db633e7238d6c6c2e01756e1e7bccdb70b87e367532be448811c41dbddfbdb424ccdf799262d0e4e3c06b7e69f21b6335ccd4cffefc9c80a7e8120ddf164f6e71a6cd499eddb29d2e8133e779abfb4b4a7de1c9719badc29947de1b56789f2b02c0854727187e0736f745365d1e060a4fbd710b0f506b3c37d21202b4274df38ca53c2953cd142aa0badfd16f6c1e6eeb1a5a0e8f9ff38c04521786999b75bc35fc372399bc1bf0dad
    public exponent: 10001

]