Results

By type

          2022-03-22 23:08:24,009 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-22 23:08:24,668 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-22 23:08:25.288  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 22, 2022 11:08:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 22, 2022 11:08:26 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 22, 2022 11:08:26 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 22, 2022 11:08:26 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-22 23:08:27.255 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-22 23:08:27.499  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-22 23:08:27.622  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-22 23:08:28.127 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-22 23:08:28.129 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-22 23:08:28.130 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-22 23:08:28.132 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-22 23:08:28.166 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-22 23:08:28.168 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-22 23:08:28.264 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-22 23:08:28.832 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 22, 2022 11:08:29 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-22 23:08:29.563  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.116 seconds (JVM running for 7.344)
Mar 22, 2022 11:09:00 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-22 23:09:13.682  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-22 23:09:13.689 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-22 23:09:13.724 DEBUG 1 [nio-8443-exec-3] .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-22 23:09:13.728 DEBUG 1 [nio-8443-exec-3] .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-22 23:09:13.746  INFO 1 [nio-8443-exec-3] .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-22 23:09:13.748  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-22 23:09:13.748  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-22 23:09:13.749 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-22 23:09:13.750 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-22 23:09:13.752 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-22 23:09:13.757 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-22 23:09:13.760 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-22 23:09:13.794 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-22 23:09:13.799 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-22 23:09:13.799 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-22 23:09:13.802 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-22 23:09:14.311  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-22 23:09:14.313  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-22 23:09:14.314 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-22 23:09:14.315 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-22 23:09:14.322  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-22 23:09:14.322  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-22 23:09:14.323 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-22 23:09:14.323 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-22 23:09:14.324 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-22 23:09:14.333 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-22 23:09:14.333 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-22 23:09:14.334 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-22 23:09:14.338 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-22 23:09:14.339 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-22 23:09:14.339 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-22 23:09:14.340 DEBUG 1 [nio-8443-exec-3] 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-22 23:09:14.365 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 168982803411962385028914573929312354123220092211
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Mar 22 23:06:23 UTC 2022
           Final Date: Sun Mar 21 23:06:22 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [6c:1b:fc:2a:99:37:f5:b1:83:7f:75:8a:45:c4:e0:63:5c:90:d7:1e]
            modulus: a83466676213911edf5dd5d5631d29d301aca64c5f2a0a337fe5d74c36408a2215e593951c3b22690cef777442679fe579c63b4a1544d2578c3c1c60ff92f7e2d65b18ccd599c916efed9ebacfc15dc6069435d8e15b3273068c61e6c029861983f4dc87e741c608640f69bc42c464449749b7fe0c6c10a9837dc1e9a644973f13067b17d5eb01778be1437b10ba414bfe1b4e7bf305372ec0608ea5f941baf3be27ec208cd66f35d032a6db1b852d819190765dae89b6ffc4a3663fc4318a253689de6903421c0feaf4aec27b7c4c10f3cb66c5d9a14922199eccd475061aca032f7844de99b5f2ee1a2a77d2783613b03d1913ecceca85d394fd969ca49cd4f60234bcc5f61a91728a3cf09b5d78a2dde56e41ddf2d6336a0ba8d59e15abf673fd9f7021a4a4d57f479302690a63eae783e1e5162df428561aee91509f2cc8032ddb7ed954ae7e9bc8ed2482f4c4d8490b1b024c152009571b6b22878e32a3632726e82cac690192de47a31b620acceeba04fb6072209bc4dfe043a5c8f159
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 5b0054a539bf53c2128ebf5c3a81915fa080d062
                       13f4aa7f7c19bb7e6bca851948632ba5e81b6108
                       61db93df8a54d391f59a4a1be811307f04814e1c
                       39b77981d66188a804ae091e9e10dbb1a958096a
                       04da08648f77e2cbc470afd5083acad69ac5659d
                       6fd9d17d0a2b3311dc8c3e89a25cff202b7dac07
                       64c020da8915b4c4f8be4f7caf371fabf91f214e
                       baeb738cdfdfc78785ea75bc90d7432774ac5775
                       a96b9bcb60662237e8d61966c0635225e644db0a
                       b9787b06615004b0f557c9be901e7e9ed440c3b8
                       828b18ddab11c1b2cd5280354c7d7f05d1416aea
                       a7d13a8b7c0b056a8ba91b8a74454d3287ddd836
                       1947aca2c1f382696331ce7e263339f6355258f3
                       e27f935b9149c8f9b9174085fd4ec1c16bdd5105
                       6bdbb0d155b0aa876eb9df0bbda510e5de191912
                       a9a42ec45cb98322607274eed63ed1b42a2ee1fc
                       869df4e95cd172998fef8c11df9cc18c88040fca
                       882fa8c52871abca058d1cdd03aa1508f6bf5295
                       42fd5220c81b587390a747ac20b2c19e6882e603
                       7b856044
       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 [71:f0:f1:42:59:6c:a3:03:64:1b:2a:9b:f8:fd:b2:3b:6a:60:5d:a9]
            modulus: ca794649d310c9a5c5d6786070f1ec29164f2e5999f0eb8f7da4133b1cb35abae2dea3a6062f0a0fd2c4796680e2d9567307be0be18bd767c82c01600b7455869014f36b2ab1172fea6fdc12e3e3ef0006527ae118f32783445c696e5fc27689f5d2184f6c66382d5f520ea5665857c80d9d7623702802d29fe7162da13d499c04385bb35e9185045fae45119f2be347db64df62b528fac5fcd31c976ae9726a107c0b47b0596168d7fd36e74f265a18cc5cc57859abdfa1442ab8f0626215415134e5fac5f4c1d049bcaee67a79f8283317a343c0c9fd9945b51e63d128e2f9cb104970f98748e84d872348589f9ed92643e66b8a2c4f3f453cd3912f4a32ad
    public exponent: 10001

]