Results

By type

          2022-03-15 10:22:00,204 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-15 10:22:01,131 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-15 10:22:01.835  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 15, 2022 10:22:03 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 15, 2022 10:22:03 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 15, 2022 10:22:03 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 15, 2022 10:22:03 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-15 10:22:04.535 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-15 10:22:04.859  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-15 10:22:05.042  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-15 10:22:05.853 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-15 10:22:05.856 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-03-15 10:22:05.858 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-15 10:22:05.863 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-15 10:22:05.908 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-15 10:22:05.912 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-15 10:22:06.039 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-15 10:22:06.710 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 15, 2022 10:22:07 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-15 10:22:07.820  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.402 seconds (JVM running for 10.466)
Mar 15, 2022 10:22:30 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-15 10:22:49.439  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-15 10:22:49.447 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-15 10:22:49.487 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-15 10:22:49.490 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-15 10:22:49.512  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-15 10:22:49.515  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-15 10:22:49.516  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-15 10:22:49.518 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-15 10:22:49.519 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 10:22:49.523 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-15 10:22:49.539 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-15 10:22:49.544 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-15 10:22:49.587 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-15 10:22:49.592 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 10:22:49.593 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-15 10:22:49.596 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-15 10:22:50.234  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-15 10:22:50.237  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-15 10:22:50.237 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-15 10:22:50.238 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-15 10:22:50.248  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-15 10:22:50.249  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-15 10:22:50.250 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-15 10:22:50.251 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 10:22:50.251 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 10:22:50.263 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-15 10:22:50.264 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 10:22:50.264 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 10:22:50.270 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-15 10:22:50.271 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-15 10:22:50.271 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-15 10:22:50.273 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-15 10:22:50.299 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: 40773363997515695307777575925616465967437059392
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Mar 15 10:19:29 UTC 2022
           Final Date: Sun Mar 14 10:19:28 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [ca:ab:fc:4d:c7:75:4c:5d:56:7e:cd:65:e0:93:76:13:58:fc:03:54]
            modulus: b4f66c07e2ea42654fe468b9b6a61fca778dbb8e996d72df43618b9bbba4519ce74498badc8755bbd3abcd5a9edf5fd6a41d3aab0bb52a567530d60ad79ae0849c3415c97966159cd492473bef290d2d86b3893d20a1b1f90977b83af1984a1c875123199885df2783d5d38457d694b1b8896773f7f54974cee0ec5f1171042c66bdd024de36fdf07c406f4a27c3c303f134d25facd8165f9797d7705a8bd7cf585fb91d40f29532490854af9869486fc0d7959fcf078021e8659597d63dda548a6e401f122a536990e9fcd19070d8820f02749e9d31a89abbe01a64b4fb44eca463fee3d14987c816e11ce0284868a402f049df80deb4e9a908d8767e2f20de88e298bc4e27d71032c64cba8f50936749ee9e3d054523c15da9a2e7aa9b06831260b93439e20d8e74ebb2ed8aaff812bd84718b5f94c198d293fc4ad48f96961d03f6ae1cb52970dd8c624c516c534247bb8c0eb1d23f193afcda3cca20bc3a471f6fd6419e9ef9a8d14fc455f62e674f7924991156d625dcfeeea6cb418985
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 88c902cbeae889f3f2d51b4197b68b1e0dc064c5
                       d9df84d6708f70c618225e43e573c7d96302f571
                       8af1d8a09e625e031822267eb094b22aefdafeae
                       4c48434357b5fca9bfe25ef13320d05be1371dcb
                       c0e78799e8befa62e7f80c9f4d8e2764512bc9a4
                       c4eaa5af664949b1f4ed3f1fb2efd65da30e8222
                       56c9b84e480c369155a8a77f1f91b0a8576f5755
                       743a3809cc715a531a5f3ba7e19f7ed1055736d1
                       37988dcf502d37c528ca6196ad64ea2ba62fb5ca
                       ec2f53f4d10adf984d9fe62fd72c7bb764a7d8da
                       452cebd1bb6a3f1242d42b81b8a15509d22d4cbc
                       0af1deabef3b714e0d8347d70d87ffd79ce4e285
                       4928a7dfd1f17e2c80f5abb0596b32b9be09b730
                       4c1d323cf87b2a380840ebaf7055dfc5935dfe74
                       8360d971f7ed2df01f3a379e474378f8556c00f5
                       7c826cd567952f8cea89b58e8538dffbe0067369
                       5bafbe3409b759342638dd78e63a3f4e2a086069
                       2f23609f695c1f9357abbdbeee180098727a8f8e
                       a9df650150bd3ba91b85e950abea718f59b536c6
                       f0d9cfd5
       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 [7f:6c:54:5e:ab:c1:9e:d8:c2:8e:22:d2:7b:9b:0a:5b:4a:1b:c0:0e]
            modulus: cf9679e865315d857ca5f3e0b9c2c22d53947c34680a02225eb8f48459e5d1f0f5ac5d03779fee8f1e78fbb93db83a44fcb8e1cf726b03f91eadd3d7dedec5b92792fdd5160c96484a0b47351dea667de42a395ecb70026667e2bd0d9954040ab410d3e9093e01bd173b9de65cc942408d876a61da6efae9f0e1aba3a23fc3a075279d500855ccdb91a3474981c11b7b8823e76f60fd7789e7a353db1608248e34b3d4e401a09a6e089a9689bb2bee017dd1d569699b1c2eb5c5baeece803ab74a094ebd6b171f0559536f5f23573f57a2939b01d099f3fb8d2e4e0e37d0baf50ddac6ff5057736ebf1331e767daf2fc1d238ace3b2de925f76dbd134ea9ba8b
    public exponent: 10001

]