Results

By type

          2022-03-08 12:10:44,562 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-08 12:10:45,309 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-08 12:10:45.901  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 08, 2022 12:10:47 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 08, 2022 12:10:47 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 08, 2022 12:10:47 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 08, 2022 12:10:47 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-08 12:10:48.063 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-08 12:10:48.367  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-08 12:10:48.541  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-08 12:10:49.228 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-08 12:10:49.231 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-03-08 12:10:49.233 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-08 12:10:49.238 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-08 12:10:49.320 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-08 12:10:49.328 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-08 12:10:49.458 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-08 12:10:50.603 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 08, 2022 12:10:51 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-08 12:10:51.547  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.553 seconds (JVM running for 8.855)
Mar 08, 2022 12:11:51 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-08 12:12:06.911  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-08 12:12:06.923 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-08 12:12:06.964 DEBUG 1 [nio-8443-exec-2] .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-08 12:12:06.969 DEBUG 1 [nio-8443-exec-2] .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-08 12:12:06.993  INFO 1 [nio-8443-exec-2] .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-08 12:12:06.996  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-08 12:12:06.997  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-08 12:12:06.999 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-08 12:12:06.999 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-08 12:12:07.006 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-08 12:12:07.012 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-08 12:12:07.016 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-08 12:12:07.065 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-08 12:12:07.072 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-08 12:12:07.073 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-08 12:12:07.078 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-08 12:12:07.642  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-08 12:12:07.645  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-08 12:12:07.645 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-08 12:12:07.647 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-08 12:12:07.657  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-08 12:12:07.659  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-08 12:12:07.662 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-08 12:12:07.663 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-08 12:12:07.663 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-08 12:12:07.680 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-08 12:12:07.680 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-08 12:12:07.681 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-08 12:12:07.690 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-08 12:12:07.690 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-08 12:12:07.691 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-08 12:12:07.692 DEBUG 1 [nio-8443-exec-2] 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-08 12:12:07.719 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 646208970022402724721915304486591797553435138608
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Mar 08 12:07:55 UTC 2022
           Final Date: Sun Mar 07 12:07:54 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [69:ad:d0:ef:2a:82:90:3f:1e:24:05:90:f6:68:94:f8:12:ff:40:1d]
            modulus: bd5625928974d799954a839aa82d5bbd267b0b81fe4325683aacd5457c85c4e19319f140fa57d2849b20bff71cdbdef4f0b97dc44fa0f5551559bca68e12cc0addef60755508ef5cfa48ead9546a427f9f29994da81533921610b7ce3c19ff0ead1aba2eac143be9b06aee874c7e279b1e25f6e12e08600dda82f8607e54744115a80fab657c7e7f6f8400c4b33835d69a324bccf8bb94f635c79d7237d71b9418cc350dccc25d247a514dc119cace8c4e36db39b1822391cbd6109d55090a37c456aa361ab742f1cc07192fd9599b9fa5eab2989c1b614d00153fd807d9bc8403f8863644d652646a6e8f4fbc75b52d6134f6b230760a58f6d07ced5c1b4ff4150387726e1e1fcbf8b630704d5baede5b59fcf299fddc22ed2ea9b22814befbd31dcc7e7a2e7ea8422bdd7641827df9ea29169b159b514fa4c3ad3e6d56bacd7353fcb6404fcd6115e5d92f8073e4c2ddfd33be8d7c078d796bcb2509d0563cfee64da1df33b67aa330d5182fbf85a2261452958c33c820936f0f0c005f3a51
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 43253185388f1bf08f1f79ac73eb37021588c523
                       fe23209fd0ebcd667d64bd9cf6add4e0fea2ab0c
                       8fe1d933c0de88818102a17aa31796c2eb8c2ae1
                       d437c276fb71fa1799e6e3a3aea3b31400a95607
                       5e0428651b2848f7e8f0e8e1c60da6af504396bb
                       c0d9ea1eb00b0bb1e3f4d4faa0839f79e12bbb04
                       17e0291b153a139861e4d1e40662b1be14e601e6
                       1b3d0eea4929b6ee7b161ffc4553c4971412316b
                       d927ea01e978a02b93a658f49d0bcea3ad56d306
                       c3b24e915ce89e2d612100c6d64dd5ab323f423d
                       671f4ffa65960b54031450478fa4d5ebe33c6a63
                       dff3e31ae9615cb2748e23e167967e5e4c797023
                       4b36e551eed2256d71f3fd6daab184dded824433
                       92119542d48db9ffb68f08d8acf801fbf2a50918
                       f0c6e21e5ae501a203a177b4436eeaa7822ee02d
                       b43446600695c8e59f9229c4843a53f2d64c91b9
                       f88929b4c9294100903039945c3bbfd44a6c3ab7
                       6a53f136b1984cfb0bdb5bb209d5190d14b2bd94
                       93a94897ef93873aeae19d7ab37f329c67c6628e
                       7e8d1478
       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 [ae:ce:f0:dc:64:da:d0:b4:d3:cd:2a:26:07:41:19:e5:9b:9c:c6:a7]
            modulus: bf6fe9a8f38faec9ba9cd5b7c5e8bc8f0eb152d90e95a3fe6dd9df2fce3c96ad21f1c18886dc063af7782a0329daf2e9db654e895ef61eb273b7a3b215049e72d13c90238bda432b2a5694bf8940c32c6029034bdfe18e492eccfd75fb28ff93c7c0076c832f84ccbfdcaf688ac9fea9e903bbc918ade358bf9b6e2ba10cd251f4e58542436b37a549e2ee1a291936ee70edf0d36a4556c24f7a0810d0a015d18d06c3df6ae72a482a1b0d5ceb212a2fdc8e61ac3a7548e83e039ed8be224d4ac8995d0a0820c70139931fd8a57e857cd07bef5819deb177f94f15b38896ceab0e85ea59e9e09861e7e97e8c3f3c1882bfa0c2ecf8f6871b452cccaa67365707
    public exponent: 10001

]