Enable SSL/HTTPS settings in the Tomcat of Jasper Server

Posted on by By admin, in Jaspersoft | 0



Without enabling ssl in the tomcat application, we can access the jasper server using http only like below

http://localhost:8080/jasperserver-pro

To add the security feature to the tomcat, we should enable ssl in the tomcat using the valid certificate.

To enable the SSL assume we have the valid certificate to add in the tomcat configuration.

Below are the details for setting up the SSL in the Jasper server

1. Open server.xml file from the below location

\jasperreports-server-7.9.0\apache-tomcat\conf

2. Currently we have http enabled with a default port and we can see the connector like below

< Connector port="8080" URIEncoding="UTF-8" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" compressibleMimeType="text/html,text/xml,text/css,text/javascript,application/json,application/javascript" compression="on" compressionMinSize="128" noCompressionUserAgents="gozilla,traviata"/>

3. Add new connector for https to enable SSL with the configuration like below

< Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" scheme="https" secure="true" SSLEnabled="true" clientAuth="false" sslProtocol="TLS" keystoreFile="" keystorePass="" keystoreType=”” />


Make data easy with Helical Insight. Helical Insight is world’s best open source business intelligence tool.

Click Here to Free Download

Ex:

< Path of the certificate file > -> D:\Files\cert.jks or D:\Files\cert.pfx

< password > -> 123

< storetype > -> PKCS12 or jks

4. Restart the jasper server

5. Login to jasper application with https url. We can login to the jasper server with both http and https

http://localhost:8080/jasperserver-pro

https://localhost:8443/jasperserver-pro



Thank You

Ramu

Helical IT Solutions Pvt Ltd

logo

Best Open Source Business Intelligence Software Helical Insight is Here

logo

A Business Intelligence Framework

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments