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
    
    • Related Articles

    • Renew Let's Encrypt Certificate

       Renew the Let’s Encrypt certificate Let’s Encrypt certificates are only valid for 90 days. To renew the certificate before it expires, run the following commands from the server console as the bitnami user. Remember to replace the DOMAIN placeholder ...
    • Website Deployment Steps - Wordpress

      1 Create a Google account 2 Create a bitnami account 3. Add credit card to google engine for credit 4 Deploy VM and deploy google engine 5 Remove bitnami logo 6 increase upload capacity 7 Obtain Theme, upload it to the VM instance, and configure demo ...
    • step 9: install really simple ssl and adjust linux permissions

      Log into wordpress using domainname/wp-admin, not the ip address.  Install Really Simple SSL Plugin activate plugin. Launch SSH Console in bitnami Ls (ls) - shows folders in directory cd - change directory go to directory /apps/wordpress/htdocs sudo ...
    • Removing the bitnami logo from a new deployment - Linux Debian 10

      login to the console: at the landing command line type: sudo /opt/bitnami/apps/wordpress/bnconfig --disable_banner 1 Replace "wordpress" with the corresponding application :  moodle,   canvas and so on.. these instructions should also apply for ...
    • Increase file upload size in WordPress / Moodle / Canvas - Linux Debian 9 Command Console Command

      The following adjustments are needed to the the php.ini file after a new deployment through bitnami: Access the Linux Debian 9 terminal command line. In the landing page type:   sudo nano stack/php/etc/php.ini for Debian 10 ternimal use: sudo nano ...