Results

By type

          2022-06-07 10:16:33,800 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-06-07 10:16:34,831 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-06-07 10:16:35.616  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 07, 2022 10:16:37 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 07, 2022 10:16:37 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 07, 2022 10:16:37 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 07, 2022 10:16:37 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-07 10:16:38.301 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-07 10:16:38.609  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-07 10:16:38.783  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-06-07 10:16:39.516 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-07 10:16:39.520 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-06-07 10:16:39.523 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-07 10:16:39.530 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-06-07 10:16:39.571 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-06-07 10:16:39.575 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-06-07 10:16:39.709 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-07 10:16:40.343 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/]]}
Jun 07, 2022 10:16:41 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-07 10:16:41.356  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.353 seconds (JVM running for 10.264)
Jun 07, 2022 10:17:10 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-07 10:17:33.166  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-07 10:17:33.177 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-07 10:17:33.231 DEBUG 1 [nio-8443-exec-9] .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-06-07 10:17:33.236 DEBUG 1 [nio-8443-exec-9] .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-06-07 10:17:33.254  INFO 1 [nio-8443-exec-9] .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-06-07 10:17:33.256  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-07 10:17:33.257  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-07 10:17:33.258 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-07 10:17:33.259 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-07 10:17:33.263 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-07 10:17:33.269 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-07 10:17:33.272 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-07 10:17:33.311 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-07 10:17:33.316 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-07 10:17:33.317 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-07 10:17:33.320 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-07 10:17:33.946  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-07 10:17:33.949  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-07 10:17:33.949 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-07 10:17:33.950 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-07 10:17:33.960  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-07 10:17:33.961  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-07 10:17:33.962 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-07 10:17:33.962 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-07 10:17:33.963 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-07 10:17:33.974 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-07 10:17:33.974 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-07 10:17:33.975 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-07 10:17:33.991 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-07 10:17:33.992 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-07 10:17:33.992 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-07 10:17:33.994 DEBUG 1 [nio-8443-exec-9] 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-06-07 10:17:34.020 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 387044810578360523330413439907346990897764339999
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Jun 07 10:13:46 UTC 2022
           Final Date: Sun Jun 06 10:13:45 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [d6:85:62:ab:6c:70:4d:8a:7b:19:db:26:ea:97:b7:4c:85:ae:b2:f9]
            modulus: a77e5a71dbcd94eadfb110703506440d0657af85d8ffbce18199cf83b76c1834eccdb8c352623d8cdd9fe08cbf773c9c6f0b829fe4e6d84186a85d417e86c30b8ed74332f2d7b4360b60fbe5e0377ad94fa8b5ceed9fced48d7715dae05f49355388e4fd1b35e5f14b253b27e34c1a77d14ba13add81165a9ac32abf55f049b950178272e5d1557b0ec0f2ab8af4a9fd3f7056361b7767f2954009e4188739621e4e371b00f452e9444b9ce0c15bb4ecc79d8733c6e7deaac6e6c4811430ef5de76c8851a21df03cb0a1984f0be92fc51f4bb13d7b717b13c68911f34ea05bcf8f0f3bb103b28872abb7526c5fd12a59a1ae2409631d60d6e025a49a5d4c80e4708bd979690497b2c4e0d8b51e95882b0bcc4f9c6ac037feaa193c8323de820c445ffb388a541913cce31c1ca2c12e59f658f919e87c1cd533c0c0580d1e93dbe732ed97d7a3f6c31f2c8581d75a38d52f0f6f52bcb647d576dfee418deb777ea1163f728530c007cedfe81d7d1a3fe1554b69f6b0412adca1807b37b0cad515
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 499b56491b523cdc8b22372d975e4a8d3bf831c0
                       65631c8d7f9f9e17b76214e83710b2b03b351756
                       b9ab16123b0099433210eae55c12473db5e51b8a
                       47cd9d7581f592041dcf6d5b0e813cb89123e70c
                       dea349c7fcc475198040f7dcd96eb0180d54f612
                       31298b720ad63c313c8a6c2244c983ec9592f4eb
                       532ac8d63ebcaa85c4a179e813a3cf2be652a30d
                       4361377678d0e9b30582f5036b4fc777c5b945c4
                       d7da3c871c96d900de2211d3556a5e0b5ad77e37
                       bda44a12efa50b7b9e944f33845941ad3fd64d8b
                       a4232645d16d1bbe29173b6f66a7db16b6b0d9fd
                       5a24bd987889a95af4d59b001de06ac9d53eab18
                       3f620645133437bbe792c794f986f32de9685d88
                       aca880db24cc31c91bf448cb6175f50ccf9c63bf
                       ba974fc8a72e9a81864da870ad98e8313f08a5b9
                       e6989d59f76bcbf9716e3524f135bd0d33414d71
                       58c5a66ab58818c20e1c581dc0700cb5d4f3dbbc
                       f4d6a1b015622cbf0f06e63f5c075a777ae750cb
                       bb1b25128703420e9be3990af086b4b6454e8e69
                       b03c5a4d
       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 [d2:f2:bf:0a:48:56:f0:2c:61:cc:fe:a3:99:bc:ec:dc:5d:ed:9a:57]
            modulus: c3537b8f66c569cbaf94928a96ff25085e37a3a459137c4b60ef4d23acd420d685766905258201a0c46f2d692bd6c39b1d7346bd0dd572b4cfe6d85d9b74e484a1d03488a2c02e53379680e84b8aab712e4aaa6980f18bb90f9c76f0832ec748fa3ce912bb791ae4a3fd0a6e72ae77083607c8dc6136a5e73d81634a24dc63d1315ac02b534e183983c73fce917e57e5f55edf69a32e7912df91a9f6113cf178aaa8dd35381d20a5eeccb514634508d8e39c0c8a01d8ab9bc396ebe5420894a58ad4516427aaffb3046353876bb4ee581f7ddecfb4fd8501aef2d75eeb25c1c8d550f1f7af9928217d67eb0fe848e6870b9c8ea3dc623a0b36cf7b4cb9b9c86d
    public exponent: 10001

]