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
- Update packages using below command.
sudo apt update
- Run below command to install certbot
sudo apt install certbot
- 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
- 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”
- Restart apache server.
sudo /opt/bitnami/ctlscript.sh restart apache
- If you didn’t see any error’s that’s it.
I hope it’s helpful.