How to install Let’s Encrypt SSL Certificate for Bitnami WordPress on Linux

Date: 02-09-2020

Step – 1: Connect to your server or VM instances as root via SSH.
#ssh root@your server IP and port

Trademark Policy - Let's Encrypt - Free SSL/TLS Certificates

Step -2: Enter the following comment and then press enter to generate the SSL Certificate for the domain.

# /opt/bitnami/letsencrypt/scripts/ -m -d -d

Note:- You need to replace “” with your email address and instead of “” use your domain.

Step – 3: You will be prompted with three different questions, press “Y” and then press the Enter button.

Step – 4: After the SSL certificate configuration, use the following command to open the bitnami.conf file for editing.

# nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf

Step – 5: You can copy and paste the below mentioned three lines on bitnami.conf file. Finally, save and exit the file.

RewriteEngine On 
RewriteCond %{HTTPS} !=on 
RewriteRule ^/(.*)$1 [R,L]

Note:- You need to replace instead of “” use your domain.

Step – 6: You will need to restart the apache service for changes to take effect. Please use the following command.

# /opt/bitnami/ restart apache

Thank you!

Leave a Reply