# Let's Encrypt SSL Certification for Bitnami - Certbot method

**URL:** <https://onehack.st/t/lets-encrypt-ssl-certification-for-bitnami-certbot-method/84683>\
**Category:** Tutorials & Methods\
**Created:** [May 5, 2020, 2:18pm UTC](https://onehack.st/t/lets-encrypt-ssl-certification-for-bitnami-certbot-method/84683 "2020-05-05T14:18:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabha\_coder](https://onehack.st/user_avatar/onehack.st/prabha_coder/32/52939_2.png) [@prabha\_coder](https://onehack.st/u/prabha_coder)\
**Post date:** [May 5, 2020, 2:18pm UTC](https://onehack.st/t/lets-encrypt-ssl-certification-for-bitnami-certbot-method/84683/1 "2020-05-05T14:18:42Z")

</div>

# 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.
