Let's Encrypt SSL Certification for Bitnami - Certbot method

SSL-Activation for Bitnami Certbot method

1.Certbot is not available in the default ubuntu repository. Run the below command to add ppa repository.

sudo add-apt-repository ppa:certbot/certbot

  1. Update packages using below command.

sudo apt update

  1. Run below command to install certbot

sudo apt install certbot

  1. Activate Domain and Wildcard generation.

$ sudo certbot certonly --manual -d *.example.com -d example.com --agree-tos --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory

5.In these above command running , you have to verify DNS TXT in records for acme challenge and wait for TTL

  1. Now create or edit the Virtual host for configuration.

sudo nano /opt/bitnami/apps/wordpress/conf/httpd-vhosts.conf

Change the server name and alias. and configure path of certfile location.

8.Change Bitnami Vhost into the file.

sudo nano /opt/bitnami/apache2/conf/bitnami/bitnami-apps-vhosts.conf

adding this line on bottom

Include “/opt/bitnami/apps/wordpress/conf/httpd-vhosts.conf”

  1. Restart apache server.

sudo /opt/bitnami/ctlscript.sh restart apache

  1. If you didn’t see any error’s that’s it.

I hope it’s helpful.

5 Likes