SSL INSTALL INFO:

First login to SSH and type:

sudo openssl genrsa -out /opt/bitnami/apache2/conf/server.key 2048

Then type:

sudo openssl req -new -key /opt/bitnami/apache2/conf/server.key -out /opt/bitnami/apache2/conf/cert.csr

Now type:

sudo nano /opt/bitnami/apache2/conf/cert.csr

COPY THE CONTENTS of this file and paste to your SSL provider when they ask you for the CSR.

Once you get the cert from your SSL provider, then type:

sudo nano /opt/bitnami/apache2/conf/cert2.crt

Paste the contents of your SSL certificate from your SSL provider in this file. Then type:

sudo nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf

Simply change the line that links to your SSL cert that is currently server.crt and change to cert2.crt

Then:

sudo /opt/bitnami/ctlscript.sh restart apache

Force HTTPS through a plugin and/or do it through your .htaccess file:

Example:RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

note: change above URL to your domain

You can use comodo SSL for 90 days for free.

If you want a totally free SSL, you can use the one provided by Amazon. It’s free and renewable.

  1. Login to your AWS
  2. go to your Certificate Manager and request for SSL
  3. Use your Amazon registered SSL to your ELB Listener port 443 (HTTPS)