Adding Letsencrypt SSL

By Adrian | October 13, 2018

Adding a digital certificate from LetsEncrypt was not to hard to achieve. Instead of reinventing the wheel there were 2 documents that I followed from the Bitnami support pages.

The high level steps are taken from this link https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/

  1. Download the lego client
  2. Generate a certificate supplying your email address and domain
  3. Configure the web server to use the new certificate
  4. Restart the web server
  5. Test to ensure you have the certificate installed correctly
  6. Setup auto renewal via crontab

certificate

The next thing I went about doing is ensuring that http is redirected to https. Fortunately Bitnami have a link for this as well.

https://docs.bitnami.com/aws/apps/wordpress/administration/force-https-apache/

This basically required editing the following config file: /opt/bitnami/apache2/conf/bitnami/bitnami.conf