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