Skip to content

How do I install an SSL certificate from Let's Encrypt on a Bitnami stack that's hosted on Amazon Lightsail?

1 minute read
0

I want to install an SSL certificate for my website in an Amazon Lightsail instance that has a Bitnami stack.

Resolution

To install a Let's Encrypt SSL certificate for websites that are hosted in a Lightsail instance with a Bitnami stack, use Bitnami's HTTPS configuration tool. The HTTPS configuration tool automatically performs the following procedures:

  • Configures HTTPS certificates on Bitnami stacks
  • Creates automatic certificate renewals
  • Sets up HTTP to HTTPS redirections

To launch the Bitnami HTTPS configuration tool, run the following command:

sudo /opt/bitnami/bncert-tool

Note: Make sure that the domain in the DNS records points to the IP address of your Lightsail instance.

Note: You can't use the bncert-tool command to create wildcard certificates. See How do I install a wildcard Let's Encrypt SSL certificate in a Bitnami stack hosted on Amazon Lightsail?

Related information

How do I install a standard Let's Encrypt SSL certificate in a Lightsail instance that doesn't use a Bitnami stack?

How do I install a wildcard Let's Encrypt SSL certificate in Amazon Lightsail?

AWS OFFICIALUpdated 6 months ago
3 Comments

This WON'T WORK. LightSail instances default to an ipv6 address resolution and the bncert-tool DOES NOT know HOW to support ipv6.

replied 3 years ago

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

AWS
EXPERT

replied 3 years ago

This is completely inaccurate

replied 10 months ago