Results

By type

          2022-04-15 09:26:49,163 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-15 09:26:52,757 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-15 09:26:55.162  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Apr 15, 2022 9:27:02 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Apr 15, 2022 9:27:02 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Apr 15, 2022 9:27:02 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Apr 15, 2022 9:27:03 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-04-15 09:27:05.157 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-04-15 09:27:06.274  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-04-15 09:27:06.874  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-15 09:27:09.565 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-04-15 09:27:09.567 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-15 09:27:09.568 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-04-15 09:27:09.571 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-15 09:27:09.757 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-04-15 09:27:09.760 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-04-15 09:27:10.173 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-04-15 09:27:14.265 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 15, 2022 9:27:17 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-04-15 09:27:18.063  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 31.803 seconds (JVM running for 38.216)
Apr 15, 2022 9:27:21 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-04-15 09:27:56.176  INFO 1 [nio-8443-exec-7] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-04-15 09:27:56.261 DEBUG 1 [nio-8443-exec-7] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-04-15 09:27:56.370 DEBUG 1 [nio-8443-exec-7] .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-15 09:27:56.373 DEBUG 1 [nio-8443-exec-7] .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-15 09:27:56.458  INFO 1 [nio-8443-exec-7] .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-15 09:27:56.460  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-04-15 09:27:56.461  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-04-15 09:27:56.462 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-15 09:27:56.462 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-15 09:27:56.465 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-04-15 09:27:56.556 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-04-15 09:27:56.559 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-04-15 09:27:56.666 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-04-15 09:27:56.670 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-15 09:27:56.671 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-04-15 09:27:56.756 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-15 09:27:57.858  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-04-15 09:27:57.861  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-04-15 09:27:57.862 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-04-15 09:27:57.864 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-04-15 09:27:57.873  INFO 1 [nio-8443-exec-7] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-04-15 09:27:57.873  INFO 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-04-15 09:27:57.874 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-15 09:27:57.874 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-15 09:27:57.875 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-15 09:27:57.962 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-15 09:27:57.963 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-15 09:27:57.963 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-15 09:27:57.968 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-04-15 09:27:57.969 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-04-15 09:27:57.969 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-04-15 09:27:57.970 DEBUG 1 [nio-8443-exec-7] 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-15 09:27:58.157 DEBUG 1 [nio-8443-exec-7] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 472692688662487031804398477461713047011146409742
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Apr 15 09:23:34 UTC 2022
           Final Date: Wed Apr 14 09:23:33 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [dc:97:ab:cd:15:48:f5:59:8a:3b:29:a4:0c:7e:6f:0a:0a:27:6c:d8]
            modulus: caee3c42fe6242bcdcf915a7c710cfbed8de43ffe6d49bd0a2b952dea5cc96be0628ae5b778b879e925061a159e32fa38ad0c58a0f0489da6f48facde6a089a83df2556fe00984749cbe58331e41c90986978429bc5e8c4693cec117b92e32b1e07ebb0e89c5fe9fdde6a64b9eff14ba290d43d15c157d2f10f6fdd5f62a3ba2acdb8b3a89dbb370873d9a48cc6708707163fd6c15e2a807c3ae39014bd456c42adf9bf9d0f16cf64fff840775cf5fdd88f2c2b0da3d451e2cc7aee4e324d8b56df924f11d3e2326f711ef177397c940961cfb554de3ec141c3a3c133aa12832d65f9fbabf49ed713d74348eb1ce72452901400ee265e1994fbaef4674419248a7a907f82d5c4f15a8306d9bab808d4a90df32b5bd53d65060713ac95de901d65fde1df2967a1fe6603d987390eb4a482acc55f9fb2ebfbf79062bb4caccac162cb216d20a105f803943e8dc4ddcdcd615f298f79c4d0e854dd14a02542412d275530a8f61d2d327e1dd7ac1c2d6eb657262ee7e0fee9f10b63033440a6a4457
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 57b4665a26abe4ea08960edc1ac392f2c84672f5
                       4f6788fedd769284f5ca3568ec3f493e6f981865
                       c2e76ba54e4d017097743b8caeb5a7f1a644e377
                       cf295259c76ca7c6f50d5589e0b0c853b15c685f
                       e7cdeceaf0cbec5880ba50f6986939b5a60f9c90
                       6d99873115b078a2f0ed333916acb8be63c31f6d
                       9724598e9749771c976ca1f8c9442ce852e68d9b
                       d1ba83669a8ff0705b40fb534a1642c03701588e
                       87f9f5a6c8f797d4c1a65dc47ad72fb50fc32c1d
                       c4cce891e411c20724eec4ecc23fece477c8746e
                       c05c9368bae58bc4bcc8405f975e5ef7b3775779
                       b9400582ebbd2cda6ec0ea49ecb4e0864b419e52
                       75076f12cdb96c3df5706e6af1fc18f9d5ea25df
                       f9a53e66b0bd662b3eee307925bc71ba2bbe3f1d
                       cdcc67cc71f215cb92e5261f5fd23b0c5dd2b792
                       bb35d40586d3e60bece5dbe79ae1e0ca8017ead9
                       3607d375b318984be70e6d07b5235f1a8c24627b
                       d9a78ad6e4f029953bcd6176923e03834af6387b
                       f013493df1e9c746bf530fa1f09c07cd516d8061
                       7e4c5795
       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 [3a:21:44:95:ca:5b:b4:46:b9:28:44:12:4c:7e:3f:de:34:9f:e3:c0]
            modulus: ce0905d813bb9612bc17120a7585f1a0eb16ed6d41c6e26bed95947723d7d9013316956766172391f65dcc454db151b2a9c9514b32d8aca6ffa48d3e2db3ac8e9a2ea4f2b53d2a2a309ae811164b3fffe470edd280b2dd7531bb1b4f65843d5e6e9f7de1cf9e3b754d3df51d86467e1d147e232427c2e61ba02651abf4f5d1ad9b588e85d1ccd08e085141ee6edf4bc57331062e23c125543c24ea1fce0513f9de2a01818eacd8cee01740631f243d55ca847fd50ca8ef720897854de4edf06703200c242330e6f2c009568ae835d346a6b2d75700b2f376bc692ce8584a56b4643a293772f70c4d804f8d7cd0dfd8aab2207ce26ea8dca7868c7dc47220eab5
    public exponent: 10001

]