Results

By type

          2022-03-06 04:57:46,197 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 04:57:47,144 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 04:57:48.266  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Mar 06, 2022 4:57:50 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Mar 06, 2022 4:57:50 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Mar 06, 2022 4:57:50 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Mar 06, 2022 4:57:50 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-03-06 04:57:50.978 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-03-06 04:57:51.246  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-03-06 04:57:51.411  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 04:57:52.115 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-03-06 04:57:52.118 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 04:57:52.119 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-03-06 04:57:52.123 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 04:57:52.164 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 04:57:52.167 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 04:57:52.279 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-03-06 04:57:53.003 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 4:57:53 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-03-06 04:57:53.961  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.574 seconds (JVM running for 10.223)
Mar 06, 2022 4:58:19 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-06 04:58:36.186  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-03-06 04:58:36.203 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-03-06 04:58:36.248 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 04:58:36.254 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 04:58:36.275  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 04:58:36.278  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-03-06 04:58:36.279  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-03-06 04:58:36.281 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-06 04:58:36.281 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 04:58:36.286 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-03-06 04:58:36.293 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-03-06 04:58:36.297 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-03-06 04:58:36.340 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-03-06 04:58:36.346 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 04:58:36.347 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-03-06 04:58:36.351 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-06 04:58:36.921  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-03-06 04:58:36.924  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-03-06 04:58:36.924 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-03-06 04:58:36.927 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-03-06 04:58:36.939  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-03-06 04:58:36.941  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-03-06 04:58:36.942 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 04:58:36.942 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 04:58:36.942 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 04:58:36.961 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 04:58:36.962 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 04:58:36.964 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 04:58:36.974 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 04:58:36.975 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-03-06 04:58:36.975 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 04:58:36.978 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 04:58:37.014 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: 504051272390640002238841272648288976236219841836
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sun Mar 06 04:55:43 UTC 2022
           Final Date: Fri Mar 05 04:55:42 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [85:be:d2:3d:2f:c1:c8:12:3d:40:1d:11:09:ac:82:c6:df:95:36:13]
            modulus: f5a421267f85ab5668dd1d4bd6f3b4ed2797a815615520e974c319236e1ff78f239ae116a33aab029593ef1bf995e39c0baaaa9447fc4c80bb741f15ea6531b4b99313fcfde13c5b44fd0cda8549dd4caa409b2655d5bc369b50c319cd829e6bb96cec610b499d663c71ac084f874552ae1ca3532e53bbf92a140d1a333d6c3c8acd1184b85f887e392496ec597df0f302fa6e0a0d5be077bdb008c6c3644b0cce6618b015c64c828249b2f95622ddede92a33b8e41ea10923ecdbb4b95c797b0db153603694012771afe91ad0585c9cdf977f156218ed8de67797130b3dada56f5998f85ea0802a074f5d2e1cc1edcc5aa828bb557747c0d8c4e355b58d06e3486641a5a03fa38d745d873b86745a1e4d63d06c4e0e7a6dc2b2f62b637df14346af21027892f13300d06352bc4e236d94d2d476e6ada21727241ec3c8c4b356561f3aad2fe94526382f0515c1209cf771f59ecbd69b762df507fe6ea4e2625a64e296707303b79949bfe4157cad9e49f902e231bd6d3b3d5087e3d6b39b9245
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: d8360eae687bb358adff875cda7fbbfa813e00f1
                       20aca4d67fe030973ab68735a6ab0196834d819a
                       fb7a4cec414fb3b0bd9f05ce093a142e57554255
                       b486d5bd7ae2c29f821e361447a0fb119056f193
                       dbbea0d4ab24160cdec05a83e5aa5d53a3bfc84a
                       ca2c068323f157d82708e7c43c1c74509ec5d617
                       744fbdb71473d973123048a5408c8efb5702cfe5
                       07cd6397ab16f94264a6550c7f79d33fcb4c791e
                       25b478bb1472ea849474996da08b487698bc197c
                       9e5ef78f12097e444ced348c7fa93dc871eb46da
                       61bda5c65d9cc77f1170570e13bba65524ff2ad9
                       3c85cb8643a054a440a728e01c2b6067e6a071eb
                       35bd405ec6f0116559c0cd1b5455835b1ffdb196
                       995cdb3daf32d237937d7ba1ab8816e65dc68179
                       d9edb9038626ef76307b1eadca419b6eb810ef4c
                       6e8b414a3bfe1425566d9478757234051f9c6a9f
                       14ae3280619eb6b6bbc944d21f8a8eb9b49e490d
                       7ac792a8be794b2e4afed0fc300e8e88d55176a1
                       9cb8e0052cadcbba2a7a55636a27d39f10bb4c0d
                       3d1edcbb
       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 [1d:8f:ec:3d:54:60:e2:56:06:05:05:18:a4:29:34:1b:fe:4f:14:92]
            modulus: d9f214a79f83b5e69d0c381fd6534a8b95fd595ae168cbc124c5bae511c690b489e58e564cb993e151d277f727e533d8f6a996878e7c513c6f9fbb7b8dedc1f2d99877bf04e6861055759b556b07ab3e539f9f993effefd630f23c89dd29116d9877126962de9aeef2a05499a2e4c9847a5eefb8e4c0c9326cdd051de28e6a414e0c851daf7ad2c4970963b89d5ef2b09f43c2cefc3915739c2a1fe92e814d38802199f9023edc61f5b19533a465dd28ff64d11975ffa8c716750e407763906d5e427bb96013a91427d650052ce3c2ecd7373a520c2e9db06f1e9340b6a353e2be64be4a51385b4e5f26eb77c14fa5e9b9605bfd5bd302c14ea47e67eb0b27f3
    public exponent: 10001

]