ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Configure Jasper Reports for SSL


Article ID: 194448


Updated On:


CA Spectrum CA eHealth


Configure Jasper Reports for SSL

The documentation located at discuss how to configure SSL for Jasper. However, the are written for Jasper installed on Windows.

The following instructions can be used for either Windows or Linux


Release : Jasper 6.x

Component : SPCJSP


1.     Change directory to<jasperreports_home>/tomcat/custom/keystore (Here <jasperreports_home>= /opt/CA/CABI)

2.     keytool -genkeypair -keystore <keystore_file_name> -storepass <StorePassword> -keyalg RSA -keysize 2048 -keypass <KeyPassword> -alias <Alise_name> (add -ext san=dns:<CNAME> for CNAME in DNS)

3.     keytool -exportcert -keystore <keystore_file_name> -storepass <StorePassword> -alias <Alise_name> -file <filename>.cer (add -ext san=dns:<CNAME> for CNAME in DNS)

4.     keytool -certreq -keystore <keystore_file_name> -storepass <StorePassword> -alias <Alise_name> -keypass <KeyPassword> -file <csr_filename>.csr

5.     Shared the csr with CA for the certificate.

6.     Imported the Root-CA and Intermediate-CA using the commandkeytool -importcert -keystore <keystore_path>/<keystore_file_name> -storepass <StorePassword> -alias <Root/Intermediate-CA> -file <Root/Intermediate-CA>.cer

7.     Imported the crt file received from CA usingkeytool -import -trustcacerts -keystore <keystore_path>/<keystore_file_name> -storepass <StorePassword> -alias <Alise_name> -keypass <Keypassword> -file <crt_file_name>.crt

8.     Updated the keystore file name in tomcat/bin/server.xml file and restarted the tomcat.