Renew Certificates with letsencrypt on FreeBSD

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

Renewval of certificates is very easy. It can be done with downtime of a few seconds. You can use the --dry-run option to check what is going to happen.

# cd letsencrypt

~/letsencrypt # service nginx stop ; ./letsencrypt-auto renew  --agree-tos ; service nginx start
Stopping nginx. Waiting for PIDS: 49941. Checking for new version... Requesting root privileges to run letsencrypt... /root/.local/share/letsencrypt/bin/letsencrypt --no-self-upgrade renew --agree-tos Processing /etc/letsencrypt/renewal/ new certificate deployed without reload, fullchain is .../ The following certs are not due for renewal yet: /etc/letsencrypt/live/ (skipped) Congratulations, all renewals succeeded. The following certs have been renewed: /etc/letsencrypt/live/ (success) Performing sanity check on nginx configuration: nginx: the configuration file ..../nginx/nginx.conf syntax is ok nginx: configuration file ..../nginx/nginx.conf test is successful Starting nginx.

Tag: freebsd