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, ports 6888 and 6889 are set as the secure ports separately for accessing the JReport Server user console and administration console, respectively. 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 the HTTPS schema to visit the 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 via the JReport Administration page:

  1. On the Configuration – Service page, check the Enable Secure Socket Layer Connection option.
  2. In the Secure Port text box, input a port used for visiting the JReport Console page via the HTTPS schema. It should be different from the port for the HTTP schema.
  3. In the Dashboard Secure Port text box, input a port used for visiting JDashboard via the HTTPS schema. It should be different from the Dashboard port for the HTTP schema.
  4. In the Secure Administration Port text box, input a port used for visiting the JReport Administration page via the HTTPS schema. It should be different from the Administration port for the HTTP schema.
  5. In the Keystore File Path text box, input the location of your trusted keystore file.
  6. In the Keystore Password text box, input the password used to protect the integrity of the keystore.
  7. Select the type of keystore to be instantiated from the Keystore Type drop-down list. The valid values are JKS and PKCS12.
  8. Select the encryption/decryption protocol to be used on the socket from the Keystore Protocol drop-down list. The valid values are SSL and TLS.
  9. Select the X509 algorithm to use from the Keystore Algorithm drop-down list. This defaults to the Sun implementation (SunX509). For IBM JVMs you should use IbmX509.
  10. Click Save on the page, then restart JReport Server in order for the settings to take effect.

To enable SSL in the server.properties file:

  1. Open the server.properties file located in the <install_root>\bin directory.
  2. Set httpserver.ssl.enable to true.
  3. Set the other properties starting with httpserver.ssl to meet your requirements.
  4. Save the file, then 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. Here is an example of creating a keystore file: http://docs.oracle.com/cd/E19509-01/820-3503/ggsxx/index.html.
  • JReport Server Monitor does not support SSL.