
SSL in standalone JReport Server
JReport Server supports HTTPS requests in standalone mode. Secure ports for HTTPS requests should use different ports from non-secure ports for HTTP requests. By default, port 6888 and 6889 are set as the secure ports separately for accessing JReport Console UI and JReport Administration UI. The URL for visiting JReport Server via HTTPS schema is like this:
https://IP_address or localhost:6888
SSL support is disabled by default. You need to enable it and configure corresponding settings in order to use HTTPS schema to visit JReport Server UI. This can be done either on the JReport Administration page or in the server.properties file located in the <install_root>\bin
directory.
To enable SSL function via the administration UI:
- Log onto the JReport Administration page. The default port is 8889.
- Click Configuration on the system toolbar, and then select Service from the drop-down menu.
- Check the Enable Secure Socket Layer Connection option.
- Make sure that Secure Port and Secure Administration Port use different port numbers from Port and Administration Port.
- Specify the other settings about Keystore.
- Click Save.
- Restart JReport Server in order for the settings to take effect.
To enable SSL function in the server.properties file:
- Open the server.properties file located in the
<install_root>\bin
directory.
- Set httpserver.ssl.enable to true.
- Set the other properties starting with httpserver.ssl to meet your requirements.
- Save the server.properties file.
- Restart JReport Server in order for the settings to take effect.
Notes:
- JReport does not provide a keystore file since Jinfonet is not a trusted certificate authority and just provides a Keystore File Path option for you to configure the location of your trusted keystore file. There are many trusted authorities that can provide keystore files. Sun is one of them. Here is an example of creating a keystore file provided by Sun: http://docs.sun.com/app/docs/doc/819-4674/gdwpf?l=zh_TW&a=view.
- JReport Server Monitor does not support SSL.
