How to enable https for server?

1. Create a keystore file.

  • a. Go to JDK home.
  • b. Perform the command below to generate a keystore file:
  • keytool -genkey -keyalg RSA -alias selfsigned –keystore keystore.jks -storepass jinfonet -validity 360 -keysize 2048
  • c. Copy the keystore file to the %JReport Server%/bin.

2. Enable SSL

  • a. Log onto the JReport Administration page. The default port is 8889. (http://IP:8889)
  • b. Click Configuration on the system toolbar, and then select Service from the drop-down menu.
  • c. 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.
  • d. Specify the other settings about Keystore.
  • e. Restart server and load server page via https.