Enabling HTTPS on the FireBrick

From AAISP Support Site
Revision as of 13:33, 9 October 2023 by AA-Andrew (talk | contribs)

It is now possible to use HTTPS to access the Web UI on the FireBrick. The FireBrick can also use ACME to generate SSL certificates to be used for IPSec and HTTPS.

The certificates can be generated by the Let's Encrypt service automagically once the ACME settings have been filled in. Alternatively, the FireBrick can also try negotiate HTTPS using it's own self-signed certificate which is usually generated automatically.

Setting up ACME (Let's Encrypt)

By default, the FireBrick will ship with the 'ISRG Root X1' root certificate that's needed for Let's Encrypt and the 'acme-directory' setting defaults to Let's Encrypt. Using Let's Encrypt is therefore very easy.

Other cert providers will need their root certificate installing and the 'acme-directory' setting set.

  • Under Config > Edit > Setup > System Settings
    • Fill in:
      • acme-hostname (The FQDN, DNS hostname, of the FireBrick)
      • acme-terms-agreed-email (your email address)

Optionally set:

  • Under Config > Edit > Setup > General system services > Web server settings
    • mode (eg, redirect-to-https-if-acme
ACME.png

Once filled in, and providing the hostname points to the FireBrick, you should be able to access the Web UI via HTTPS using this hostname.

This process might not always be immediate. If it does not work immediately, allow some time for things to propagate.

Video: https://www.youtube.com/embed/747vD5DGnt8