Results

By type

          2022-05-26 02:27:26,383 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-05-26 02:27:30,383 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-05-26 02:27:33.181  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
May 26, 2022 2:27:42 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
May 26, 2022 2:27:42 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 26, 2022 2:27:42 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
May 26, 2022 2:27:42 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-05-26 02:27:44.297 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-05-26 02:27:45.582  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-05-26 02:27:46.284  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-05-26 02:27:48.992 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-05-26 02:27:48.994 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-05-26 02:27:48.996 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-05-26 02:27:49.076 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-05-26 02:27:49.196 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-05-26 02:27:49.275 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-05-26 02:27:49.686 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-05-26 02:27:53.392 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/]]}
May 26, 2022 2:27:56 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-05-26 02:27:57.283  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 34.091 seconds (JVM running for 40.685)
May 26, 2022 2:27:59 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-05-26 02:28:46.994  INFO 1 [nio-8443-exec-9] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-05-26 02:28:47.078 DEBUG 1 [nio-8443-exec-9] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-05-26 02:28:47.190 DEBUG 1 [nio-8443-exec-9] .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-05-26 02:28:47.193 DEBUG 1 [nio-8443-exec-9] .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-05-26 02:28:47.284  INFO 1 [nio-8443-exec-9] .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-05-26 02:28:47.287  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-05-26 02:28:47.288  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-05-26 02:28:47.289 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-26 02:28:47.289 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-26 02:28:47.293 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-26 02:28:47.379 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-05-26 02:28:47.382 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-05-26 02:28:47.491 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-05-26 02:28:47.496 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-26 02:28:47.496 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-26 02:28:47.577 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-26 02:28:49.386  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-05-26 02:28:49.389  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-05-26 02:28:49.389 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-05-26 02:28:49.391 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-26 02:28:49.479  INFO 1 [nio-8443-exec-9] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-05-26 02:28:49.480  INFO 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-05-26 02:28:49.481 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-26 02:28:49.481 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-26 02:28:49.482 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-26 02:28:49.492 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-26 02:28:49.492 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-26 02:28:49.493 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-26 02:28:49.498 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-05-26 02:28:49.575 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-26 02:28:49.575 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-26 02:28:49.577 DEBUG 1 [nio-8443-exec-9] 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-05-26 02:28:49.684 DEBUG 1 [nio-8443-exec-9] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 651068095874550526366303973738960976074636226539
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Thu May 26 02:22:10 UTC 2022
           Final Date: Tue May 25 02:22:09 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [27:6f:f7:53:c0:ec:ac:96:53:cb:6e:2f:98:f6:1d:0f:14:41:8a:c4]
            modulus: d80d96ec937d303d844d21336db4647ee7dbb27f19368ea00e7d8864fd6a2b2142cd3bbeb543d07e6e4479f32d2143c0f4329d7c4893134e4177ce69582b572e0af6e24a0d767cc68bd5cd4e986b6131dfe8248db863822bc933036b0ae291f9d89e73792434006346a33ec6151bd75bd2324311e3e7bdd979fcf93cb4fea05d2a0a9ddef806a17dcc445a45239289621f5931afe4caa3c4e873b20517d156a2062b039b70d8b0a0d0497e3252e1f01af29de2346b6c45f8f240b27934bfaad2cc4fe3ea7d06acfc1bedb75680e20ef3eefe1526791fa077a6bb6513eba55416640fe941484ac1583f7974ab0988f73b4aeea1e75bda2458b6552a5c31cb738be1457f6d09efb4331e26c19d294a3aee81cc84a8c5e3e407ebd608f01bb24822d065eb719f7d777b3842d996fe16082f0502d3709bf86d2f2642e0e0b514d97da7a95be854daf8d75a73864fc656b664fd4df8d6c40431db2a8b8080add733bb50157e209454193c14d95a5b10886eca2a0453defd19c00bdec7d39def8a7471
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 24d5afa0cc5b5a2728fec1931a97a9e4649b231a
                       cafe00fc771b822ff9651707b7b69ddbd26e7410
                       5d862952b7168f295729bb9cc813e828bd0cba74
                       0ee67e21dc07b4ed8257036fbd06151df80f61ec
                       cfd5d85ea1f4b560786acc6ae23d0d36921074b6
                       1ca0a8a359b165450efc0e914718a367b67b0812
                       4acc2dc692aadaea6c361bd329bc3c6f2d89f4b3
                       ef53c5b61b124f43890afa90bd02d5b0590d6ea8
                       fc344bbdb78a99f21c26ead662a7667465978021
                       dbc24255248b91ed3818d0080b50de3509672e52
                       81670ab01fd20d358bc0bdbb11c7aee2f02756b9
                       9e75785620329f42819815db50f795d6e4f4b8d9
                       598b4392242eef21df18cd66d97d59d01de339a4
                       97e5bd659d2741e83355da3663f8955567b273b1
                       03c114efcde72bf3ed2c3451ea33bb982037f964
                       1aab1a1a270dc2b8d794b76566464f151f45d2e2
                       239a9c59c0ade11c08c6c6df3b276f28937a19d3
                       e93597750e41f905790beb4b6ab4f74bffba9c5d
                       e0a79271dddaae29542ff49a440fecdc53bbc76b
                       ba94b25e
       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 [59:f0:58:a3:7b:d1:d6:49:13:63:79:c7:4d:1c:4b:97:9c:11:d0:fa]
            modulus: da58df114046c28edcba04c0778ac7d12b5722db7ddbfe1c0d381b313919fb9d58d0d20a04fd466836441e97d2c10a21524883837e847dea2ac0d8e0261328a7f5780997f4e9da631a45ec74003476e6a4f3e173d55983665929e47b85502dfbf848298d6214cd2752f8c57f82351a2b77f28e13ca5424d9db9bc17484d31421b7d800625ae238c5510f80de7dbd29e0888bf2122f6b0a72ae6904c536747032a319afcdbfa4237782b50d4a4ebbdd69c1b9127de26e9a05004e02319631a7d49a9aa925f12f7ddec77ff9835a0317cdf4f977ea2dbff543a198a307af114f43abfe133e7733f75979fd98e0720cf40c83e739af121b1362596b73cbc0979d5f
    public exponent: 10001

]