Results

By type

          2022-05-25 15:38:31,893 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-05-25 15:38:32,472 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-05-25 15:38:32.948  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
May 25, 2022 3:38:34 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
May 25, 2022 3:38:34 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
May 25, 2022 3:38:34 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
May 25, 2022 3:38:34 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-05-25 15:38:34.813 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-05-25 15:38:35.006  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-05-25 15:38:35.109  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-05-25 15:38:35.593 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-05-25 15:38:35.596 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-05-25 15:38:35.597 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-05-25 15:38:35.599 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-05-25 15:38:35.627 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-05-25 15:38:35.631 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-05-25 15:38:35.709 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-05-25 15:38:36.132 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/]]}
May 25, 2022 3:38:36 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-05-25 15:38:36.796  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 5.413 seconds (JVM running for 6.538)
May 25, 2022 3:39:04 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-05-25 15:39:22.939  INFO 1 [nio-8443-exec-2] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-05-25 15:39:22.946 DEBUG 1 [nio-8443-exec-2] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-05-25 15:39:22.984 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-05-25 15:39:22.988 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-05-25 15:39:23.000  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-05-25 15:39:23.003  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-05-25 15:39:23.004  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-05-25 15:39:23.006 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-25 15:39:23.006 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-25 15:39:23.009 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-05-25 15:39:23.016 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-05-25 15:39:23.019 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-05-25 15:39:23.046 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-05-25 15:39:23.051 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-25 15:39:23.052 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-05-25 15:39:23.055 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-25 15:39:23.549  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-05-25 15:39:23.551  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-05-25 15:39:23.551 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-05-25 15:39:23.552 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-05-25 15:39:23.558  INFO 1 [nio-8443-exec-2] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-05-25 15:39:23.559  INFO 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-05-25 15:39:23.559 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-05-25 15:39:23.560 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-25 15:39:23.560 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-25 15:39:23.568 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-05-25 15:39:23.568 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-25 15:39:23.569 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-25 15:39:23.573 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-05-25 15:39:23.574 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-05-25 15:39:23.574 DEBUG 1 [nio-8443-exec-2] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-05-25 15:39:23.575 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-05-25 15:39:23.599 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: 209663818956104898255183291809104675304259450590
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed May 25 15:36:01 UTC 2022
           Final Date: Mon May 24 15:36:00 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [07:3a:39:ba:de:2d:04:64:f2:cf:9d:17:75:36:5f:94:cf:99:4c:b4]
            modulus: 9add4833c6262b1faf7edbb7d9fdfe89fbb06762d472ab25115119049056bc4406b1a7343b43568ace9ea919aa8e6d3161f2b24916a64aabafa1c49b458072d32050675f4574c6890b3da2f9f349ccb905b80f1d9cb0f227cc76fbfb6dd7d15c7095cb00ed1acb4a25ca8963aff5126e3f54b226648f78f56ac1fe5db0bce61e39b5dded342d59a1b65cc167e483c712daea143d1a587d30ca9595b30d7753b276f0a27d6d6abbb7481988a9116b15dd774cf2148648185a683618fd23777bd71ba7669aefd809441807775336684fd13206afe00b306fa994bf3daba0f7c16e4255ce1b6bf5d39a22f44bb36070852eef676beef9baabbc5130f67404cc84a3d234229f68c2e7d1c41406c5526515c643124e2d07ce42ef41faaeb7f5592198b75ce655bccbd186314c6e624726fefac53b384d133942cf6ed2e3ca5ca97a6148e76ff15c81afab1c6d670825e8a9229edbd62b3330ddac046274f89039994f64152399e0bb1a8d32b5a0bed9e1731b3dfcbc379e4f309e2b92a756c2015ccd
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 5aad4339d39ced9017a7e389a0f58d0f53590814
                       5518910fa5a8734eedeec253c89dc0bdc5746a15
                       11189dc490dd8a453febd875c1b279ccda8e38b6
                       c4f841522443d581b8103258424a2bfc1a431a93
                       a062803b24d7682960141cad8043d2f99f6aa998
                       2695e379c1db72dc2f3090f9e2dc84c4a7e2b8da
                       78b3dbef8bc590dc396fc6bde63ecbb10bfb8e25
                       ea1debe7d78f4ee0917e3e49557a131accf54ce3
                       8d31616e65a8352ae147ada9148e1d96a014d003
                       e2bbe3bc8ff266a6f32cd7d497dcc885de223a53
                       b2b757c315deb39a634ef71b1ce460a28979244e
                       c22dd3901b17e17e6fe46db7cbecb1f1f7b8a8f9
                       14ceaad856dbc01f4069540c0f2278614aec184a
                       e3d25f267d1a5a39caa67ac7c5943c9a6279ae37
                       c0b176d7fb38d8a969fec0445e955deae07164cb
                       7dedd2119fc30302eb0153d1b8328ef87f09c46f
                       bfa8619aefeb07c5e1d63cb304fb9848145efdc8
                       5eeec9c9a3b137de93cc121c4d55a98060fff266
                       c613a9818234053038a58c777503a13382e5cc85
                       d8e40f91
       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 [a4:b4:f9:47:5a:1f:4a:5c:76:f6:4b:f0:2f:a8:ce:56:32:58:c8:39]
            modulus: d77450608dc19a5658bb45c51f3baa143a404e0be73595d2301415a5cf81ad4df0f81881c70be6ad721e8501abcc8b38d16abe65ee2e659474391e8fd1a37b05f81e7256b8e6e971075482eec0a78d67d8ea88afae80bf424ef13b42d1711c343d8e5cc5854a2c8634e4a576bcf88c32cda3342a77ac98bae57972c237200c7043c894042cebb057dde4ed5e309196bf6003030900de8232aea50fc6672cf3c64e41fc433a0287e1109cbb213cadc30a32a2226d17a7fee1e34696bf3ced604819c75c894731c5977dc8b968f2b705ea72b0820da9a85dea85d3cb2494ad922473acfed9c42c1dd956608bfaeac894e3c7bb07c61f360084a95e2b1cc5a3403b
    public exponent: 10001

]