Results

By type

          2022-06-05 05:14:58,755 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-06-05 05:15:00,536 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-06-05 05:15:01.737  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jun 05, 2022 5:15:04 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jun 05, 2022 5:15:04 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jun 05, 2022 5:15:04 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jun 05, 2022 5:15:04 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-06-05 05:15:05.333 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-06-05 05:15:05.714  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-06-05 05:15:05.976  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-06-05 05:15:07.211 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-06-05 05:15:07.215 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-06-05 05:15:07.217 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-06-05 05:15:07.222 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-06-05 05:15:07.274 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-06-05 05:15:07.280 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-06-05 05:15:07.432 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-06-05 05:15:08.343 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/]]}
Jun 05, 2022 5:15:09 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-06-05 05:15:09.582  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 11.89 seconds (JVM running for 13.822)
Jun 05, 2022 5:15:30 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-06-05 05:15:48.624  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-06-05 05:15:48.640 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-06-05 05:15:48.706 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-06-05 05:15:48.713 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-06-05 05:15:48.742  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-06-05 05:15:48.747  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-06-05 05:15:48.749  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-06-05 05:15:48.751 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-05 05:15:48.752 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-05 05:15:48.758 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-06-05 05:15:48.772 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-06-05 05:15:48.777 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-06-05 05:15:48.843 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-06-05 05:15:48.852 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-05 05:15:48.854 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-06-05 05:15:48.860 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-05 05:15:49.497  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-06-05 05:15:49.507  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-06-05 05:15:49.509 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-06-05 05:15:49.514 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-06-05 05:15:49.528  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-06-05 05:15:49.530  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-06-05 05:15:49.531 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-06-05 05:15:49.532 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-05 05:15:49.532 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-05 05:15:49.549 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-06-05 05:15:49.550 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-05 05:15:49.550 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-05 05:15:49.560 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-06-05 05:15:49.561 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-06-05 05:15:49.562 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-06-05 05:15:49.564 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-06-05 05:15:49.611 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: 497174122579986714430804203936092056190921329452
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Jun 05 05:12:52 UTC 2022
           Final Date: Fri Jun 04 05:12:51 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [ec:8e:18:38:1c:30:97:7d:d5:cb:bc:7f:25:2a:37:5f:13:6d:13:c5]
            modulus: a005652bc20550879063fdce80cda2ad9d7638e63be7f24ba582f09f9c1987d5734ed6efd1f8331027e53b768d58a5d09340ef15bcf754a0bdd83a87fdc581bf05119a59fbd70c2a86ce2849ac68617fd2bacb74dd37ae26ec19bd6461deb1a8b987f7a6313417a00b1402dd2b49545a3753e5afabfe6edd58df46cd7d187d9994bf59854a7633a25835f8b8f3d80807e886510066946a9311a912579f91ab4cfca8525cbe24d5a6255def89f76f0aeb4a78cf207b92eee9b1d377bfe416cc4b763565bb4f70190c69ee3721bc5177eb5504eda5f85bfdf612fa1f8047b3aabc684ab57c17031dffe294df487142e93cfe249cb034c41434b63c1382abe4c82a7ef3d0aa854d30133d640d9e7176685b896ba90cf08166eaa22c3e536cc94d73b417af149d5eed15befb8e48e15a25dc24084f2d65f2022c557b7235af8b0dc9edf461b56c9be467d3a776174d504bf4c1dacc39ea253b8c6425374844412a41f86d4e92e70af807a337ec8d67a7f8b71a650c09feccaf3d6687d9d8fb87d5f5
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 5fdfc11cf089c4a05527b3b747c00a1404fadaae
                       875040a01a01732fbc74161b4c36fff773d2ba35
                       376f926e8c208dd67901fe0415f9f912c1e5df6c
                       16ea7758da1a686536f3d8b26cecb6aa04ed761c
                       dbb174933cd9df45c3b5d48419b170e5af442699
                       730d9e137923b1b699431873dc47f6b6be23df4d
                       a7106aac2bbd0d86f9091af719d523c207befea0
                       3fd64093e5ea4fe527bd4dae588a7e81c7841274
                       b59db69ea6178ec7f0d1436a917244436c3cd86f
                       cdd19db9271787cfcfcbb69bd31b811b10c0ad90
                       8ccd1bfae945e5b92720e453c632ef034b8c1d93
                       6a33ed9b89d55607cf41734982a6655e483decb4
                       9cd1061e2c3ac041e3b5d1e3355404114dd9a48b
                       4e64cb6fd3958a30c4a8a4369090057234777e8c
                       567f8a14ab6d41d69d5dbb0f2c6515e7658b758f
                       a30979305929c5f9e0d9206a654d40850202ee6d
                       6e9d959bbe7a34d420d021805475062d2be2e840
                       9f11ba2f4258b8908fe06e28fa43e060cb76ee10
                       21722d4c9309ed8d00a4b58e176a567aeca96264
                       a76b84c8
       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 [11:c0:5b:10:b3:6f:26:d0:70:58:0f:35:c0:36:de:2a:e4:e0:c9:9e]
            modulus: c09515591e9f3598c150799b70149fa6fdcbd8c63763866419136936cf4c5548ba75058f4b9eeb105acb1b0038003eb40db21a81e8273206dea456d582f4ee3f5e7f56dfd73663c30776ca434853fdfab1659b5b25bffd8eabff3514bfb2c627dfce35dae8738315786267e80d4dc16b4968a90ee179db3567ecb900e9cf5aeb5105343f6498165a1c7cabe662d194f430bcf3f5958029506e66d7638f1ea94b9ad562e505a55dd8427419556af5fc4e5ec5705dc2d5a53c4ba9ddb2e842792f779c09b1b90cc7ed9a366a01003bc85bcc3960ba7d98462d4b233932469e1d97a080465f53e0512c8f4cb47c22a9484382762302b2f8818c302d1c7d6a8585e9
    public exponent: 10001

]