Install LetsEncrypt Certificate on AWS Bitnami Instance
- Install Certbot: https://certbot.eff.org/
- Download LetsEncrypt Certificate for your domains:
sudo certbot certonly --webroot -w /opt/bitnami/apps/wordpress/htdocs/ -d **domain.com** -d **www.domain.com** --post-hook="/opt/bitnami/ctlscript.sh restart apache"
- Edit
/opt/bitnami/apache2/conf/bitnami/bitnami.conf
:sudo nano /opt/bitnami/apache2/conf/bitnami/bitnami.conf
- Edit
SSLCertificateFile
to point to/etc/letsencrypt/live/**domain.com**/fullchain.pem
- Edit
SSLCertificateKeyFile
to point to/etc/letsencrypt/live/**domain.com**/privkey.pem
- Edit
- Restart apache:
/opt/bitnami/ctlscript.sh restart apache
Written on August 14, 2018