Dear Team,
What are the steps to follow to make jasper server URL
from http://localhost:8080/jasperserver-pro
to https://localhost:8080/jasperserver-pro
What is keystroke file & how to generate it & make it work with Jasper server to make it secure ?
Thanks in Advance.
Sadakar
BI developer
3 Answers:
It's not a jasperserver problem, but a tomcat setting.
Example on Windows and tomcat 6:
Edit server.xlm (ex. Program Files\jasperreports-server-pro\apache-tomcat\conf\server.xml)
and uncomment or insert
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<Connector protocol="org.apache.coyote.http11.Http11Protocol"
port="8443" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
(8443 is the port for SSL; I don't think you can use 8080 if it's used as normal HHTP port)
set the tomcat service to be started using a defined user.
exec keytool.exe -genkey -alias tomcat -keyalg RSA (ex. Program Files\Java\jre6\bin\keytool.exe)
using "changeit" as password
this will create a .keystore file that you must copy in home directory of the user starting the tomcat service (ex. Documents and Settings\tomcat)
restart tomcat service
Thank you.
How to do it in Cent OS or linux for the last point ?
(this will create a .keystore file that you must copy in home directory of the user starting the tomcat service (ex. Documents and Settings\tomcat))
home directory of tomcat ?? Is it not the home of jasper tomcat where we can find startup.bat file ? Or should it be Documents and Settings\tomcat ?
Thank you.