Results

By type

          2022-07-06 05:35:31,069 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-07-06 05:35:32,030 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-07-06 05:35:32.858  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jul 06, 2022 5:35:34 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jul 06, 2022 5:35:35 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jul 06, 2022 5:35:35 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jul 06, 2022 5:35:35 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-07-06 05:35:35.683 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-07-06 05:35:35.977  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-07-06 05:35:36.148  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-07-06 05:35:36.977 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-07-06 05:35:36.981 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-07-06 05:35:36.982 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-07-06 05:35:36.987 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-07-06 05:35:37.041 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-07-06 05:35:37.046 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-07-06 05:35:37.237 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-07-06 05:35:38.014 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/]]}
Jul 06, 2022 5:35:38 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-07-06 05:35:39.103  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 8.909 seconds (JVM running for 10.978)
Jul 06, 2022 5:36:01 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-07-06 05:36:14.750  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-07-06 05:36:14.761 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-07-06 05:36:14.805 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-07-06 05:36:14.810 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-07-06 05:36:14.834  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-07-06 05:36:14.837  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-07-06 05:36:14.838  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-07-06 05:36:14.839 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-07-06 05:36:14.840 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-07-06 05:36:14.846 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-07-06 05:36:14.854 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-07-06 05:36:14.858 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-07-06 05:36:14.908 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-07-06 05:36:14.915 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-07-06 05:36:14.916 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-07-06 05:36:14.921 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-07-06 05:36:15.580  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-07-06 05:36:15.583  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-07-06 05:36:15.584 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-07-06 05:36:15.585 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-07-06 05:36:15.596  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-07-06 05:36:15.597  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-07-06 05:36:15.599 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-07-06 05:36:15.599 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-07-06 05:36:15.599 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-07-06 05:36:15.613 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-07-06 05:36:15.614 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-07-06 05:36:15.614 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-07-06 05:36:15.624 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-07-06 05:36:15.625 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-07-06 05:36:15.625 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-07-06 05:36:15.628 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-07-06 05:36:15.665 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: 250658815183872363155882473769762911461481016713
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Jul 06 05:33:10 UTC 2022
           Final Date: Mon Jul 05 05:33:09 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [de:d4:09:85:50:cf:b6:cc:ee:cb:9b:9f:1d:28:5f:ec:64:ca:e0:83]
            modulus: 8ce511d0173185ed1058a615d2c1c2461d8228e187fde3529bde14101ee6e24ed6d4f65d62ba148289a6fd2bf68270b8b17d9d667fdf8bd2f00843cd9e36e907894e704c8e823f27e760373981dadaae53ef4c49056dddc1aeca074f6bd1d81d44af8207e9c01ed8d943619a40494f8040b00e96194d63a6234adf2937f27df3cf7de29d28c5a7bb7e5acfef864b75ecd9bcf97e5884158cb017895845244f57442c8426a1266f7b360ae18e84f108cde643447f44f8362e5035c310a2b79a17f80239c4ec9b493a528a3b9d4fada29346ee5392882705ee0ba4a2903480f0c04f266da0c9b0324f2c30fdc0e6fe36963743fcf7fad3e40790f7eefec087d6f106b3695843487c1c75a69bfe2f36eed664ecbef8d747b87f459eb0d3678e0ec7b65d2f09943d4348fd460bd37b773bfdc5eec810d960e9931a4d04b0945791776aec2c170fd9b435296dcb6cea40b93ba8b9d3825ce627974a084001bb8a3745bf37f70397a6dd423232a807820ae442cb01f0d42e6589aa20020a1ab3b6a9bd
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 14304620010312ad59178d0f27611e4457475feb
                       287c61ab2d8e78c32e3daa4d0851ea8d8019ad9b
                       b5905e310d9184c126b3a396a1cc9f8bddf08fb3
                       82e94cb4ce8424a1e87c689f544e2e50fa33a564
                       43dd0e37710f409452ca75dc499c4c3adff276a2
                       49466a5932942ca02b6edae9eb27f2710d4abb3a
                       b6aaa0bc8ca21cf1018116620ab47dea76bca633
                       7d29a1ff0af002171246990cc9bfd726a31bd331
                       682ad66f2cf6a9da66fbf70684d8a79bf63ebc33
                       2a4614366470d3313e9d10fc3728dc70111e3c68
                       c84cb0848128a4982c39c9cae822b1de3cbb5032
                       aa2da724de4590ce6c683625e55a70d33055b4be
                       93a0ebdfa69ef0d433248cedf3e672280071ddfc
                       28439f4b2bb0dc36a04e31e5b0f5122178d0b9b5
                       ea50e2c65d332999e5a7f7d2ddeb47f8391af8c6
                       4c63487581bc4288da78ed3e5c62d9fb21cad09f
                       4826cade755ec485679a8de747816b333a8fe627
                       7431c27b70539f984607a4d89ad6f0eb14b52020
                       5490fffe67d5b276d1d4bb35826b6c68e900c861
                       369b0daf
       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 [d2:63:68:2c:00:b6:7e:e7:e3:52:b6:c9:0f:6e:69:4e:c3:af:28:6c]
            modulus: b6eb2f92b49bceb3ec2ca04e19b5b6fe167309dfe91e85f2711ad053cbe7c4875861b47ae801a3949bfc1c95e7c680c7c2efa74090fa693bd74b2a45b81ed021889da343fee0c68d9866a805a5ce95c629c3706786e22f598c7d2e7c17d311a34be87ac0978aff3e90e6e9fc0a5801f151d400adb3b940d9a5817cdc82154da9629f570aec7c66349c0dab9b118ffb82f7cf40c0cc55773fbd2648e53af1d9bc75ace8531ad3a0d622dd9b6f3f645e3d86906940caa7cee6c7a0f3cd169d2c2591f1840fcb11d3484a49b75d22d3d1edab6c9b0f2c3c4668b3300a58812ffabaf815bb111cdfc327b38ef749d9f9b53db1b81f09ff8f1ac859c631dbba21e77b
    public exponent: 10001

]