You should now be able to access your application using an HTTPS URL.
sudo /opt/bitnami/ctlscript.sh restart nginx Refer to the FAQ for more information.ĥ.- Restart the Nginx server. Sudo chmod 600 /opt/bitnami/apps/APPNAME/conf/certs/server*Ĥ.- Open port 443 in the server firewall. Follow these steps to activate SSL support:ġ.- Use the table below to identify the correct locations for your certificate and configuration files.Ĭurrent application URL Nginx configuration file /opt/bitnami/apps/APPNAME/conf/nfĬertificate file /opt/bitnami/apps/APPNAME/conf/certs/server.crtĬertificate key file /opt/bitnami/apps/APPNAME/conf/certs/server.keyĢ.-Copy your SSL certificate and certificate key file to the specified locations.ģ.- Once you have copied all the server certificate files, you may make them readable by the root user only with the following commands: sudo chown root:root /opt/bitnami/apps/APPNAME/conf/certs/server*
Once you obtain the certificate and certificate key files, you will need to update your server to use them. On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained. NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks. You can either generate this on your own (explained here) or you can purchase one from a commercial certificate authority. Understand the default directory structure. Although this dummy certificate is fine for testing and development purposes, you will usually want to use a valid SSL certificate for production use. Placeholder with the name of your application directory.īitnami images come with SSL support already pre-configured and with a dummy certificate in place. Start or stop services Connect to MEAN from a different machine Run console commands Create and restore application backups Upload files using SFTP List. In the following steps, replace the APPNAME NOTE: The steps below assume that you are using a custom domain nameĪnd that you have already configured the custom domain name to point