Auto-configure a Let's Encrypt certificate

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

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 installdir.

IMPORTANT: The Bitnami HTTPS Configuration Tool is only supported on 64-bit Linux operating systems. It does not work on Windows, macOS or 32-bit Linux. It cannot be used with IPv6 addresses or to configure HTTPS certificates for NGINX Web servers.

NOTE: Before using the Bitnami HTTPS configuration tool, ensure that your domain’s DNS configuration correctly reflects the host’s IP address. You can update your domain’s DNS configuration through your DNS provider.

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

$ sudo installdir/bncert-tool

Refer to our guide for more information on this, to troubleshoot common errors, or if you cannot find the tool in your Bitnami stack.

Last modification July 14, 2021