- 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.confand setenabled: noand in/usr/local/etc/pkg/repos/FreeBSD.confsetenabled: yes
- If you receive an error about the local repository, use nano to edit
- Stop the WebGUI running with
service nginx stopandservice django stop - Run
certbot certonly --standaloneand fill out the relevant information