Set up Apache for SSL encryption

To force all CollabNet TeamForge traffic to use SSL encryption (HTTPS), state that preference in your configuration file.

  1. Back up your existing /etc/httpd/conf/httpd.conf file.
  2. Update the /opt/collabnet/teamforge-installer/<release-number>/conf/site-options.conf file to support SSL.
    1. Set the value of the SSL variable to on.
    2. Set the value of the SSL_CERT_FILE variable to the location of the file that contains your site's SSL certificates.
      • SSL_CERT_FILE=www.example.com.crt
    3. Set the value of the SSL_KEY_FILE variable to the location of the file that contains your site's RSA private keys.
      • SSL_KEY_FILE=www.example.com.key
      Important: Select a location for your cert file and your key file that is permanent across restarts. Don't use a temp directory that can be wiped out.
  3. Rename the /etc/httpd/conf.d/ssl.conf file to /etc/httpd/conf.d/ssl.conf.old, if it exists.
  4. Recreate the runtime environment.
    • ./install.sh -V -r -d <SITE_DIR>
  5. Rename the /etc/httpd/conf/httpd.conf.cn_new file to httpd.conf.
  6. Restart the Apache service.
When you point your browser at CollabNet TeamForge , it should now automatically redirect to HTTPS traffic.