Results

By type

          2022-04-05 08:26:50,636 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-04-05 08:26:51,784 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-04-05 08:26:52.638  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 05, 2022 8:26:55 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 05, 2022 8:26:55 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 05, 2022 8:26:55 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 05, 2022 8:26:55 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-05 08:26:55.824 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-05 08:26:56.126  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-05 08:26:56.324  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-04-05 08:26:57.158 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-05 08:26:57.162 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-04-05 08:26:57.163 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-05 08:26:57.167 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-04-05 08:26:57.219 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-04-05 08:26:57.224 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-04-05 08:26:57.399 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-05 08:26:58.148 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/]]}
Apr 05, 2022 8:26:58 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-05 08:26:59.170  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 9.496 seconds (JVM running for 11.624)
Apr 05, 2022 8:27:20 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-05 08:27:34.075  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-05 08:27:34.089 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-05 08:27:34.149 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-04-05 08:27:34.156 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-04-05 08:27:34.187  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-04-05 08:27:34.190  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-05 08:27:34.192  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-05 08:27:34.194 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-05 08:27:34.195 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-05 08:27:34.201 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-05 08:27:34.212 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-05 08:27:34.218 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-05 08:27:34.288 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-05 08:27:34.301 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-05 08:27:34.302 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-05 08:27:34.308 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-05 08:27:36.545  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-05 08:27:36.549  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-05 08:27:36.550 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-05 08:27:36.551 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-05 08:27:36.563  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-05 08:27:36.565  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-05 08:27:36.566 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-04-05 08:27:36.566 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-05 08:27:36.566 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-05 08:27:36.580 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-04-05 08:27:36.581 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-05 08:27:36.581 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-05 08:27:36.588 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-04-05 08:27:36.589 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-05 08:27:36.589 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-05 08:27:36.591 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-04-05 08:27:36.652 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: 468351180683128442763011284744861227675351475670
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Tue Apr 05 08:23:32 UTC 2022
           Final Date: Sun Apr 04 08:23:31 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [ec:7e:1e:64:a8:96:f4:0b:63:2b:61:e2:06:6a:f9:7b:53:bb:36:0a]
            modulus: a00ae9107a02194bbac5bb933cbcc64d316f1b09030df62932aad9287cd0d8958553a729fcec920ac8a0d701fb8033b77038d22c8cc24709196bc83ac1cfc6d1e1b3d0cac7377070e91482cca4e8db1a3af3806c0ae9523972ca7c441633b7b0156cc7d34a38f3196ee722ca4a91496fc80fa27075efae5d3e10f5e029dfa9198bb4021405ac0731b661e05f5381f89d5da95caac16c5b9d94f3540b029ca03d113dd0cddc46c422839a909f2f9e0351ec838f322283eeb71e6ee6734559cc695b5df8a6662c5ae097f7229db4d23adbcad6ac843ed0234f34bd5dd961da1b95c09f29bb2302f700b25c5b982491675e5ef305b647e81a3cb9056c6aada826def05dbd540f3473fd09f5f8da8d8ca7e8f6cb6ae0cdc554987d9e145d2c47e9ac10d853e549f67d0aed7950426f401d374e1b11cdab58f067f5b3162b59c706282eecdb526dc1d2211f9dd12f2dec856a3c89515f744596b5ac2c657b5455dd8c4ff77edde1dda64e1f9119cf699548e12e8785fcebf47be6cf6c323d8ad243a3
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 8b66a9363ba2c2aac6abe430bdbaebafbc66a736
                       3c914f6aa9f5c972a31c72cc9eb9c5040e4a0880
                       02d871cd0a80175ee75fb1364b0fa7e2f3304a76
                       7ebd29b330ab14075bd6059001e21e977296bb66
                       7278f4ec7e98a59ee85a96cf72912dcbe2d44f1f
                       b9fda29811567ce46439730935e62de2b9e030bb
                       a8e8c5815c21bcb6409b02f9843f3ce2f7ecd8e3
                       d018e28c7a38941879e9a645328e7178edfeb388
                       0ee2478883fc49c67e31f85613f390254486b561
                       bbb4588e09d0be30f04354e4a52dd4291d914dbc
                       e532b2bd69fb82ad5dab0a8cccd4f4db5c29a2cd
                       d2ebaf1e3a53b2123e1b300ed0af3eb1fa539139
                       1896e9722f5daea6b064685d48c70731b7c67e04
                       67d38c68ebc40f1424946c7895cd9df202f0c763
                       d11218dda215a45fb51bf55e1c7c67cf7d315e55
                       b5fb602b59f099f84f5a1fc6d9c15911f02cc717
                       ba289fa71fb5623766b3f5a43e4b2f00d0aafa69
                       1066194f1a6ba66615aeb7caa4a8f285cc37fce1
                       53979b361bc91b85161d7a43ab2243abe44a1b3e
                       ef3d1dab
       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 [8c:cf:cb:02:72:1b:d2:78:5b:c3:a5:a0:4c:91:9b:1a:db:2f:d5:98]
            modulus: bbdfc18f1a7f2f0f7fa4cca8ce1db49881f38455420261720f3c46fa764c083d95b36bed2a3ca20cd4432793eefeb53aff89b29da45156ae02d486cce3d3842f3e985588fbf42fec77b04c9050400f5220b9c7eb1b2c760caf05d83766d720275eab0f5de5308a3508d970d406153aac9046f4130e78feb8ab540cefa6caea16ad9328eeb5eeb06a12b49589b44473410184e7361386da0b8f971af7ffc462dd47a52ed96882d94a170caadb9de0ef30832a9fe4fd4d3b2ae3579233b7a68e672c54a269f5a5eae088c9615b359e9bd7206467b093de13da49926fb1615aebfeba7e3defc66f2f0f3a60cfd21ddcd0406572890980495b9c06a9a288b048186f
    public exponent: 10001

]