Results

By type

          2022-03-17 00:02:12,241 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-17 00:02:17,045 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-17 00:02:20.338  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 17, 2022 12:02:30 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 17, 2022 12:02:30 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 17, 2022 12:02:30 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 17, 2022 12:02:30 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-17 00:02:32.649 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-17 00:02:33.949  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-17 00:02:34.733  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-17 00:02:37.946 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-17 00:02:38.029 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-17 00:02:38.031 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-17 00:02:38.036 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-17 00:02:38.234 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-17 00:02:38.237 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-17 00:02:38.835 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-17 00:02:44.341 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 17, 2022 12:02:47 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-17 00:02:48.835  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 40.204 seconds (JVM running for 48.447)
Mar 17, 2022 12:02:51 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-17 00:03:32.632  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-17 00:03:32.640 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-17 00:03:32.840 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-17 00:03:32.843 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-17 00:03:32.934  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-17 00:03:32.937  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-17 00:03:32.939  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-17 00:03:32.941 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-17 00:03:32.942 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-17 00:03:32.945 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-17 00:03:33.034 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-17 00:03:33.049 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-17 00:03:33.338 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-17 00:03:33.343 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-17 00:03:33.343 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-17 00:03:33.346 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-17 00:03:34.776  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-17 00:03:34.778  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-17 00:03:34.779 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-17 00:03:34.780 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-17 00:03:34.787  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-17 00:03:34.787  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-17 00:03:34.788 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-17 00:03:34.788 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-17 00:03:34.789 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-17 00:03:34.837 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-17 00:03:34.837 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-17 00:03:34.838 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-17 00:03:34.844 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-17 00:03:34.844 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-17 00:03:34.844 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-17 00:03:34.845 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-17 00:03:35.028 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: 491653309974738287842072050153623504119379614518
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Mar 16 23:57:54 UTC 2022
           Final Date: Mon Mar 15 23:57:53 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [a6:5c:f7:cc:77:4f:7b:d0:4b:b7:03:11:9c:0c:a9:27:59:af:1e:7f]
            modulus: e6557fc5ef86af05ab0b0155d4f79e20ff5390ea90f2d89ef510ce90af2a2c41dbd305591cc5bbbbb54a0c279455b66ef7cffaf3de526a2069bb9cfea6ba7255f549bd9514b24bf1a2023e81dfdfab7581773355e0f04d40b7f5e568e45e37d950f104133cd1c5d374b2dde85bec2bcb625fd2f4f4b4e867a96643cc6baf08b1b25204f58e0abd236385ee9a1534749af4c4dc689ba6ff28e34880ef329fbf278e159b3cb6ab27f8137878a8eb22deb325ac65fffafe4c0c8216faf7b0871c13e554291915dde350fcdc987afdcd2be62c77260bf9d338177175738d791047ac26c3da098899efd22675ed048f6a60df82991eae77680a5b6b83c09e08d8cf2c5fa399155cee5cfd0d249b15eb3d00e4178c55167334c837c27d2183dd28ec40048b294268d2cdb531e7e3de884154bacaf1562d99b2573cd7fb2b3aa681a697cdb86d1e5c2992a22524b1818332058e2b85519d14da77add398271cf3615247ec2ca8911e32b120e39d25b2d873b446dbe57a81a6f99c57036f97fdda3bf56b
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9ed3ae5c335b146e08d462c9578e66219921f8fa
                       f8b666d6780573152d651eddd0f03af5c2f55817
                       dabaa4bcdceab90a41c5fd6211af13521ae4efe7
                       a24df4547dc67636780d1df32496ffa7b350bda7
                       6c5b8d97b9cd70d40047e00c7d3549873a507f58
                       22a617debbbe022ef753bb696373a8cbacd17625
                       c77398c3c4cc6fa62b26340dc6a29c09d39b4b89
                       4fa3b405a42a18bd90e6fe55dd3211d9c03a271a
                       5c1742d524e09c5469af203480b9f51f103d4122
                       d08ac4665b5b492e56985cd268bc090cf7aafad1
                       ee1f52a5852587c59b9dc69b4e6f751201ea4ba5
                       2cff5e79c7f2c954d21886d7c1668b6d6b00787d
                       2f20996c7c729f9a33469e3247d35102ce8e02f1
                       f9588ebd60d586126fa5c00ea1da23c008c4344f
                       891f88e33ad6e8cd258a06e97ce92b17d3e6b6c4
                       a47c46f91926bc39bf33f26c7c70970aa4ce1f3f
                       f01eced63e9476b19070bf28d6aa62f64236959e
                       7604da11ef15066b6e446c69ba1c54a63221f7c0
                       0f4cd1fd454e2eb617da7b4c2d35413227d027c2
                       aab911a8
       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 [c7:9a:c0:99:4d:28:ce:9e:2a:95:e4:5c:16:89:18:4c:2b:df:fc:d3]
            modulus: db888dbbad9b7c72badaa1ac2dde892c497746cbf4b99c1df0edaf32fcae280d024228009b17bd964ed56e3018c2a6634a7317af17860f07e8ebef5e34f2db29e12fb717026cb8b3de04040b7bf080e9db20453262313dd347561b759898d1d354c3c47c5b7e08fefe3c8dafad209c8da67702854366fc47e27ea28bb80ec80c6e6b4e9f8722e0c0c31163bc21f74e132115db47a158fb0a0c824becf4f5a178f0c467bc5d81d493675ce79eeaa5b6618e25a7f675538d85f9276516761fc60c1b8fc8163a3416b573c6f4fbf512d95530fa4d3417f506e3c9de52be9f7c4e89fdc4659cb00ad9963ac7c12cc893f8de92d0b98dbc68975b0d0e227a296be4ad
    public exponent: 10001

]