Results

By type

          2022-08-13 03:09:34,299 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-08-13 03:09:36,008 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-08-13 03:09:37.065  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Aug 13, 2022 3:09:40 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Aug 13, 2022 3:09:40 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Aug 13, 2022 3:09:40 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Aug 13, 2022 3:09:40 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-08-13 03:09:41.368 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-08-13 03:09:41.827  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-08-13 03:09:42.136  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-08-13 03:09:43.541 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-08-13 03:09:43.548 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-08-13 03:09:43.550 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-08-13 03:09:43.558 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-08-13 03:09:43.610 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.s.a.OpenApiResource:
	{GET [/v3/api-docs.yaml], produces [application/vnd.oai.openapi]}: openapiYaml(HttpServletRequest,String)
	{GET [/v3/api-docs], produces [application/json]}: openapiJson(HttpServletRequest,String)
2022-08-13 03:09:43.614 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-08-13 03:09:43.816 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-08-13 03:09:44.819 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/]]}
Aug 13, 2022 3:09:46 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-08-13 03:09:46.513  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 13.656 seconds (JVM running for 16.876)
Aug 13, 2022 3:10:01 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-08-13 03:10:15.384  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-08-13 03:10:15.396 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-08-13 03:10:15.444 DEBUG 1 [nio-8443-exec-4] .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-08-13 03:10:15.449 DEBUG 1 [nio-8443-exec-4] .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-08-13 03:10:15.474  INFO 1 [nio-8443-exec-4] .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-08-13 03:10:15.477  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-08-13 03:10:15.479  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-08-13 03:10:15.480 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-13 03:10:15.481 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-13 03:10:15.486 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-08-13 03:10:15.493 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-08-13 03:10:15.497 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-08-13 03:10:15.547 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-08-13 03:10:15.553 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-13 03:10:15.554 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-08-13 03:10:15.559 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-13 03:10:16.427  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-08-13 03:10:16.430  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-08-13 03:10:16.432 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-08-13 03:10:16.435 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-08-13 03:10:16.452  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-08-13 03:10:16.455  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-08-13 03:10:16.456 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-13 03:10:16.457 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-13 03:10:16.458 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-13 03:10:16.487 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-13 03:10:16.487 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-13 03:10:16.488 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-13 03:10:16.497 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-08-13 03:10:16.498 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-08-13 03:10:16.498 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-08-13 03:10:16.502 DEBUG 1 [nio-8443-exec-4] 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-08-13 03:10:16.545 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 56956089389491771562593486815235634368540864042
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Sat Aug 13 03:06:40 UTC 2022
           Final Date: Thu Aug 12 03:06:39 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [cf:22:c6:e8:00:94:91:40:a5:07:ea:1d:5b:ff:91:0b:ae:ea:1f:17]
            modulus: c82f0eb70294c51ef9c52e36739deea6cd435601dfa25310ac26bbb29ce52886d6718c3183f9301294480ad00e9ce9538953d89b092190247695f4d13529eae633c8660689655852578c5419103570226eb0e3d62a7aa8ada7a005ff3e73c033a6448731e154c9e45c8d8ed25560647b56e9be16fd401eda5fbf8e24cd627b05542b7d960bda60672794c4faccadfa2a25a1bcb0b0a40a95ea652dce93ddfa49548e220b579dfb8638fa1a2f032a67068be3cc6f0f8e6c9997708b33e82270e803d7a3063c8645c08fe706c34295b692d598b09aa2482a21f4447cfbf26d62827b3c5af86ae9b633b9d06ae32fb01c50033b567cb96a0a0650808d3c5d157bad4d510e294a52eeaecc4b02a093437c5d368f5e1ad104a5ed6cb9fcdf55127b673cfbe8113f238123850bc1f2b0fc7665a27b69365072f7fc1998b5b69f388aff7fd9d1dbea0ef390d11fc735d8ee0239bac4a723ee1e0fbd58168968e7c212993f2b8d87d331e79388592fdceeec8bb48149004b4b541874188d4ec451f51eb3
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 7eb4d33ae22e73cf073bc534d2d2b63bbe985a8e
                       d23add5a02610a94d914a687bf8f6809289d5541
                       fe3d159c2b175b12c8d476781a268fa8bd42e372
                       101462831d5f9a283ec35f9f1928cd41fc188ba2
                       27f3c355103b0341480bb502ea5c7c6dd885720b
                       fb576dec72c52de794a0ba8a8bc7c40d06ad4724
                       660decc72eb468e2d3edf5108061dbf9368d99c5
                       0227e64c7c3e326edf72dc8c027eed67d6cab110
                       877e184bd833192d70a1899fb22ecd779382a5da
                       a998468ad72390f27b20a1ca7665000f46ef4787
                       279855bad78d86f05000ef407ba659c84e4e7db9
                       78d9c4d0ca540f4b0a7f9c32c891029042e8c554
                       7229521a9c327751a031fb54ef6196a15b378629
                       e1413693027e45adb1cfbe4834c10b1c78a28c0e
                       4a2f67f45029663e4b32f7a99516c661a3c58928
                       5e6916b1c50a41c192bb777a0c336c6619e7477f
                       46e6dbf193c08837d3d59fd4767fdba1e692f3e0
                       85f706ee07a1a01c469a6f277a60359c5390009c
                       41903759c108d8d4409e959cd6a8e0c6c6d99e47
                       a2f4f4ec
       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 [71:7e:2b:13:36:af:38:b5:f6:cb:dc:7d:16:f5:13:aa:d1:13:9e:f4]
            modulus: dc1c9cfbcb8e4b60686d381bf7d43748758ddebc343c8d76576ed61b036915054fd65ce2eccd29cdd1cae78875eb265a6fe20d1a38b14c017dc326f2258ba47c3abca6c67e4c5f758d62f57742897883fe2abe7c7c4a9965464bf9802ddcfc08109d965a3ac7c68446377143f29957ab4b358451e7713cd620dcd7ef0b6bf582ec8d086b422adb49904398de99a2b20dc0b4cba0d1a4362c1fb213eb44064b14c707069e674c5cd5bea9830ce7683a5d806080891584312cb97aa560120bd62266aeec45b54376174856ef9f16133ecb84b0d2a0cf8e699f398c4fb8cbef88a7e335afbaa577d8a8bc0f30c55e56632cec2983bc93e5dca022004b1b84a7c691
    public exponent: 10001

]