Results

By type

          2022-03-15 02:55:55,616 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 02:55:56,674 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 02:55:57.512  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 15, 2022 2:55:59 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 15, 2022 2:55:59 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 15, 2022 2:55:59 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 15, 2022 2:55:59 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-15 02:56:00.518 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-15 02:56:00.860  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-15 02:56:01.047  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 02:56:01.900 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-15 02:56:01.904 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 02:56:01.906 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-15 02:56:01.910 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 02:56:01.964 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-15 02:56:01.971 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-15 02:56:02.151 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-15 02:56:02.962 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 2:56:03 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-15 02:56:04.269  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 9.712 seconds (JVM running for 12.154)
Mar 15, 2022 2:56:23 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-15 02:56:41.172  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-15 02:56:41.183 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-15 02:56:41.236 DEBUG 1 [nio-8443-exec-3] .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 02:56:41.241 DEBUG 1 [nio-8443-exec-3] .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 02:56:41.259  INFO 1 [nio-8443-exec-3] .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 02:56:41.262  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-15 02:56:41.263  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-15 02:56:41.264 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-15 02:56:41.265 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 02:56:41.269 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-15 02:56:41.275 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-15 02:56:41.278 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-15 02:56:41.327 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-15 02:56:41.335 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 02:56:41.336 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 02:56:41.341 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-15 02:56:41.950  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-15 02:56:41.953  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-15 02:56:41.954 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-15 02:56:41.955 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-15 02:56:41.971  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-15 02:56:41.973  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-15 02:56:41.974 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-15 02:56:41.974 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 02:56:41.975 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 02:56:41.989 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-15 02:56:41.990 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 02:56:41.990 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 02:56:41.997 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-15 02:56:41.998 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 02:56:41.998 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 02:56:42.000 DEBUG 1 [nio-8443-exec-3] 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 02:56:42.045 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 266474827038159543743601120005810736583931513052
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Mar 15 02:53:28 UTC 2022
           Final Date: Sun Mar 14 02:53:27 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [dd:01:11:61:a6:9a:2b:9a:c1:dd:a2:8c:9c:05:bb:77:b6:e5:8f:23]
            modulus: a9a367d1587575aca6076ac1efec1ba48fd259cef66f74eaea4cba4ef1c90281381d5ca2f2ddb3b0061c81c06d793ab07bcbd9a24aae22751b6bfa23a7adb204b86cd2c715708136cdf0cbe9a0c74dc11a77e45a584448e5d49085649cc27235644760eec843ae59f887f6dd01163a7b22d3cea4de7bfbbc08a1d0215e24372e01f78660a4d2c4fcd454590429d44df8050d37aab76c688e05f6dab4ca06a73bef3493ec4a0ab90a7ca462002b4e64d2b001c612e87bfc85713fb0b12a750d70e20decacae04d63a0719a7b920a91a20f9da130e1a64918337457f434cafbd68737cb98f6521e3d45d8d84f743f8c35f13c7ed32e2882d0d89425d95059374628e3ce500ea99f5c32ea1474ab035f823ab8eb6763c025e8e7878851d6eb31cba9e1d3907b6678974df237131728b12e447bc310f7725cc39393fd6da0b9ec95d8323caf5295880ab59e786d87b17a430eec968e732a0ed618b7275554f19e3c83759299e6a1d0a314fd0e2413cd3620e4889f7ddae18c46398bc918f81e65e31
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 14749e1544d55d2764459ddb20c8615dc1ce06eb
                       c9eb75cb7469d05b7cae1a32b454303e50bef3f0
                       68246e695659c2f6b0295fd327aec5ba983ccd0e
                       6dc178f083e3ca90aef3cfdb44754ddd7c14fd77
                       fb67bd1eb6ebf11015813e88b36895a890e22dd8
                       fb78a9f62cd4676de24eccd0f06f4f17940ba4b2
                       1901ac34616b32c9ec4080c9643da9a3d2b36b4b
                       88157f692583fe11c6c6081cb3098acb45e945be
                       aad3da93de22d03e7c0ff1ddcdfd39984a2702bb
                       00b2a89456c8543537608f4c76f9909b49fe1418
                       386e478074af5c9fc78b74986020bc099e09d0f6
                       1d410e7a6b2e042a8a466714aef50a41cb0cf36f
                       4969f43992e85320a25e97ae73c9b59659eeb57f
                       5ba2563824325095e4a1a551cd8792a7822822ea
                       faba7015674bc1a66d726a6bd6607e82ab7b8d25
                       14e8ebb4ebf705fa3cf7d6761ee0570910062d51
                       dcfdb2ba2dd50efa2364efa6f10ad9fc632faedb
                       f78217975ba53290672658253a1d795b40a56622
                       f682b7f2f2a0fa88142bb1d67398a42ccf1ee15f
                       e54a76b7
       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 [e0:b3:25:45:d5:6a:ec:b4:ae:28:3d:0c:aa:82:7d:fc:30:fe:19:0d]
            modulus: cf473ec675891a2746a06b3783c86ad94eb5655c92b356daad7cd7c2797b5282e8262c5d9708f9a0adf7be8030ae5ec035fd24317bee2c985d6249c6ea010aa5447b7ca9c7316ee51385f150bc8bf5f65595dbe05185ba7ac8f33aa450befe6014ce84cad1909a633f60fca32b2c472bf6d0d2f352658c48506c6b31d9d5814d005e2d6e9a5aa366b6f358463426191bcbb2338001214a72a9728f15e33c55f6568316d2d76914dec0913a6f39b85c175adee199b74c401c371f8a9e40b4d1347cb0f0c1a9cd5785e6e66f0e1eddfd7f16f2a60d344447b234856ad7c3083affac3606ac2da157b798fca3d0864a154db4ee0186856907727a12447dba76b66b
    public exponent: 10001

]