Anaconda Enterprise: Documentation

# Enabling HTTPS

Before you begin, purchase an SSL certificate and download the SSL `*.cert` file and SSL `*.key` file.

NOTE: If security is not an issue, for testing, you may set up a self-signed SSL certificate. For more information, see http://www.selfsignedcertificate.com/.

1. Save the SSL `*.cert` file and an SSL `*.key` file in your home directory.

2. Configure the server to use those keys and the correct ports:

       anaconda-server-config --set ssl_options.keyfile ~/localhost.key
       anaconda-server-config --set ssl_options.certfile ~/localhost.cert
       anaconda-server-config --set port 8443

3. Restart your server for the changes to take effect:

       supervisorctl restart all

4. To test, navigate to the site using `https` in the address bar.

   NOTE: If you use a self-signed SSL certificate, your web browser issues a warning that the website certificate cannot be verified.