Results

By type

          2022-02-04 23:14:43,371 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-02-04 23:14:44,080 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-02-04 23:14:44.656  INFO 1 [           main] o.s.b.SpringApplication                  : No active profile set, falling back to default profiles: default
Feb 04, 2022 11:14:46 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["https-jsse-nio-8443"]
Feb 04, 2022 11:14:46 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Feb 04, 2022 11:14:46 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.56]
Feb 04, 2022 11:14:46 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2022-02-04 23:14:46.764 DEBUG 1 [           main] o.j.l.LoggerProviders                    : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2022-02-04 23:14:47.036  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : Loading initial configuration
2022-02-04 23:14:47.174  INFO 1 [           main] o.o.o.c.c.c.CmpServersConfig             : CMP Servers configuration successfully loaded from file /etc/onap/oom/certservice/cmpServers.json
2022-02-04 23:14:47.773 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReloadConfigController:
	{GET [/reload], produces [application/json]}: reloadConfiguration()
2022-02-04 23:14:47.776 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-02-04 23:14:47.777 DEBUG 1 [           main] o.s.w.s.h.AbstractHandlerMethodMapping   : 
	o.o.o.c.a.ReadinessController:
	{GET [/ready], produces [application/json]}: checkReady()
2022-02-04 23:14:47.780 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-02-04 23:14:47.815 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-02-04 23:14:47.818 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-02-04 23:14:47.916 DEBUG 1 [           main] w.s.h.AbstractDetectingUrlHandlerMapping : 'beanNameHandlerMapping' {}
2022-02-04 23:14:48.447 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/]]}
Feb 04, 2022 11:14:48 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["https-jsse-nio-8443"]
2022-02-04 23:14:49.085  INFO 1 [           main] o.s.b.StartupInfoLogger                  : Started CertServiceApplication in 6.255 seconds (JVM running for 7.678)
Feb 04, 2022 11:15:16 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-02-04 23:15:35.798  INFO 1 [nio-8443-exec-4] o.o.o.c.a.CertificationController        : Received certificate initialization request for CA named: RA
2022-02-04 23:15:35.812 DEBUG 1 [nio-8443-exec-4] .c.c.c.Pkcs10CertificationRequestFactory : Creating certification request from pem object
2022-02-04 23:15:35.907 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-02-04 23:15:35.912 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-02-04 23:15:35.932  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-02-04 23:15:35.934  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validate before creating Certificate Request for CA: RA
2022-02-04 23:15:35.935  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Validation completed successfully.
2022-02-04 23:15:35.937 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-04 23:15:35.938 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-04 23:15:35.942 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random integer
2022-02-04 23:15:35.949 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Extensions from Subject Alternative Names
2022-02-04 23:15:35.952 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpMessageHelper             : Generating Optional Validity from Date objects
2022-02-04 23:15:35.996 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating a Pki Header Builder
2022-02-04 23:15:36.000 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-04 23:15:36.001 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating random array of bytes
2022-02-04 23:15:36.004 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-04 23:15:36.491  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Received response from Server
2022-02-04 23:15:36.493  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Response type is: INIT_REP 
2022-02-04 23:15:36.494 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Verifying signature of the response.
2022-02-04 23:15:36.495 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpUtil                      : Generating array of bytes representing PkiHeader and PkiBody
2022-02-04 23:15:36.503  INFO 1 [nio-8443-exec-4] o.o.o.c.c.v.CmpCertificationValidator    : Response status code: 0
2022-02-04 23:15:36.504  INFO 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpClientImpl                : Verifying certificates returned as part of CertResponse.
2022-02-04 23:15:36.505 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-02-04 23:15:36.505 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-04 23:15:36.505 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-04 23:15:36.517 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-02-04 23:15:36.517 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-04 23:15:36.518 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-04 23:15:36.523 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-02-04 23:15:36.523 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Parsing X509Certificate from bytes with provider BC
2022-02-04 23:15:36.524 DEBUG 1 [nio-8443-exec-4] o.o.o.c.c.i.CmpResponseHelper            : Creating certificate Factory to generate certificate using provider BC
2022-02-04 23:15:36.525 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-02-04 23:15:36.551 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: 115578788183472283560161680893113515382786268967
             IssuerDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Start Date: Fri Feb 04 23:12:43 UTC 2022
           Final Date: Wed Feb 04 23:12:42 UTC 2032
            SubjectDN: UID=12345,CN=ManagementCA,O=EJBCA Container Quickstart
           Public Key: RSA Public Key [9e:45:89:21:a0:91:ec:86:52:ed:96:97:be:b8:d6:e0:1b:90:e1:d4]
            modulus: bd9b5cf607238b376a8d248561dafbb43206362bf7d756767fd342ab6e1877ac51521fa19a8d75e035cb8b24a94126e3fb9dc3c40168a6044ec9127ab59d1595ba1d86b31a826b5b6e7a8677c72627cbcbd47d69098d960bb65364247873ab51599d7b742a87439972e95af5fa22c8852b5c0b839a705bd2c825edd59481761ec7c2bb8e400d77008aa2c73253c15e5185e051b18d87a74840dd23e9b6199055abad478ec910b457a3b14b4523461af0debec6672cea68e7fcd7c608aa424cd13091f8ca696124ff0d7b8f0aeb0adbf515a185e18f322b1f4c85ecf69bca1507672b2b38ba4b21424501c0ac7d63d083cb260db19f55ead9c3a36b198fa8fa53f33dc5378a2438036a84ec894243b4b9707858c4f289c56d039a953c479f647578503fc5dc7c1f8218b0aa85dfc56581a5496a0564a0bdc1514b9422944c7be17d6051b70e7ed458503fa40a0f39c0bb118e5d25b97661e0c3a295ad84133ab18868049199529953cb10275bb3c04ddb517a3ef09fba37310aaed1779315727f
    public exponent: 10001

  Signature Algorithm: SHA256WITHRSA
            Signature: 540db10631214b0ce05da733a32f74f4b454375d
                       051d129b1167874647304e8e9b37af5ddd7050a2
                       b10f1769555a62706bb5a05eebb6706dba1f8b65
                       c0e8a0c08f8aa9fba82d2487bec63f4f0dc0ba13
                       5beb88ed6dce23190a0144a8e2b9ae2729276ee3
                       f11d9b72c6f38deb0b10c89903450ff3deea336f
                       60f421ff032473e98a621ae8e28bcf267e595f79
                       fba1a67dba6a5ed4374978a2f652720c61b75e80
                       1141afe4cf234822884e33dbc9e82d3c6d7b5c2b
                       f8fd4e0f61fcba76e70f2891f05e6e64578b977d
                       1abdb9d0812e968cbcda3b26197511ba0e3284cc
                       b0700978714eae96e37d667082fea5ae55ff50ee
                       9455f5e4b463c89c660504b395b638cc7924ca07
                       9ddbe404a2a47bc4c81ac3def2c409a08ebb3dbd
                       58cd0105ccf4ab2fbdf32cfaec5412a87dc25589
                       61a71a0c5926955b0ba26ff8d5bb4b87bb16be9c
                       63649e737f8e73f8e8f4d35248723c431e710ba5
                       06f5e1198865d45091923db54be2da89ad75546c
                       b404025ba0e3a5e18acda627430040f1e27bb99c
                       f9ab2f87
       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 [7c:24:6d:a2:ab:a9:8a:3c:d7:45:81:b3:20:13:bf:0e:ec:8d:43:ff]
            modulus: 94ec67017b0c6d3f43168ffa7ee8d2d7a1019cd23e0ea87fae57fcde2583c5ee7ae2f51aef5362556f7da207580531b4f1b4cf74218e5a81057cefc8baacef2caae3f704bbbd232c8b8dfccdd1691163c0d35ffb8627aaea3d6d675beae3b9deb55898d27ec9dcbd1b9c3c7372b738b5d0d029f41feaab2e22ca85351b0d0ca5b215676627f4f5c8dc3820a7bc260927fdf720f5e715962be16e8b16124ee7674d46974a8cd17642ab33829948d261f616edf5b96ec562a938fc57a8d123744f0604a5b33c1ee579576ca5c83160e86269ee363e558f6d5b548ff8a904e7b4169c5c27434bb7958581a5db2949a4860537bb0514d5c9258b0391b92a6c0fbea5
    public exponent: 10001

]