Results

By type

          2022-07-06 03:23:39,090 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 03:23:40,545 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 03:23:41.478  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Jul 06, 2022 3:23:44 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Jul 06, 2022 3:23:44 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Jul 06, 2022 3:23:44 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Jul 06, 2022 3:23:44 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-07-06 03:23:45.043 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-07-06 03:23:45.572  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-07-06 03:23:45.816  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 03:23:46.762 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-07-06 03:23:46.766 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 03:23:46.768 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-07-06 03:23:46.773 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 03:23:46.826 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-07-06 03:23:46.833 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 03:23:47.012 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-07-06 03:23:47.828 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 3:23:48 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-07-06 03:23:49.164  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 11.315 seconds (JVM running for 13.999)
Jul 06, 2022 3:24:13 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-07-06 03:24:24.013  INFO 1 [nio-8443-exec-3] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-07-06 03:24:24.024 DEBUG 1 [nio-8443-exec-3] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-07-06 03:24:24.068 DEBUG 1 [nio-8443-exec-3] .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 03:24:24.073 DEBUG 1 [nio-8443-exec-3] .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 03:24:24.101  INFO 1 [nio-8443-exec-3] .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 03:24:24.104  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-07-06 03:24:24.106  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-07-06 03:24:24.107 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-07-06 03:24:24.108 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-07-06 03:24:24.113 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-07-06 03:24:24.120 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-07-06 03:24:24.123 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-07-06 03:24:24.177 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-07-06 03:24:24.182 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-07-06 03:24:24.183 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-07-06 03:24:24.187 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-07-06 03:24:25.070  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-07-06 03:24:25.073  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-07-06 03:24:25.074 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-07-06 03:24:25.076 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-07-06 03:24:25.087  INFO 1 [nio-8443-exec-3] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-07-06 03:24:25.088  INFO 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-07-06 03:24:25.089 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-07-06 03:24:25.090 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-07-06 03:24:25.090 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-07-06 03:24:25.103 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-07-06 03:24:25.104 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-07-06 03:24:25.104 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-07-06 03:24:25.111 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Retrieving certificate of type class java.security.cert.X509Certificate from byte array.
2022-07-06 03:24:25.112 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-07-06 03:24:25.112 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-07-06 03:24:25.114 DEBUG 1 [nio-8443-exec-3] 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 03:24:25.156 DEBUG 1 [nio-8443-exec-3] o.o.o.c.c.i.CmpResponseHelper            : Certificate verify result:PKIXCertPathValidatorResult: [
  Trust Anchor: [
  Trusted CA cert:   [0]         Version: 3
         SerialNumber: 166728562549757016066061585686391873741584172858
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Wed Jul 06 03:21:12 UTC 2022
           Final Date: Mon Jul 05 03:21:11 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [a0:03:54:75:22:7f:3d:f1:4f:84:35:a5:bc:79:e4:7f:b1:34:84:3f]
            modulus: 97adcd709802f818bb66c150cde8cd8ddbe207ae38b918330c9991f993dde5e79b4608a490f1adf6b6284d94d68cb1a810756e7a4d0f155e345fef72a1321caf64de1326d176110b74175327281d4d2a8a81f2de3f001d12f559a67add154269f2ce00c3324a8b70e90e8071ea1b236438f38f7eb498e2b9b56a267af3c86603e5350029d5237784ba3a23008b08ae89674197490b0be4ed55bb66722aab0269f593aac8a58dabe72a56b07d1efe5ed6671e2527cf26dbe367f42b3cf7f5c117f80336d482433664625a280b56008830ab6124431fc3edce04ac2d168066f573ff65e8436813c4a3a40f6d9d4295f34fb31bffb1ba1856698a643e4ade72d8c409116318e3906c55759e23ee4dd4b4d259a57ea2927e157e98b5ed4f8722b0f053abaed979e03236ae9213f607cf38c106fa299babb1a5368fd0be087e70889b915ed3012741d41f7f987da9d513c4ede3995433b861a957bc3e342cd9f6b54276355c78e36cf16b99729b7d079f7da79b88e55a3f8d831c81bb2449425f0e05
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 1be451a07dbd5d110a2f3de02d6463af84723665
                       42de7623aa53eb02d8d4a3a801c24ce3aacbc49a
                       434c2b468fcaa9fa6db7238804e9d897d07a3e9b
                       46efdbd04848cdba691b9f83f54e9215a50456df
                       1a69e0fc59f33152439f6c67bf8cf8e9e1a3694e
                       20944c4af3ca88b14e8a9d029a18834e82fae6f7
                       c892b5870b291bcf96cb3ea75762fab2a46e7574
                       bd4fb7451db90d8cd6003bdd2a7a138b28821467
                       6012e7974bd300a448a7bca1904c16005555d37e
                       5f052acb8fa740cb4509e855cd930606876c4d78
                       cdae5d32ae0d8e10bf63222014790cd34ee28c43
                       0f5ce10bc7f1c8a9a62803502f9db5cc26804353
                       617561854f135b56ef8e3fc6c66fa215563f3983
                       0b0291f6717af1dbf3f92bdfb740500f7930216f
                       8be2f088bd4aa1d7c73f0d6d1411b6eab67f7d8c
                       1e8a5321c8b62902877a130126f18d9f1d8ea2e5
                       bf76c43ffd869521f0e48463a069792c4318fb6b
                       b56b12d4e3fb0ecbbd22e69ef22ccf0696f948d5
                       fa86c8b70f13417cef8ed4620d1aef5d584df1af
                       2a9ca010
       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 [12:23:5d:52:ea:58:eb:b2:20:d8:e2:c9:f5:a6:ae:29:1e:c1:1a:aa]
            modulus: cc7e347fb2998115eae4d05883d94d8153303ff4d71ccf75601d9ab98227bacde7809642a3e04a6566935cf0ac79fb0f520e5a5a1d90c22bb0d1372d6fe6d69022a8a091314955a7ea6ba0557003c67fb94f55881d710956fb190fb48bedc0d6ced4f06f3be6682de0fec51145becd3fd44463c12ce39a8782c1d95e9bd40d346a6cd9f773445e023ed7ae7530f3b5015680b76e9e202cd4cea2831fe465dd9dd4a8fd2a999038a6b2ab494fcf39294cc96194ce9bbde97caeb16fda3f8b0bcdd2507569fce9a68bec46801bb73f1fca9afaef2536a3cb51e42cc0a20cb6557c18b7b7e8e175d710706a26d83efc65859c287d63dd1bbbe113b1aa8f0f21cce7
    public exponent: 10001

]