Skip to content

Instantly share code, notes, and snippets.

@eightfivelabs
eightfivelabs / gist:eca2c5ec08b76944dc2d1f8cb4c95499
Last active October 26, 2019 18:48
Update SSL certificate on FreenNAS 11.2-U6

How to issue an SSL certificate for HTTPS on FreeNAS 11.2-U6

  • FreeNAS GUI > Services > Enable SSH
  • System > Certificates > Delete the existing expired certificate
  • Make sure that the domain you want to issue a certificate for via LetsEncrypt is in your DNS provider with an IP pointing to your machine and also make sure port forwarding to the FreeNAS box is enabled for port 80
  • Log into FreeNAS machine via SSH
  • Install certbot if not installed with pkg install py36-certbot
    • If you receive an error about the local repository, use nano to edit /usr/local/etc/pkg/repos/local.conf and set enabled: no and in /usr/local/etc/pkg/repos/FreeBSD.conf set enabled: yes
  • Stop the WebGUI running with service nginx stop and service django stop
  • Run certbot certonly --standalone and fill out the relevant information