Results

By type

          2022-02-25 12:11:43,924 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-25 12:11:44,643 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-25 12:11:45.256  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 25, 2022 12:11:46 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 25, 2022 12:11:46 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 25, 2022 12:11:46 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 25, 2022 12:11:46 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-25 12:11:47.330 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-25 12:11:47.574  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-25 12:11:47.707  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-25 12:11:48.304 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-25 12:11:48.306 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-25 12:11:48.307 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-25 12:11:48.309 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-25 12:11:48.345 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-25 12:11:48.347 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-25 12:11:48.455 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-25 12:11:48.976 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 25, 2022 12:11:49 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-25 12:11:49.731  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.443 seconds (JVM running for 7.583)
Feb 25, 2022 12:12:17 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-25 12:13:18.814  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-25 12:13:18.823 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-25 12:13:18.856 DEBUG 1 [nio-8443-exec-8] .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-25 12:13:18.860 DEBUG 1 [nio-8443-exec-8] .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-25 12:13:18.875  INFO 1 [nio-8443-exec-8] .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-25 12:13:18.877  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-25 12:13:18.878  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-25 12:13:18.879 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-25 12:13:18.880 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-25 12:13:18.883 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-25 12:13:18.888 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-25 12:13:18.890 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-25 12:13:18.921 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-25 12:13:18.928 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-25 12:13:18.928 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-25 12:13:18.932 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-25 12:13:19.375  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-25 12:13:19.377  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-25 12:13:19.378 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-25 12:13:19.379 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-25 12:13:19.387  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-25 12:13:19.388  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-25 12:13:19.388 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-25 12:13:19.389 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-25 12:13:19.389 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-25 12:13:19.398 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-25 12:13:19.398 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-25 12:13:19.399 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-25 12:13:19.403 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-25 12:13:19.403 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-25 12:13:19.404 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-25 12:13:19.405 DEBUG 1 [nio-8443-exec-8] 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-25 12:13:19.427 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 516811327791004094218921231091078652665484476880
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Feb 25 12:09:36 UTC 2022
           Final Date: Wed Feb 25 12:09:35 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [57:d0:27:6c:61:ad:21:9b:8b:8d:a2:ef:c6:53:ae:6e:2b:eb:81:69]
            modulus: c592b8f98d33e613c526174f295cb5b049414974e4e86a0ee48772ba188c5bd2615950b6902fb8ac6b608219089f6047125f1d43c24b488e758dd5ce04a36c90fca04d030a8a61301c0d3f4f2e7af123c0d6e1189357e7b1bfc5bd8b7b0e1c8b1ceeda34a2c36759e3e87961318f6ab88d60d085a1eaa697783f4cacdf8ed5609f76f82d3e757df9f097cf546822f5cb298539b299490466b1eb043b6a016a44d5264ece557fa6ae2f7e2eb2ea63ff629e8568c0a8349f42c2cc642696f8dc2e293ca3cd468297fe951ac8d0616c0a09ec2d1e84d3a16707bec615575f8061b246aa9c8435108f5b1f04761d9124921ddb444ca5dc18e7e5d05f67a013b6d45ecc4361eb67b218ad40040a4817c33ee4e246113a0fa4f1f503cc2a6d39d38d2e12cd051ec61dd7baa308908a4d89675d06793a58b234c96dc6cbafaf4498e62ec2439917fae6789b64150f72f6d38c368e8585a8512b71849ebe9371f00910f9d47b66da43e5a01aed71c7311c50a3a463205618ea47e25aa52863b347f8f3c7
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9d9a766de29a45585362f36af39c55344199d59e
                       d4bb97a8fdc834cf576705c856bedd041c8ad69f
                       7e661a94861c89bc1fc6e3b52b28a0844bd6b1af
                       203c81def895316a2fbe9ada8d61959db8572e81
                       6d425f49bf13fab8ab38112eeba7ab5567724866
                       1ddb27a41227951e36b83d4ad8294d807a7077df
                       7d5da9523f721b4a8bc5ad94f7a90de3224b3b22
                       8a265dcc415d11c9d75e4993573f62bc0eeb16ea
                       87c94aeb7850af225454c8e22bd8bb98230f792e
                       367a700643bea2d3ac84984d2c95bff5c3040589
                       a83bc7fbbf6eea9b1dd77c1dbb0caac348c4a008
                       af58c6c60fedba1a6d5c022024122b4b8998a6fe
                       dda719f18b79548a89c723a23396a9c55a6ada33
                       45992f217fc5f300f0b04f57ae1c83da8efe6f03
                       3b43ead9a0578c7c6b39a6c0945fed89646d3a42
                       814a52f5b2cbbf8fcec8ee9c94adc6afae36c6f5
                       7a070145fc65bbbea47900d35994d89ee4bc903d
                       b8cc8ef99903d0c69a8b042334d758d4bf46423e
                       27544eff4f6bc839e1445c363628527dcfe3224d
                       a115674b
       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 [0c:31:0d:02:9a:8b:f7:3b:49:83:e4:3b:de:69:db:c8:aa:33:9c:2f]
            modulus: c017d38dfab0521aaf152a2e9d956a2a7a12d4ff90b6578b895e600c6b2d48126cb7f025ba9e7ad3e2adac74c861f3f3ac0c105886ec7a308e2f9014b89ba1ce9de6ef0fa2bf8657338438854db5e3ab4a47c58a572bbcc94a3ebc186d0abca7c860a618b712c455ad2d220bd736bd7de9d0f78efdbfb68c88f8c224cace6fa0fdde58d4665e7f68bd885296c448439e36fde5cc33c26d56c42b83c2e06d50b424d584ee4a5254de5571c1c2dace916fc6021396e06d771a63a8e6409ec0efe42e7fc3ea3c77710c7eebe596acaca3ddf115ca457e741099420b07d01134e047e16e3bcc35c1b32be92082529f45e8a54ffe643a29ea9a256e4860993614a71d
    public exponent: 10001

]