JasperReports Server includes a self-signed Secure Sockets Layer (SSL) certificate to ensure a safe, secure, and reliable connection. You can access the JasperReports Server using web services over HTTPS or HTTP.
Note: Since you can set up Jaspersoft reports or dashboards in the RiskVision user interface, you must also be able to access the JasperReports Server repository from the RiskVision application.
To install a third-party SSL certificate:
- Copy the server.crt file to the
- Navigate to the working directory with the following command:
> cd %JAVA_HOME%/
- Run the following command to import the SSL certificate:
-import -alias server.
- When the commands are successfully executed, enter the default password: changeit.
- Optional: Run the following command the check that the certificate was imported successfully:
..\lib\security\cacerts -alias server.crt
Once the certificate is installed, HTTPS is used for communication between the JasperReports Server and the RiskVision Server. To connect to the JasperReports Server over HTTP, you must make the following changes to the
agiliance.properties file, available in the
- Enable the
- Enable the
Also, change the
riskvision.host.ipaddress=<IP_Address> property to the
agiliance.properties file available in the
Jaspersoft reports sometimes need to be run in RiskVision, such as when using the RiskVision Contextual Reporting feature or running a Jasper report attached to a RiskVision tab. Jasper reports communicate with the RiskVision UI using a REST API.
The REST web service fetches the list of reports from the JasperReports Server to RiskVision when the user selects the Analytics report picker. By default, the REST web service uses a secure connection but does not validate the SSL certificate. If you want to force the Jasper REST web services to use an HTTPS connection, then you can set the property
jasper.api.SSLcertificate.validation=true and install an SSL certificate. The default value of the property is false.
You must use a fully qualified server name while using the secure connection to display the reports based on user's permissions.