Results

By type

          2022-03-21 23:09:48,526 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-21 23:09:49,871 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-21 23:09:50.751  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 21, 2022 11:09:52 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 21, 2022 11:09:52 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 21, 2022 11:09:52 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 21, 2022 11:09:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-21 23:09:53.182 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-21 23:09:53.467  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-21 23:09:53.636  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-21 23:09:54.237 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-21 23:09:54.324 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-21 23:09:54.325 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-21 23:09:54.329 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-21 23:09:54.367 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-21 23:09:54.370 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-03-21 23:09:54.493 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-21 23:09:55.047 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 21, 2022 11:09:55 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-21 23:09:55.972  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.281 seconds (JVM running for 10.313)
Mar 21, 2022 11:10:23 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-21 23:10:38.704  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-21 23:10:38.721 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-21 23:10:38.767 DEBUG 1 [nio-8443-exec-4] .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-21 23:10:38.773 DEBUG 1 [nio-8443-exec-4] .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-21 23:10:38.788  INFO 1 [nio-8443-exec-4] .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-21 23:10:38.791  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-21 23:10:38.792  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-21 23:10:38.793 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-21 23:10:38.793 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-21 23:10:38.797 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-21 23:10:38.803 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-21 23:10:38.806 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-21 23:10:38.840 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-21 23:10:38.846 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-21 23:10:38.846 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-21 23:10:38.849 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-21 23:10:39.391  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-21 23:10:39.393  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-21 23:10:39.393 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-21 23:10:39.394 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-21 23:10:39.402  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-21 23:10:39.403  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-21 23:10:39.404 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-21 23:10:39.404 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-21 23:10:39.404 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-21 23:10:39.423 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-21 23:10:39.424 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-21 23:10:39.424 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-21 23:10:39.432 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-21 23:10:39.433 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-21 23:10:39.433 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-21 23:10:39.436 DEBUG 1 [nio-8443-exec-4] 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-21 23:10:39.465 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 544180761037396030385346897231497141874853751116
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Mar 21 23:04:35 UTC 2022
           Final Date: Sat Mar 20 23:04:34 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [ac:df:1c:cf:06:bd:7a:ad:d7:34:69:31:f1:0f:7f:5c:3a:14:d5:55]
            modulus: c44106046914b93fc4f3b7683221570a6f46805681ae1810e2c3efb71df51e5ca511457def460645cd4778174bf92cdc62cbb4eb6f1d6e0501323d696f9e5355c0b344a8e66d3476b8935ad08a837846258cffd6e4f6637796eb42c493b0ec140dda0868b63961a7715a74e218253387ed0a6044afdab0b736c5e01175e8c1afe22658c5a1f6d9de43cc4223fd61c1aff61e050dc97b5a7c26645f3fec1041a85b5cc20f3b31a59ffc5605096bd940178f394f1d79d7daafdb4d45ff578b4e253d7a327cf8f5f920f99a7e59418e8d3f64d1e7bcaf24b45c884ec25e6c66b5368d4f33fa4a16fccd93a301f7e6427d6ef711bc5e966b5f77f08224decbd2529319cabb42a4234494bd58c1f58df696b2cfb8645649ab0258e4694087f062d305abc42bf055567e3bd7bdae6ed77f9446bcf35ffff0465df04cfff37e055b147c04d27d36f1de9f812f4869e6d90b915ea2e054f27707c9b8da09ef486b69dbd667f5cdf6b48b623fd2d6a4134daa9f41ce8224e2fbd926b9991248a48c3c9d5d
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9d98cd39ed596d3a6079f473c01f8a2b0e74ec8c
                       749a63145cfb9df8f8190df25bc5922782ab1519
                       d15fb0baf7ff5952c067329360baecd901383d9e
                       425aca49d3ae45e30e50e37e86f4a57bbd733c04
                       f1f83d0813990d12a5be62bc3146f9491bc6b2d9
                       2d079136f8849b03fdbd29600c0423f7d3484a8e
                       ce55c1a1d3e119fddf346b281fbb081060838611
                       4fa2fc5eda5f355db2b94232b2aee9ae91f5faf1
                       dc820aa9375fe7bf12f639961d165306e27ced77
                       3eb8656bd3f842a7446ea7e29eb995a71f80aa8b
                       67983d066ce42ee35b16e7cc6df58a8ae07f4650
                       db37f3c4e107e29dcc5a341192ff216032f306b7
                       17f5e5b1f0c233c08dc277777e8a9017aec01bc6
                       cf58f2e91df15d68990485eee3e87b9b27cc135d
                       1283e47b1dfdd805c34a96d70c286de9de8fb390
                       80f893c195f41bad94c4e4ec9d8f040f63270215
                       a80d7ca849e9f0e997f7b6b14437b8bfd33897c2
                       f15bf0bc716400dfc36d9da80dd25f5e21e47639
                       8f4f5f94d8779aa73eea4d3fc24bb6dda919caac
                       b0b0cc04
       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 [55:c5:a7:73:f3:b2:07:06:82:d9:64:0b:27:63:c6:d1:cc:1a:ff:2f]
            modulus: e20ae8da42c8834a87cae37b8564d24ad899768c0d1b41e3994c781785eb1922d16d4a6c6f3d7df7db1cca05329c7bdd9e4a2f200bf7f00a54161a0c81d027d72f7e4bc8e5243128069bd94459f2d201ffbf09ae94e9ba3727bac60535fe2d872be61b84be3bd36d4b47b056043446275d1fe194dcb71c12289b2b85cb68d78bf94fce23f31361096426725c9d5cce1cc26aee6d9d2a22b97201c7317fe6d66039a348c715993fe8380f5d0344c53580c4279340b29a35876801b18ef19258e5dbc8b2cc32bf71e2b02ba29ff3bc2f6d3a88d45bda0ac3d3fd578b56b8d666228c4443d55a4e7eeb3f51d7855b685319d7b2d43e6b1f0d251ddd409368cfa745
    public exponent: 10001

]