Enabling an HTTPS Connection
Use these instructions to enable the HTTPS connection on each server.
To enable an HTTPS connection, do the following:
-
Obtain and implement a Secure Site SSL certificate. You can purchase an SSL certificate or generate a self-signed certificate. Consult one of the following sections:
Obtaining and Implementing a Purchased Secure Site SSL Certificate
-
Edit the
<CODEINSIGHT_ROOT_DIR>\tomcat\bin\catalina.batfile (or thecatalina.shfile depending on your operating system):set -Dcodeinsight.ssl=true (default value is false) -
Back up the
<CODEINSIGHT_ROOT_DIR>\ ``tomcat\conf\server.xml fileto another directory (outside of theconfdirectory). -
Copy
server.xmlfrom<CODEINSIGHT_ROOT_DIR>\tomcat\https to<CODEINSIGHT_ROOT_DIR>\tomcat\conf. The newserver.xmlfile contains a default configuration that references a keystore at<CODEINSIGHT_ROOT_DIR>\tomcat\codeinsight.jks. You will need to update this information as needed for your certificate, as described in step 7. -
In the
server.xmlfile, locate the following text, and ensure that the SSLEngine value ison:
-
Obtaining and Implementing a Purchased Secure Site SSL Certificate
-
Generating and Implementing a Self-signed Certificate
<Listener
className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
-
In the
server.xmlfile, locate for the following text that introduces the section describing the SSL certificate:FNCI SSL: Edit this section to match your certificate information.-
This section shows the default values for the certificate:
noteFor security purposes, do not change the default value "TSLV1.2" for the sslEnabledProtocols parameter in this SSL section. Additionally, the “ciphers” value in this section can change over time. Revenera will notify you of any changes to this value so that you can manually update the value here.
-
-
Update the following parameters in this section to reflect your installed SSL certificate information:
-
keystoreFile—The file name of the keystore containing the certificate
-
keystorePass—The password of the keystore
-
keyAlias—The alias for the certificate entry in the keystore
-
keyPass—The password for the certificate entry
noteIf the keystore and alias passwords are the same, you can specify keyPass, keystorePass or both.
-
-
Ensure that the value for the
cipherparameter is up to date. If a new set of ciphers is introduced in TLS v1.2, Revenera will notify you and provide you with the new set so that you can replace the currentciphervalue. (Update theserver.xmlfile found only in<CODEINSIGHT_ROOT_DIR>\tomcat\https.) -
Restart the Tomcat server after making changes to the
server.xmlfile or to a keystore. For more information, see Enabling Secure HTTP Over SSL.