Results

By type

          2022-02-25 09:56:08,067 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-02-25 09:56:09,733 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-02-25 09:56:11.059  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 25, 2022 9:56:13 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 25, 2022 9:56:13 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 25, 2022 9:56:13 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 25, 2022 9:56:13 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-25 09:56:13.960 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-25 09:56:14.324  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-25 09:56:14.496  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-25 09:56:15.256 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-25 09:56:15.260 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-02-25 09:56:15.262 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-25 09:56:15.266 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-02-25 09:56:15.329 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-02-25 09:56:15.336 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-02-25 09:56:15.477 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-25 09:56:16.220 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/]]}
Feb 25, 2022 9:56:17 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-25 09:56:17.299  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 10.318 seconds (JVM running for 12.39)
Feb 25, 2022 9:56:42 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-25 09:57:03.516  INFO 1 [nio-8443-exec-8] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-25 09:57:03.526 DEBUG 1 [nio-8443-exec-8] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-25 09:57:03.569 DEBUG 1 [nio-8443-exec-8] .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-02-25 09:57:03.574 DEBUG 1 [nio-8443-exec-8] .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-02-25 09:57:03.596  INFO 1 [nio-8443-exec-8] .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-02-25 09:57:03.599  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-25 09:57:03.600  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-25 09:57:03.601 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-25 09:57:03.601 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-25 09:57:03.606 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-25 09:57:03.612 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-25 09:57:03.616 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-25 09:57:03.657 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-25 09:57:03.667 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-25 09:57:03.667 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-25 09:57:03.671 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-25 09:57:04.346  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-25 09:57:04.348  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-25 09:57:04.349 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-25 09:57:04.351 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-25 09:57:04.361  INFO 1 [nio-8443-exec-8] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-25 09:57:04.362  INFO 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-25 09:57:04.363 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-25 09:57:04.364 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-25 09:57:04.364 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-25 09:57:04.378 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-25 09:57:04.379 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-25 09:57:04.379 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-25 09:57:04.387 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-02-25 09:57:04.388 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-25 09:57:04.388 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-25 09:57:04.390 DEBUG 1 [nio-8443-exec-8] 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-02-25 09:57:04.425 DEBUG 1 [nio-8443-exec-8] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 94859051207089301715959486295630996098051017021
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Feb 25 09:52:31 UTC 2022
           Final Date: Wed Feb 25 09:52:30 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [24:4e:ac:1e:4e:7f:ae:76:cb:dc:5b:0f:6d:34:26:d5:ec:7e:00:f2]
            modulus: a1d494f2a6eea520f69424d2d8096111c67229c644a9a093ad33517ac617e75a99280be858b1379a08faf710892e77a086ff49e86de1aa9b39a13158d55164a47e52601be388dbfefcc9d05367b4b06d7c499a626f40a8fa7e8ca5c35842896ec032f1a6d9495385d57da2511ab6eef6758c12bfc796d4d8fee69c00a40d04931596c745c0078f19a4b172ad9dacd8c79c79a5185a0702a30dc41c976e554e17d934a309bfb6abf1c2631af2c9e9db1e7a0bc13e5930aa7b097ec7494e30d3bbda897908d1760871573980abd107a068509b607f87fc3503e538b4e6292f26bea623f3aa84f06aa05dd104fe9ecf32a0d1167e50393bed72219b8bda00019fcd3ba9cd443e3b43aab73a74543ce4535fd1ff700b70ba3a7a82a730ebbac1b7dad8d389d13701e8cb27abd9d5569a5957483a42b0aaf691a1c4bdebcf93be9476941755820021d6526e780d8d294ecd6219e28b277222ae32e519932e02e530805273af8b083c8aca1403b198c4f1145efb18be931392836041ab98cdcbaa16d9
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 4cbf2f22f75992cf27286d02918619a7662b91e7
                       72673bef06e8e0c9ab38f0e02460979279386646
                       45c717402f7d8f8752790e52f7f6098975aab337
                       8756512afba4c8718476c6a6ae6961724c35e707
                       ac5fa4276850ee34dbc3f4ba21978efb479a9477
                       26ef22f480b1fdb5e198e82670bfa82008a8b3e8
                       23eaa0c69e5f7a04cad3d6bc1709bea1f6329183
                       7c797cb38f09ee4560129490b034ba778bc1ff99
                       873da0098f088ded8f0fd2597d352082b6b1eb51
                       ba0d0bda517276b36a75cfbfae2b07a09b22394a
                       467248f801f2e56ff2200dc4244636f78d6c08d6
                       ca33e04c601456bf67984d39396849f523fa3b02
                       4a1fa93e21a18ff131ae11ce08647d7cbba2a55a
                       f0768cebe061d7bcd5d641db92e5aff92928a101
                       4909ef01f3603905d77245e309a5fe4f6d2c660a
                       3a361d25e3e8d4771c2db44f82d35376e799c7ee
                       84da8a576ccfdc1572201b1f37cd5db6ff6b5029
                       4494fb2048d2a99273bdde07e05a8cf7b0e8295a
                       9a7a83071184a67c56c4d75b5da6241ef1d739b8
                       67a6d8ea
       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 [a1:88:04:e2:3b:ea:45:3c:c2:69:22:93:2e:da:09:f9:c2:e4:c0:df]
            modulus: cf903725e36b82c310902f5ac0069a3bb177d5080b21f07a8ddec884f5dee7d5286b0a6637a321b4255a2cb52f847941e02ebf25c13efb42d9fa84b60dc8342315f43e60de8ab93e59565e7e3e5b1a605cd466125d20f29cedfebc65d6f5cc93a2875121c3a94bdd87f23aa90f875171f2846ef7255469123b21d00aa6d937f80d1e1db395cf6d8f086fc5ce19855a531e37590b37fa72958147ee275f49b8372a44302343c701c7cbcae6f30877589a9d5fc809a5fa837fef18e3cbb923ddcc987af4701a3d0fc9fdcf34f088b887fac925618a706b021b749c35ffd697f980cce13aba095c2ee6e0f4de6fa1cee21838593ddbeed15518a2ecd14077a0db93
    public exponent: 10001

]