Results

By type

          2022-02-06 09:20:40,549 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-06 09:20:41,353 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-06 09:20:42.098  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 06, 2022 9:20:44 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 06, 2022 9:20:44 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 06, 2022 9:20:44 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 06, 2022 9:20:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-06 09:20:44.678 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-06 09:20:44.951  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-06 09:20:45.116  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-06 09:20:45.779 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-06 09:20:45.781 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-06 09:20:45.783 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-06 09:20:45.786 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-06 09:20:45.824 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-06 09:20:45.827 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-02-06 09:20:45.952 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-06 09:20:46.507 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 06, 2022 9:20:47 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-06 09:20:47.396  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.605 seconds (JVM running for 9.418)
Feb 06, 2022 9:21:16 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-06 09:28:32.081  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-06 09:28:32.108 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-06 09:28:32.152 DEBUG 1 [nio-8443-exec-7] .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-06 09:28:32.157 DEBUG 1 [nio-8443-exec-7] .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-06 09:28:32.178  INFO 1 [nio-8443-exec-7] .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-06 09:28:32.181  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-06 09:28:32.183  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-06 09:28:32.185 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-06 09:28:32.185 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-06 09:28:32.190 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-06 09:28:32.198 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-06 09:28:32.202 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-06 09:28:32.327 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-06 09:28:32.337 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-06 09:28:32.338 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-06 09:28:32.345 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-06 09:28:33.138  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-06 09:28:33.142  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-06 09:28:33.143 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-06 09:28:33.145 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-06 09:28:33.155  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-06 09:28:33.157  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-06 09:28:33.159 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-06 09:28:33.160 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-06 09:28:33.160 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-06 09:28:33.175 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-06 09:28:33.176 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-06 09:28:33.176 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-06 09:28:33.183 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-06 09:28:33.183 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-06 09:28:33.184 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-06 09:28:33.186 DEBUG 1 [nio-8443-exec-7] 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-06 09:28:33.225 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 505198920473104475769361671769502161965612179796
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Feb 06 09:18:16 UTC 2022
           Final Date: Fri Feb 06 09:18:15 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [59:c0:81:c3:17:c8:41:99:31:0f:86:b8:b8:3c:1b:b6:76:2d:60:04]
            modulus: ce4c6add0baf88fb2aae1928920ad654acca6e8d97f086a68cd3a3d3f6ee6ea6a05eb9c3c09d3d959547bc26189cd05293f63409fb1b67187fa2e7a3b17b10bde47a8c5956fe3dc268d28748ae2881a9073de96f67aecfdfb07e1fe46ce9bab4c33b9f311475edcc89578e5c961e9478db4420890121c0a163a62250dbeeefd6b3c8c2205f75d2202832c94ea88114cda21654e55570bed2f8499efcd052ede8e94a3a92b570980c9e4a764d2dab922b32e47d46a2cc3858a5ede4c6ac278213761bdb838670b515a795a926d3e3661be939f84048677520f1fb11dbdf0e21c1d6b53baa70ee670da820d5a43db7f2f91bdb095ac561618b5618fa9c4e342537e50987118df21fa640849418a66122cf466e3bc66e826112093b35d6ca403c9be7d9ba36cf690cd58f18b1d1108461abb861bbe8b5999b019e87b8b427220e4c604da427d3159f7f12898f0b7011c337c3df0848f389e78a0ab86d82abe0592365333a1112eb56c1be91f89d106f3aa0aa8f4244c0b720c017d1e6bbff2b04b5
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 23f0f32e26bac3543924d1d6e4b022265deeb0c1
                       ad66b997b4ee160d530ab616909ecd436e34ad44
                       6054836878b1a7c04ee88993c16a673c3315623f
                       acee9d954eae07bfcfc5a8287c917c221d5cdcc5
                       53433ef58cf6c6d41c332da22e4e12b8293acec2
                       0d5afed50bbb79c922dbcfe9aa51b7fa4cbc07b1
                       0247a0e740f53e99395fd010dae2c0f467ad3736
                       365d57d170506a4d5f0b9bcd0377f84bbf24092f
                       2980ea023e2814003e846ed9ecd2e6032ed572fc
                       8f27a67a88afb8af8fa33508be647ad097496275
                       f79fb03fe15736f0547fa01f5c7ab4d236cc8e68
                       3af3ad1a447afd23b7883cac7f26315393a94486
                       ae0931d8adce154e84b20388170071973fab85c2
                       3338d5d5a045c7d9730e37973022075a38ec073c
                       f7123c20359c77b23a7bda62bd01052360906eb1
                       a979f87e0ee6e15e28e1cf66fc60d2a9a9d288f8
                       915eb88ca47018abf5a6c6c821cca08fbc8e0272
                       6ef27d17a232e53829f822187a164ceb921e98e7
                       62de923db3138adec35597c5d3083c13880ed1eb
                       636a5b24
       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 [d6:6a:d6:27:ca:da:cd:3e:0c:1b:72:a4:64:b1:db:fc:59:2b:b3:f7]
            modulus: cf620335a43b9e1116224460bc39d00050b210898f9a8f1ad9358bd1453e63e4a8c97d8ad8f8ae318ef0a914183ca1d77fe8996968236a4ae3624ac8f31bcf4ab9ef3bbb896c923a9595388fae9f912bb83d70adb342ec9d2c2bfe452cbfdd22c1d1ec9d12d66f58586a50dadcaaa6beb02587032740523edfc7685839c2c20cdbfd25d5119c14105b41daa006bbeaa777e06de58291832f77c123576225d5995b11ca4c6a8e35bc7b3d511462c11d326212f3d38327bd4e366364aa221c7ca1682faaaa7ac1632fb6dd9b6771133133a9bb0bc06d8affefcb652b0318a86957b63be34fdc7c1ae4a2959a59b697282f99f8c510ebbca8f60cc4ee5e45cc9cb3
    public exponent: 10001

]