Results

By type

          2022-01-28 23:07:02,509 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-01-28 23:07:03,279 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-01-28 23:07:03.905  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jan 28, 2022 11:07:05 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jan 28, 2022 11:07:05 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jan 28, 2022 11:07:05 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jan 28, 2022 11:07:05 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-01-28 23:07:06.124 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-01-28 23:07:06.571  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-01-28 23:07:06.734  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-01-28 23:07:07.520 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-01-28 23:07:07.524 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-01-28 23:07:07.526 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-01-28 23:07:07.530 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-01-28 23:07:07.574 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
2022-01-28 23:07:07.577 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-01-28 23:07:07.704 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-01-28 23:07:08.390 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/]]}
Jan 28, 2022 11:07:09 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-01-28 23:07:09.393  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 7.498 seconds (JVM running for 8.976)
Jan 28, 2022 11:07:40 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-01-28 23:07:51.534  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-01-28 23:07:51.542 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-01-28 23:07:51.578 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-01-28 23:07:51.584 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-01-28 23:07:51.605  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-01-28 23:07:51.607  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-01-28 23:07:51.608  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-01-28 23:07:51.609 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-01-28 23:07:51.610 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-28 23:07:51.613 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-01-28 23:07:51.619 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-01-28 23:07:51.622 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-01-28 23:07:51.662 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-01-28 23:07:51.669 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-28 23:07:51.669 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-01-28 23:07:51.673 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-01-28 23:07:52.270  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-01-28 23:07:52.273  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-01-28 23:07:52.273 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-01-28 23:07:52.274 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-01-28 23:07:52.282  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-01-28 23:07:52.283  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-01-28 23:07:52.283 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-01-28 23:07:52.284 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-28 23:07:52.284 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-28 23:07:52.295 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-01-28 23:07:52.295 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-28 23:07:52.295 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-28 23:07:52.300 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-01-28 23:07:52.301 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-01-28 23:07:52.301 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-01-28 23:07:52.303 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-01-28 23:07:52.327 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: 613718068685536400303385584245620054594624898640
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Jan 28 23:04:48 UTC 2022
           Final Date: Wed Jan 28 23:04:47 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [a7:eb:1f:94:c9:b7:34:6a:74:32:3c:b3:f6:11:98:3e:8f:b2:18:4e]
            modulus: b41d2acfd41d46c7ea825b56a1f9bb9affcd3246a851000fadbc03d65ebcb40549d652ec2dd23648d3b1fb3d04e4f6908e9e03d6e07ba98c4e5b1dbd1c0e5ba2283068a93caa0329b55ed32564fb6ac02ebe1a91055afde6fa980daa28c25fcf9d7d3c10222c282b8fd83916ce182bfa74dc6f4cd48ada6bf02ee111ad49a4397505ae5de75c8eba234ff19c8143e210c9d80a01fb35641f20b43c1629ce30f99e19e717f6dfdcb952358c984e77f16f3b25d8f7490961a7e3a904f95564566d0b0b3bd0992648d5eb18a6ca3ef608f7522d55fe1b8bdf39af7d90fa8c87521e903fb15dc4d6883328e8fe7f7d557056b5225154ba02c2a2a40ca485aeff5f99018d075a3edb66753225d4e8d7395f1543e88c072c8b15a59b9183ccf1146f0983ab68db7988e0bd94b69ccc80a67147f762836af62253ae997fe4e6b3d1280ccde78f645852b962d4d52b59c23390c97b622836f9790a1a513a65c89c1dadaa5ad64b13a0a946ca8963a97c5a88551e383f18773ee40271cfbd66f295b0e551
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 03a294cac0148667134a9259481873a942c9d5d9
                       0a7748f1ad5c3339f0bf4a24b48b2d58a43c6988
                       cad968a5ad37ef762caa587e32e86f93b87417b4
                       b7ac07fcc1e2f912cb7a00413c55860e4c70a4bc
                       d83050f0557c1c1077aec5dd7aa18f5ffdab12d4
                       8b8c679b0cb0d2b5de15d0b2e27d4d6ff8e8a1c9
                       ddf18357a0b35eb8dba0f20ceae517bdc0bfd360
                       62c4e40f13c00942b7bff6470b2ffc7ef3dca89a
                       78e4f2a565f3032478f80fb19f8e8a5445f278e5
                       6dc82d08776b2af6f2bef0ba3fb4a0a66c73e23d
                       a35d458a0198c05c40095f7b7192dd73ebdf7e19
                       c0dd3273c48c63e44dd7bd9f0c1bea0a42e8299b
                       06d9ba682eeb30e52fb89d996db01424108ae888
                       4631bdca6e9c283bdb85be85ac970bf414bd4318
                       e5efeae86f6efebcda4d57b853798a7b68c3d1fc
                       1c69ce110b6a1d47e697919487501a2b5999cf89
                       ccb140f8df11a8799a28ec550b312f1b61919728
                       5a51424ff8bce79e1e2a2f5a134b6c58a74225e5
                       5dcb075e9b0a517564d2839a79132316a1b02d59
                       a5d8bb3a
       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 [44:f9:87:c4:cf:07:13:54:f7:82:5f:f5:3a:d3:98:d5:cf:3c:81:bd]
            modulus: c0f89af36fa8d50ae75a17d6372f5855e302e780f8d3b19e1f6b39e4942b28ca1ee83bb48420e40a198f8855d8325a2878aa4f4c4c4bcfbecb5f60ca10cde28e79f1674783fcc35e1e466aa0400f93d8f0ec3169f2595fc1647244af874cb29cb1843e3507ed25c7baa53d510084c4f2feb0f5064bd229ac28b86a950b12cb72bb2d9b6b15a155ac34f6883aada6d05686fcbcb28ec79c8ce915b49b2163895cf45b24fd3a2a8d527583b9e2c599136245d5d5073b61a6556578d8a31390254ebf04d39403cd75b8aeb152c4ca897c3ce703382d06c18244d2e33900992ad0f1a5aa6f480968fb088ae1282b7a7e97b3133336f2134ee4d3c0065731fd356f4b
    public exponent: 10001

]