Results

By type

          2023-01-23 05:14:58,814 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.
2023-01-23 05:14:59,726 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)

2023-01-23 05:15:00.483  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jan 23, 2023 5:15:02 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jan 23, 2023 5:15:02 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jan 23, 2023 5:15:02 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jan 23, 2023 5:15:02 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2023-01-23 05:15:02.989 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2023-01-23 05:15:03.294  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2023-01-23 05:15:03.460  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2023-01-23 05:15:04.260 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2023-01-23 05:15:04.263 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)
2023-01-23 05:15:04.264 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2023-01-23 05:15:04.268 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)
2023-01-23 05:15:04.307 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)
2023-01-23 05:15:04.310 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)
2023-01-23 05:15:04.421 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2023-01-23 05:15:05.074 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 23, 2023 5:15:05 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2023-01-23 05:15:06.149  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.157 seconds (JVM running for 9.845)
Jan 23, 2023 5:15:33 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-01-23 05:15:49.704  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2023-01-23 05:15:49.712 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2023-01-23 05:15:49.768 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] }
2023-01-23 05:15:49.772 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'}
2023-01-23 05:15:49.789  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] }
2023-01-23 05:15:49.792  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2023-01-23 05:15:49.793  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2023-01-23 05:15:49.794 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2023-01-23 05:15:49.795 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2023-01-23 05:15:49.800 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2023-01-23 05:15:49.810 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2023-01-23 05:15:49.814 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2023-01-23 05:15:49.869 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2023-01-23 05:15:49.875 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2023-01-23 05:15:49.875 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2023-01-23 05:15:49.878 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2023-01-23 05:15:50.579  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2023-01-23 05:15:50.582  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2023-01-23 05:15:50.583 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2023-01-23 05:15:50.584 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2023-01-23 05:15:50.593  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2023-01-23 05:15:50.594  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2023-01-23 05:15:50.595 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.
2023-01-23 05:15:50.595 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2023-01-23 05:15:50.596 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2023-01-23 05:15:50.612 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.
2023-01-23 05:15:50.613 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2023-01-23 05:15:50.614 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2023-01-23 05:15:50.620 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.
2023-01-23 05:15:50.621 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2023-01-23 05:15:50.621 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2023-01-23 05:15:50.623 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
2023-01-23 05:15:50.662 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: 633178620360594306113044839643341880771169138125
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Jan 23 05:11:09 UTC 2023
           Final Date: Sat Jan 22 05:11:08 UTC 2033
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [0b:ae:92:af:fb:23:4e:bd:93:20:e0:4e:c0:7f:05:0c:8e:ff:ef:79],[56:66:d1:a4]
        modulus: b5f1380a26525c1a7ab0046904446ef858af2e35dc40c4dc70161a7851f1b32bddeae1ef10ad0ed4446b7b4f8266d0f0d8ec7b1cc57f90e2bcc3c651872437942b5e9d63d4e88515548220e3b133d6661018dcd3a98870ae1f4b352dcdca415b6af408f104f9d392ea3ea4b02b0e52590333c98c811fd3970cf2727c8669d18bcd135dcf1d06d2ab66b4ad10f23f65c83520ceae0cafd255268044b4d548bef8f3e716946121067cfa6551682251c73df2a845ed8a7aa6fb249aac03fba79f10ec51f2f8d52c3edeef85150345365974fa525535e4b8d3a9130280564ca95bd1f0d9c53b4a183f785fe1f0124ffc08a76c6d5f380d7b1673408b9f99333c366ced4590b11e43b794f2dc23c9fe1044864623729b66b10584d604227e8cd18930457145202fe18d2b47150888e7008480a431808f34266b6ab332ea881901e37066663b568973b94669adde7171251146ae37840ca3f9d4b1bbe1785ee5e906822309f131bce7952bc6851ee4f09ca0ee6fc7f6ff5dbfcdcdd6ae49bc0b84968f
public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 063d405809b535237319ab3febec4ca2d95ab242
                       a2bde67558038cc59fa97914eb3e351d601ca0ba
                       0c2227b1bd3a74ae3a57d3dab8d2d4af84ac921e
                       279e25867641db312302e4ebbf7795981906837d
                       afd2f0151ff37d26615d0529c0aa7177b688e54d
                       8e4342f14181977117e495fbd4994fde8e780a94
                       fbf7c9481e7c8b8553d1afc1c2d38f85e832076f
                       e99b88a0f9a529db6ca2eb4d8b49446867d570ac
                       4c49730f0b1c38fbb499a2ea0d1d1e119975463c
                       323a5317ebfb7529e751581ae983580f290611c9
                       f15eec41fd37a6b24e5c2cf63afd5cbc52455810
                       8ba398b6ce994d8fb0cabd03d486e1c42af489ee
                       9fe26f522fb2fc886b1e128fa037bb454f6c520d
                       2f7a3617cef23a90d4e25d5431d210df9d95130f
                       bd0b5df42d246b2609df76a14e2b03f155b87431
                       de802cc4ded2c45485377d33d284efc9f223645d
                       b0780c1a07d08892797ef21e1ee130a4c75673af
                       d231d975249f75688f646695deb1f1bde1ddc84d
                       89ccce8f360caecb00242693f46ce8a94b487af3
                       6fbadfc9
       Extensions: 
                       critical(true) BasicConstraints: isCa(true)
                       critical(false) 2.5.29.35 value = Sequence
    Tagged [CONTEXT 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 [c4:3b:2b:ee:f7:03:46:06:dc:67:28:a9:37:a7:bc:f3:0d:d2:35:7f],[56:66:d1:a4]
        modulus: ba1179bef63ebf59cc16fcc5a4e04777e7648a1d149521313a54ba9f64fe0726b63420c1d19b04c12d8d570142a2d979ea9f999753bb00ede81ad382c79df84b6ac1acb5341dce0243a06f3ebe80996ad62fa7a56e64b0ab7ed0d6fd7149a513db52d75e0f9ec694132b293e0d0394e6f0bfa43b508ddd62ba471f35fe5575b20617e79ef018d25c9a942916e7675326d17beb617e7c3efd69192ded786134b0fa1dfcd55a2c87797310f7cb7b9fc6614b816bd085283ae0ec66a7f8ff3ce8cb6666db26df8db8f1ca9e52c43394afae82e61ecb7bfd20ab90d4d5dcac262ddd41ed8750a778b7ff94d30f560a35fef20aff7a5366dfdb95ab865f4a2d2d08a5
public exponent: 10001

]