Results

By type

          2022-03-21 03:42:29,162 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-21 03:42:30,980 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-21 03:42:32.042  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 21, 2022 3:42:34 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 21, 2022 3:42:34 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 21, 2022 3:42:34 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 21, 2022 3:42:34 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-21 03:42:35.576 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-21 03:42:36.004  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-21 03:42:36.191  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-21 03:42:37.268 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-21 03:42:37.272 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-21 03:42:37.274 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-21 03:42:37.278 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-21 03:42:37.332 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-21 03:42:37.337 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-21 03:42:37.495 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-21 03:42:38.193 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 21, 2022 3:42:38 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-21 03:42:39.273  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 11.288 seconds (JVM running for 13.579)
Mar 21, 2022 3:42:57 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-21 03:43:19.068  INFO 1 [io-8443-exec-10] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-21 03:43:19.078 DEBUG 1 [io-8443-exec-10] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-21 03:43:19.126 DEBUG 1 [io-8443-exec-10] .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-21 03:43:19.132 DEBUG 1 [io-8443-exec-10] .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-21 03:43:19.153  INFO 1 [io-8443-exec-10] .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-21 03:43:19.155  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-21 03:43:19.156  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-21 03:43:19.158 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-21 03:43:19.159 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-21 03:43:19.163 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-21 03:43:19.170 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-21 03:43:19.174 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-21 03:43:19.216 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-21 03:43:19.224 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-21 03:43:19.225 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-21 03:43:19.230 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-21 03:43:20.771  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-21 03:43:20.774  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-21 03:43:20.774 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-21 03:43:20.776 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-21 03:43:20.785  INFO 1 [io-8443-exec-10] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-21 03:43:20.787  INFO 1 [io-8443-exec-10] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-21 03:43:20.788 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-21 03:43:20.788 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-21 03:43:20.789 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-21 03:43:20.801 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-21 03:43:20.801 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-21 03:43:20.802 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-21 03:43:20.810 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-21 03:43:20.811 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-21 03:43:20.811 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-21 03:43:20.813 DEBUG 1 [io-8443-exec-10] 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-21 03:43:20.853 DEBUG 1 [io-8443-exec-10] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 173260055835294185988831119480657122315869004340
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Mar 21 03:35:33 UTC 2022
           Final Date: Sat Mar 20 03:35:32 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [f6:ed:23:3a:f6:5a:b2:51:11:dc:36:5b:c9:c8:52:7a:b3:a7:16:74]
            modulus: d6244763dd32d563043d971438c3b9319f04e0080f00776b5b36b27d7457b0cb899648269943ff5afd97d4b6ea7be2ea2467728ad547c7d398d287201c09631352e5ecd84325be111238d8fb19979cf6e339766e48c580c36c73ed66c315fcf9830e3428e6fe8e9ee595bb8a1e9eb3184fd309097f4c874b970e10f3c2bdd8e9108769116be161040d96199f32a97246cbc94beb87c626cd7742af2a455be96e2e122c9a3ab70d0b9c33c5e13fbebb58608f788a829ce305775e875eed83cc7b8e7b0de702f763dae0d13c33eb210480217305e1c73d45cbc1b5343ca0d5199ad6c1ec8f309448385d0b0ffa6a800887c1a7a7ea6b1f74fab8e78fefd22f3d75abd4f996e61a5482fc06cffa5e0df184cc291760e1177239c16cb440fb6392ca27e944e6f952230da4dc6ed01eb5af8068d3443022d68c6b72662fab167a40723405c8b823d119349ef61f037695678581850d87ec4c282ea62b0fb595b23975c7bf6cbf86be27b92fd49bac79d6da247a1b8f3f88e3159485fb3df57298085b
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: ac70bd30395678db388c16ba487a9fb1728e58e9
                       dacec8b31cff8b48fb19cb2f5915f980b2998fd0
                       edbc8606a636c3385d79a4c5c222158bed7b9a47
                       618e4401cb2815d25776dd05a945d1bd5cb82963
                       a769b4e61e30c13d66ee57297ba9666c5ad0dbe5
                       71ec002429913d6c144d64a02993bb7f07ce0fed
                       14cb5fd5892282600abc4311aa081fabd7f006b5
                       661624e94830a18299802d9143346ce10615ab4c
                       eaf51f472d770305aa64fc86874bd75e713e8506
                       5b40ffea78f802bc7ea8b81c8517fb7ce75cad6e
                       2530156505c759c1519242687d95e6050fef4641
                       a6cda36181e1470cae29bd1e681aab8172088fb3
                       f3157dea05fabd2107ddf8bc49d35567251c1f8c
                       19596fb16fdb78fef9529250b02504119bbe583b
                       eb1f0182e94e19c37cf3e8e49cfadce5e91bfecb
                       13bb4426c725a06fb1afedf2c6969da6a9064795
                       15e7411a1df6bfe9474c13347eba8147e6bc97cf
                       c0d16ba41ac8771c92e0a8f4380f6e5ccd03fb30
                       26890ccd3d8fb08a5ef31a45b9aa92577c1c0303
                       fef141e6
       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 [2b:00:c6:b9:40:b5:8e:bc:cc:01:7a:39:a9:06:fb:57:68:ca:7c:70]
            modulus: c7d0d9a3cb7e84fae283c76630ea2ba1905d905ecc86fea6359e911ddffef4cccbcaba9a83c03a80f86d3813c5a9df9763d475309ebb277b03158f30a6a1156f09ea7385de53302ecedc61e27c1ea4e56f5b55c938136e6c4edadc40d54340e6b2402b25005ced72018f18174929b6f2ff62dce7d28b0f6f9c724cfb52fc45a891333a584ebd308949fa4249c0e7833e96565e032970132c453a582dc5b0617a60fec0914d59a3b3b8014d2d376a1ba907f94cb2d3730cc2a7afc99a427fc3769f2a9a849726b0a698925cc981a7205d7ac80d4c2ef75659190d38d800ca25a796530943a5f84bddb22e683731daef70817e0d5f6a37f396af5d75b8d3f4a9e1
    public exponent: 10001

]