Results

By type

          2022-03-06 23:10:17,053 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-06 23:10:17,824 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-06 23:10:18.372  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 06, 2022 11:10:20 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 06, 2022 11:10:20 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 06, 2022 11:10:20 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 06, 2022 11:10:20 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-06 23:10:20.637 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-06 23:10:20.879  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-06 23:10:21.024  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-06 23:10:21.575 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-06 23:10:21.577 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-03-06 23:10:21.578 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-06 23:10:21.581 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-06 23:10:21.619 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-06 23:10:21.621 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-06 23:10:21.722 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-06 23:10:22.208 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 06, 2022 11:10:22 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-06 23:10:23.002  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.551 seconds (JVM running for 7.799)
Mar 06, 2022 11:10:48 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-06 23:11:00.182  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-06 23:11:00.190 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-06 23:11:00.228 DEBUG 1 [nio-8443-exec-2] .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-06 23:11:00.231 DEBUG 1 [nio-8443-exec-2] .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-06 23:11:00.262  INFO 1 [nio-8443-exec-2] .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-06 23:11:00.264  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-06 23:11:00.265  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-06 23:11:00.266 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-06 23:11:00.266 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 23:11:00.269 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-06 23:11:00.274 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-06 23:11:00.277 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-06 23:11:00.312 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-06 23:11:00.316 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 23:11:00.316 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 23:11:00.320 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-06 23:11:00.844  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-06 23:11:00.846  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-06 23:11:00.847 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-06 23:11:00.848 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-06 23:11:00.855  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-06 23:11:00.855  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-06 23:11:00.856 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-06 23:11:00.857 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 23:11:00.857 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-06 23:11:00.867 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-06 23:11:00.867 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 23:11:00.867 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-06 23:11:00.872 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-03-06 23:11:00.872 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 23:11:00.873 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-06 23:11:00.874 DEBUG 1 [nio-8443-exec-2] 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-06 23:11:00.896 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 54984653189688263542868032809700167342514019808
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Mar 06 23:07:37 UTC 2022
           Final Date: Fri Mar 05 23:07:36 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [ab:b3:b8:95:9f:3b:66:7c:76:19:d5:71:7d:a1:6b:4c:37:0f:23:b2]
            modulus: e7feb77a63a7bd95917292a87eb2024b82ac3ce5d7ca1623628d05f57697690e4af9386dc7d738af8042aa1d545a087213b854e13162c20a75c7c50a07b47e55457589852512eea1522414f4984e8499471bd1b1ee8e23390a26ab3e85ed6a012abf69d894285f63d91e6276e6121017f8e97b20f69e731d765e31e0836a0823aabfc1eb15a98f6a3e2411940d6fee7276989441a26fd57fa007df3acf48ad6921a8407a7d704072e1ad4d9d10a477f8757926593c6380efb4fc97918110a65ba52e53308abafa1c2ce92dc5738cff39c8ea7c8f735a8e694b225869ac0023f614dfb108c811e41412fa0889700f699f995fb1c6f04d11417e93a8a62e9175eb3c2172e57602455056bc1a92f94c63098613d8f961d3f57dc20ba2af211b7406ceb9859723f6008814780f7452367e779b2b2b44a0a97d30be97037e6865ad7a48aa0d0170161c1d0ead22d44404f89c81691595b6e25a2830c11cf1e7c3f0218da5979f6873f783bf20d8d17dbd451df2da64d2b554ab4bd02bd46f0ef564d1
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 9f7d60ddaa0058e74b0450108994af48c01f0494
                       e227e8776db2796a33551b1e16acc9582064c464
                       4bf62d2397494982c3f95ad0026d08da542ed1fe
                       240eba44126c1efd24d58e5996dbf4e155541743
                       c0110dfd8645da2bb44aed8e5f8c0e4aea5df765
                       edca1cd604448f5217380e497e19b2d587eeac50
                       7425d312be71a06583034ac1c01b5de9c4855a95
                       ac763e72cd0efac9ee2ebcb9e63d4ef9776e43ff
                       2348cf982b3f8505e123905e9752443edd74648b
                       2d12b177b0053cd63eb667d4ecddfe4f85fa2edb
                       25f9d962367f7ebd06f25fdb8f6d4b1ef735372a
                       a683818060c0704129c1dd1bc116939bea091274
                       490cf12d9a9cc722691647af3b87736691d02be7
                       c7ee33cc70747fc1a901d013ad0e19e70fe8f53f
                       5be4cda73537d833559a0b4a3be0311c14d0d474
                       d48b732399e40b6e284000c41fa61ab991b3e0c9
                       e354688540acb1d52b346b8a346d9471dfb1c6d1
                       c17bea77a237c6598601d6e318492c59bb008749
                       8c8933949caa35aa513431cfdeaff73769c0ef7e
                       e3d4506b
       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 [dc:a3:13:7c:ee:df:11:c2:68:ca:6d:14:ee:03:c0:d5:44:02:ce:98]
            modulus: c81e67cbba9dc7d9409e1ddb18aeb9dd050a990ed4a68d9c0e3775711c91000f9ac3990b5af5910e949401064a92e362b4dfa25bcf49b3123fdfaf63c72cff282052b7b9c3ffc65f405263e568fc6dffa4a7a634b69258609f06983e81ffd6faad2d52bd7ef61ead3c60ebb5180bfa083556bc3e0262568fe535e5a728afd61ecf7b0ae81d70d067777de6214b913ec32dcca795a4206f326f60dea7bda97019e88d066e014b84b6b7d085c87e6529ace54fefa40cee44033b508c3ebeb6fd08a30cabc678f08baa18f940e5f0d7b290a5ab98294f23d59e3ca89e997aee73aa1cb0a8b87df316385fa084bb8248d0993e109c218447d348ec3c9f5b7049a9a5
    public exponent: 10001

]