Results

By type

          2022-03-14 12:08:46,356 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-14 12:08:47,136 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-14 12:08:47.803  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 14, 2022 12:08:49 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 14, 2022 12:08:49 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 14, 2022 12:08:49 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 14, 2022 12:08:49 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-14 12:08:49.710 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-14 12:08:49.946  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-14 12:08:50.063  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-14 12:08:50.560 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-14 12:08:50.561 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-14 12:08:50.562 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-14 12:08:50.565 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-14 12:08:50.594 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-14 12:08:50.596 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-03-14 12:08:50.705 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-14 12:08:51.148 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 14, 2022 12:08:51 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-14 12:08:51.902  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.191 seconds (JVM running for 7.583)
Mar 14, 2022 12:09:17 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-14 12:09:34.362  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-14 12:09:34.371 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-14 12:09:34.408 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-14 12:09:34.411 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-14 12:09:34.425  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-14 12:09:34.428  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-14 12:09:34.429  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-14 12:09:34.430 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-14 12:09:34.430 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-14 12:09:34.433 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-14 12:09:34.438 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-14 12:09:34.441 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-14 12:09:34.493 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-14 12:09:34.500 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-14 12:09:34.501 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-14 12:09:34.505 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-14 12:09:35.019  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-14 12:09:35.021  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-14 12:09:35.022 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-14 12:09:35.023 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-14 12:09:35.031  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-14 12:09:35.032  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-14 12:09:35.032 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-14 12:09:35.033 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-14 12:09:35.033 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-14 12:09:35.043 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-14 12:09:35.043 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-14 12:09:35.044 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-14 12:09:35.049 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-14 12:09:35.050 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-14 12:09:35.050 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-03-14 12:09:35.051 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-14 12:09:35.076 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: 224164759453885536291346077464584272352274333369
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Mon Mar 14 12:06:49 UTC 2022
           Final Date: Sat Mar 13 12:06:48 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [69:00:11:e5:66:ee:e2:39:1b:d5:fd:d2:cb:f5:f9:32:ae:75:85:1e]
            modulus: b8a8561b275fb5eac2e5f2ac0d75b78da3cb05ac3b7bc86f5a204c2e4c746f654371af9cbf0079e449624c6aa0206c5dc0d3d90c5682bc18ca4024b71311016796d1ebeccc29dd0cfefaf9eb829f949d5d95deba57a4fbee99abd50906ba099b3e8510700161de995b90d7af55f0918d0ee6c5adc48ed5e64f206da9c30d34dc5951c4d7de10c35b57981d70b65eb697bc5457677b908db5c65f9482dfd16b6e0fc547d8841e1472447a9a329b83e218ba83c3295af4aff61df940a3c17b750c48a896f3557f9156a81584c7dfa8b73c8247c09d30154cb7a2d801636407dab3dbe702f02673ff8eea435caeccfb7614049ffc03f28fefab90e2bef04990dce34e8e8f471ba2aa8a9ed6adb19fee1ad8c370358da81af223d00dad805e3f444b4e907a75fd02ffffa81cd04839aaa28d5ae9ecdcf052bb0efed95052dfd5ffc5ed46415a1238e5aa5cc2667678dd75c04bda3adb7afd12f56e245275df2e7722226aa7e14958b8c7e7b4f27da3808b890c3d50e440b2a755dfce281c34d22bf7
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 465f9482dbbf99923ed99f70d3d2ede0952392db
                       1a25cd4795cdd82106b7f6cf87594354b21eac3c
                       634f83ef27d206ee48c776c858b95180557cb9bc
                       509429e3f65c83eca69a277dc2b86b99658962c0
                       6e4fcfa6d8a19200b1241e8dd11517641135b685
                       52f972f7e4ad9d5d2f38f2c8e9c79da754f136b6
                       f62eeb05f278db144d9aaa984ef269f9703f6f62
                       0a6211c4a081133908f295b81ca87e49663c9d85
                       0562d832a8297d02bec80041d596443459002021
                       442ff526ecf4936623015fa7cbbcc45f7f0bfa5a
                       cdb14603f9d976a63b9b92b41836ff9039a9902d
                       14247deb457659e15c876c6c91ec99bcdee9d6c3
                       bccc946de1843dc2806c4145729d7934af3977de
                       64f0f5e5cfaf92b8fdd96cb910fff8f509b4bd35
                       b1a9bab443a46b70dd923d0251071861e05d0ab8
                       7cb4e644ae96ce9f7caf324d5afb6fc680df34ca
                       beab25220419d2640403dd54a6f97e28b432af39
                       aabf62e0c69ca8ad0568a9fa8329c88bf6c50c57
                       2a6afe2cc49aba98cca2192728608dd0303979f2
                       cd974c5e
       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 [89:b6:b3:27:04:a5:e5:22:93:b6:44:d8:fc:92:00:01:c7:9d:e3:7e]
            modulus: c79461c1f36e8765e6b948a31e93b3cdceaa4c3714ad9c414afdc159a75e392c9371110610d3fea353fd7234437ff57efffbdda78a061a6bd467e4cb1b2f3548c2a02f8439f727586a3bef412f536aaa03b436bfa70f6ee51b02a79a91d5aff49c7806fd4a8f23b117d76cb2089999bc0070714d18a6b05151998ed0067e105831ab6bb1117f262b4a6d634c167f768e3e27c937868e422c2ff1dcc1f75de979c72dc739d035e770ad6f14ccd38499c95c4b69a30118ce654a8085959534b7a7f043463f779a7f236375382e66cdfb0088922fe55c41d4181865d06d31b37723e993e06fcc01e31feb482c0e3b31621190f3b7ded0315bda2db8a79d97e7dc71
    public exponent: 10001

]