Jump to content
We've recently updated our Privacy Statement, available here ×

Japser server http to https - How to secure Jasper Server ?


sadakar

Recommended Posts


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

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

It's not a jasperserver problem, but a tomcat setting.

Example on Windows and tomcat 6:

Edit server.xlm (ex. Program Filesjasperreports-server-proapache-tomcatconfserver.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 FilesJavajre6binkeytool.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 Settingstomcat)

restart tomcat service

Link to comment
Share on other sites

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 Settingstomcat))

 

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 Settingstomcat ?

 

Thank you.

 

 

 

 

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...