Installing SSL Certificate in Debian 9 Linux Environments

Generate and Install a Let's Encrypt SSL Certificate for a Bitnami Application

Assumptions and prerequisites

This guide assumes that:

  • You have deployed a Bitnami application and the application is available at a public IP address so that the Let’s Encrypt process can verify your domain.
  • You have the necessary credentials to log in to the Bitnami application instance.
  • You own one or more domain names.
  • You have configured the domain name’s DNS record to point to the public IP address of your Bitnami application instance.

Use the Bitnami HTTPS Configuration Tool

IMPORTANT: The Bitnami HTTPS Configuration Tool does not support configuring NGINX web servers yet. If you use NGINX, please follow the alternative approach section.

The Bitnami HTTPS Configuration Tool is a command line tool for configuring mainly HTTPS certificates on Bitnami stacks, but also common features such as automatic renewals, redirections (e.g. HTTP to HTTPS), etc. This tool is located in the installation directory of the stack at /opt/bitnami.

To launch the Bitnami HTTPS Configuration Tool, execute the following command and follow the prompts:

sudo /opt/bitnami/bncert-tool

Refer to our guide for more information on this, or if you can’t find the tool in your Bitnami stack.



Run the Bitnami HTTPS Configuration Tool

The Bitnami HTTPS Configuration Tool is included in every Bitnami Stack released since May 10th 2019. In order to check whether your stack includes it or doesn’t, please check if it is present at /opt/bitnami/bncert-tool.

If your stack does not include the tool, you can download the latest version from this link.

To run the Bitnami HTTPS Configuration Tool, follow the instructions below:

  • Log in to the server console. Refer to the FAQ for more information.
  • (Optional) Download the Bitnami HTTPS Configuration Tool:

    wget -O bncert-linux-x64.run https://downloads.bitnami.com/files/bncert/latest/bncert-linux-x64.run
    sudo mkdir /opt/bitnami/bncert
    sudo mv bncert-linux-x64.run /opt/bitnami/bncert/
    sudo chmod +x /opt/bitnami/bncert/bncert-linux-x64.run
    sudo ln -s /opt/bitnami/bncert/bncert-linux-x64.run /opt/bitnami/bncert-tool
    
  • Run the Bitnami HTTPS Configuration Tool:

    sudo /opt/bitnami/bncert-tool
    
https://www.dropbox.com/s/9eays0ob6g7rodc/bncert-linux-x64.run?dl=1