Setup letsencrypt on FreeBSD

2019-05-19 14:17:08.444839+00

Let setup "letencrypt" for nginx.

service nginx stop
cd letencrypt
./letsencrypt-auto --debug certonly -d
Updating letsencrypt and virtual environment dependencies....... Running with virtualenv: /root/.local/share/letsencrypt/bin/letsencrypt --debug certonly -d IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/ Your cert will expire on 2016-03-17. To obtain a new version of the certificate in the future, simply run Let's Encrypt again. - If you like Let's Encrypt, please consider supporting our work by: Donating to ISRG / Let's Encrypt: Donating to EFF:
service nginx start
Performing sanity check on nginx configuration: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful Starting nginx.

In the next step of the setup we will adjust the vhost file for nginx

Tag: freebsd