Setting up Let’s Encrypt SSL on Bitnami WordPress (Multisite & Standard)

There are countless different ways to set up Apache and WordPress and SSL, but here is one way set up Let’s Encrypt certs on a Bitnami WordPress using the WP Encrypt plugin install if you have SSH access to the server and know how to use it. I don’t think I’ll continue to use the Bitnami stack but here is a thing I did while I was.

Back things up etc before you go changing things. Even better, do this on a test thing first. Things.


Bitnami provides a “stack” of apache and wordpress that makes it fairly easy to get a site going. There are pros and cons to using their stack. One pro is that they have easy installers on AWS Marketplace, so that may be how many people wind up using it. In any case, once you are using Bitnami WordPress, you may want to use Let’s Encrypt certs in a way that requires the least tinkering.

Let’s Encrypt

A full write-up is deep and way beyond the scope of this post, but Let’s Encrypt provides free easy SSL certs so the internet can be a more secure place. For more, see: About Let’s Encrypt.

WP Encrypt

Assuming your WordPress is configured correctly using your own domain(s), install the WP Encrypt plugin. Then use it to install Let’s Encrypt cert(s)

wp encrypt setup screen

Fill in the fields, check Auto-generate to make it magic, then Register then Generate. You will be presented with the paths to all of the certificates. If you’re using Multisite WordPress, the separate domains will all be registered as Subject Alternative Names for the main domain. If this doesn’t work for you, use CertBot or something instead. ¯_(ツ)_/¯

On the server

The way Bitnami configures its stack, apache is not in the normal location and is not configured the normal way. This is a pain, but it’s easy to design around.

Get into the file /opt/bitnami/apache2/conf/bitnami/bitnami.conf and add the SSLCACertificateFile line after the other SSL options:

Then link the apache certs, including the chain you added.

Then restart Apache via Bitnami