How to install Let’s Encrypt SSL certificates in AWS Lightsail Bitnami WordPress

REQUESTING THE OSE FREE SSL CERTIFICATES

If you haven’t requested the free SSL certificates, please follow this tutorial to request a free SSL certificate with OSE Free SSL plugin from Let’s Encrypt.

Part 1. How to request free SSL / TLS certificates for your WordPress website



INSTALL THE FREE SSL CERTIFICATES

At this point, you should have received the certificate package after setting up the plugin and requesting SSL. Download the attachment in the email to your PC and extract the package. There are three files in the zip file, here we use aws-test.opensource-excellence.com as example, so we have the following three files:

  • aws-test.opensource-excellence.com.crt
  • aws-test.opensource-excellence.com.key
  • chain.crt

Follow the instructions below to install the certificates into your Bitnami WordPress image.

  • Login your AWS Lightsail account and click the Connect tab
  • Scroll down to the ‘Connect securely using your browser’ section

At the bottom of the page, click the link ‘Account page’

On the next page, download the private key

Next install the new certificate:

  • Open Filezilla
  • Config the SSH connection according to the screenshot.
  • Set username as bitnami
  • Choose the downloaded private key as the key file
  • Upload the three certificates files to the /opt/binami/apache2/conf folder
  • Next browse to the /opt/binami/apache2/conf/bitnami folder
  • Download the file bitnami.conf
  • Go to the VirtualHost _default_:443 section
  • Change the SSLCertificateFile path to “/opt/bitnami/apache2/conf/aws-test.opensource-excellence.com.crt” (please change the actual file name you just uploaded)
  • Change the SSLCertificateKeyFilepath to “/opt/bitnami/apache2/conf/aws-test.opensource-excellence.com.key”
  • Add the SSLCertificateChainFile and set its path to “/opt/bitnami/apache2/conf/chain.crt”
  • Save the file and upload it back to the server
  • Reboot WordPress and wait for the server to restart
  • Check your website in https protocol, e.g. https://aws-test.opensource-excellence.com in this case
  • The navigation bar now becomes green
  • You can check the detail of the certificate as well
  • That’s it, enjoy the Free Let’s Encrypt SSL certificates with OSE Free SSL WordPress plugin



SECURE YOUR WEBSITE NOW

Take full advantage of the Free SSL revolution and add an extra layer of security for your website now.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

+1
Share
Tweet
Share