Securing an AWS Lightsail instance with HTTPS is a critical step after pointing the application to its domain. The process may differ slightly from that on an EC2 instance, but the simplicity of Bitnami’s bncert-tool streamlines the SSL installation.
Step 1: Connect Lightsail Terminal
Click on “Connect with SSH” button under Connect Tab on your lightsail instance details section to connect with terminal.
Step 2: Starting with bncert-tool
Begin by running the command:
sudo /opt/bitnami/bncert-tool
If the tool is not present, proceed to install it before moving to the next step.
Installing bncert-tool
Execute the following commands to install bncert-tool: