Results

By type

          2022-06-15 02:00:13,553 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-15 02:00:18,254 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-15 02:00:21.760  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 15, 2022 2:00:32 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 15, 2022 2:00:32 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 15, 2022 2:00:32 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 15, 2022 2:00:33 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-15 02:00:34.853 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-15 02:00:36.155  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-15 02:00:37.044  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-15 02:00:40.641 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-15 02:00:40.644 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-06-15 02:00:40.645 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-15 02:00:40.648 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-15 02:00:40.841 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-15 02:00:40.846 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-15 02:00:41.738 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-15 02:00:46.344 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 15, 2022 2:00:49 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-15 02:00:50.960  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 41.205 seconds (JVM running for 49.329)
Jun 15, 2022 2:00:52 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-15 02:01:43.639  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-15 02:01:43.648 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-15 02:01:43.753 DEBUG 1 [nio-8443-exec-8] .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-15 02:01:43.755 DEBUG 1 [nio-8443-exec-8] .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-15 02:01:43.846  INFO 1 [nio-8443-exec-8] .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-15 02:01:43.849  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-15 02:01:43.850  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-15 02:01:43.851 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-15 02:01:43.851 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-15 02:01:43.854 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-15 02:01:43.944 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-15 02:01:43.950 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-15 02:01:44.056 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-15 02:01:44.141 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-15 02:01:44.142 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-15 02:01:44.147 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-15 02:01:46.195  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-15 02:01:46.196  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-15 02:01:46.197 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-15 02:01:46.198 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-15 02:01:46.204  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-15 02:01:46.204  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-15 02:01:46.205 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-15 02:01:46.205 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-15 02:01:46.205 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-15 02:01:46.246 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-15 02:01:46.246 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-15 02:01:46.247 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-15 02:01:46.252 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-06-15 02:01:46.252 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-15 02:01:46.253 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-15 02:01:46.254 DEBUG 1 [nio-8443-exec-8] 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-15 02:01:46.364 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 297119090764163791869200714378023083333102023630
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Jun 15 01:56:53 UTC 2022
           Final Date: Mon Jun 14 01:56:52 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [fa:9d:20:4b:23:46:d5:39:6c:30:65:3e:9d:ea:7b:2b:9c:51:c6:63]
            modulus: b507eabc16ddc7d092c753a3c5d56d6990467199ff597074ff5ce1bf12a614eaa2a11ecc138465f8d75624d6614d1750d0aeeeef9545928b5d61fa88318ec570d29c86a9d92128cf079230dd673c35ee9fe8a57b3c8d9e6ad1e80bfd6084298483e72fb21e526a428e2b7d7c15897845e5db39cada815c2600ba9e19ce1c2186c8a7dde92aecfe5cfaad92d499fe0099d61803dc042d4a502b2416805378ca75da9e0cbcafda49d44879582cc94442ae7c77e2dddf89f7f64a0d78bcce7253eea817eb18fff8b2ea51a6cadb95169ba025e7eeca5bb089f62b534dd9372b8a9c549b72d1201af6f43e6f7c6ae5d12e0b9e50daba83f17354c8158514683bd12bc2e3f2739854126eb8a359f0c7ce073dd2434da8b194c3872f176b63e76d119e2b3ff875ec4dfd4d450ad804f73c728c2314dc4f24e180f861075492672da2ab56f3c459d80ea8284f02a34d76793b475aef62736ddfcef55df2d037e791c877f9e065be275650e741627c046512bc46e000634c3e1156d63fe7d92e63ef75a1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 3442c4b874415e365bba13ae326e91f4777b7f8f
                       38268113eb1b31655ad34d558182195b88873e92
                       d2dd44aef14a418501e1bed7653253de01ac59cd
                       50c82069b02f84c1f5bfda3b365ca0d48d302685
                       3b4ba4f95d9bf5adc84f5789858378d57e4b9d2b
                       1fff396be9e8a91edd5e7015b65f7f2af248c4d1
                       acd1b3a203b7f2b6d4295818232c280f58af3048
                       b047d3a32728d621dc0513411291d6d8215a982c
                       fbc7d70983d6b9ff5129439074d0b1f0b6a79a57
                       15596e9445c5b6df3823fec2c42d4188d7f19414
                       fd62871d66f6b135c68e36367b02e9f735e830fa
                       3dde26a8663660f8946ad0b9be904b39f6b84d04
                       870396e19b8aa8ad661c12d8b30453e37d51bf4a
                       524c03336fd28d6fce19e3380ff1ede4f18dcbe1
                       05fd6254deabc74dc56ac45511575b872ab10bd4
                       2a4510f5346a83b92902d870cd02598988e49099
                       5a5780c8b8291612b9f5dbbeb187b3e09da605d7
                       a05989ec2cfbb475e05716eaafa191562da88d16
                       55f607e567cc76c2d5f466abaeb4d65bbcde8a4e
                       e590df62
       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 [0c:ec:25:b4:fd:cc:24:12:67:b7:f4:04:1b:fb:e6:67:d0:66:4d:bf]
            modulus: b39766ec217fa0f547891e621bca03f8f1793b556eb8dd6715e3be5167af25441d81639428032b1556f50033a5c46cd3fd62a73dcd01cfa37c1769b52e337c7e83ccee147bf254102020eadb5435c2e05b180cbb71f5a85240d8ab5e8369354e064414ad7470efe3bdda90217de7aaa3ad99f84135c4fba4f080e93c44617222e32e3b34ae7a412188beb0bbf5713a31c1444e54e35794333205596b356e0844eb2f166832aeb53c737393b2cf29660b37055c4182324286e9a578985607229cf0c53294c9a5b8d611854cd3d9856656a341110191e91a01f76a44deffe9867f0151adcc0c3c3947c86354125f60ba6d6de0846fc6c874eff7e4870e8c6eb5e9
    public exponent: 10001

]