Results

By type

          2022-02-10 12:07:21,530 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-02-10 12:07:22,132 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-02-10 12:07:22.759  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 10, 2022 12:07:24 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 10, 2022 12:07:24 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 10, 2022 12:07:24 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 10, 2022 12:07:24 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-10 12:07:24.671 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-10 12:07:24.986  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-10 12:07:25.154  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-10 12:07:25.780 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-10 12:07:25.782 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-02-10 12:07:25.784 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-10 12:07:25.787 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-02-10 12:07:25.823 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-02-10 12:07:25.826 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-02-10 12:07:25.937 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-10 12:07:26.505 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/]]}
Feb 10, 2022 12:07:27 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-10 12:07:27.327  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.343 seconds (JVM running for 7.65)
Feb 10, 2022 12:07:55 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-10 12:08:41.092  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-10 12:08:41.103 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-10 12:08:41.151 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-02-10 12:08:41.155 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-02-10 12:08:41.171  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-02-10 12:08:41.173  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-10 12:08:41.174  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-10 12:08:41.176 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-10 12:08:41.176 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-10 12:08:41.181 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-10 12:08:41.187 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-10 12:08:41.190 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-10 12:08:41.226 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-10 12:08:41.230 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-10 12:08:41.231 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-10 12:08:41.235 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-10 12:08:41.862  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-10 12:08:41.865  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-10 12:08:41.866 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-10 12:08:41.868 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-10 12:08:41.879  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-10 12:08:41.880  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-10 12:08:41.881 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-02-10 12:08:41.881 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-10 12:08:41.882 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-10 12:08:41.895 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-02-10 12:08:41.896 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-10 12:08:41.896 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-10 12:08:41.903 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-02-10 12:08:41.903 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-10 12:08:41.903 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-10 12:08:41.905 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-02-10 12:08:41.936 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: 27146038503075209085002399730706821839728011857
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu Feb 10 12:05:10 UTC 2022
           Final Date: Tue Feb 10 12:05:09 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [bb:1a:e2:ef:2c:c2:4f:92:af:90:01:78:45:b7:d7:d4:78:76:97:68]
            modulus: b4c40f52ca996b960d4ff1b2ca39f168748c595429fa4d16a472993f17369a0ce97d7c1f2dd989078a7ccfb07fe93efa86fa21e5b8e91c0d52b498677399c7b3832b8bcdd9ea2f7b5d2bb3845a7ebc048025eeb2a93eaeb9119fb96b7ed9c014d217bc444b638ddc5c868c1cdc867baa44859f12b35d1559c08914a0eba73862ae30f593d8d1dcbb81a3b9e35eb6fff510fae2d27041b14e0c5a3832a23e226997951e2d3cf4b4caf233806a510c15eec8dbed7561d2641917e6348789fcb35f442c13ec950151c8336bea89466a79ae0a047e2cbfeae655e66fd1ffc51d27801b1ea37011a985d5838c881e1da4f61077f5c5b926c031a8d70232db765abdfaa28bad1767ee1e9117db3becb3670530fa49eaf27b5f99f15ff48628e3e6ebb20a4d50c14ffa35964807f060a47060db1c0d3f3bb37701ef9395e5f102cd0dd467273b099527ccfd6fdbefa343dabd790fd7e895867e68b7f52e12147ac859452a1cfd9f564c0dae47616f0e5ead3aaf77137f72b58fcf1e648be2c6c35fb31d
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: b0db515140f09f04c9cfd36f115d55c46a8c6d05
                       3dc6f93c999384bc333aeaa0f288621fb82f875c
                       aea7481efbc83c570ba65a180a4efadff33cbd7c
                       43d2c114f0087a14cdc64203768a8da38d5fb39c
                       9574c141bc6edccc070a0f473f2a3543e14689b7
                       e86e699d7e52a27f21aa968b89d34ddffec68ba6
                       0eef0346a5ac1832d56a12e9941e041817bd25c3
                       0cd622cbf575862b960dc065f381a2ca6dc35fad
                       2610b0e481c7ee697053974ae72e19c04558a4f0
                       2c1c105c5f5218ab15097f478d991acae0d1f20c
                       a3b88d702b931be239d1c5b966c2fb68e13b9726
                       2a03e1caad0ca518a07f70d22729773df7f3459a
                       41cbef0da459524596fadf2293e979dd0bde0889
                       b3ac3b32a00ae2cf159e917d043a65042ad2baea
                       1dc27f81bc1c4ba83084a978c11d58279ed1e7ff
                       833a7aa19653c65555ce2ca23f4035978dcc6134
                       7c911337f85e4e7f6cd2ee74564202e250c90fe4
                       39dcb91a9eb1447e56d5588cf08e5d2373fb485f
                       924f198f07dda406905421f9c2b2d9f8d11e9007
                       d29e3238
       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 [b1:27:bf:1c:d1:06:7d:3f:f3:bd:24:ba:96:d4:6a:0b:e8:27:44:52]
            modulus: bb782b179c6285c57a202f84f131273084c3457dded706e73389770ba27e6c352e552744d0e9e0d3c8123eaeef4465b414af752e683228ae578dc22ac63c847e7d68c40de3fe56d1d7a2cb7ba08d2227c0adfcb28efdb2470560ee0e0a99410aeea7762deac38aca5b6834daa574a70b8b6f369c83086b0277bd8760c9457edebaa1d01ec03e3ff544bf60aef7086a92929810b8b60f8d8966035ab28929919976c5a156501ac72e203cec92b77f3aa9dd22db5ef0a3a80f7e46f7d510c4e59c588d7be1daa97db25b7058367dc2fd6b597ef8fdfd3a8856b166cdb8bee25adfa4b70fd27c0cf2b6eb6b6931677e637ff022ba5ae02fbc0d091e086bf2564ee1
    public exponent: 10001

]