FreeBsd SSL 설치 (Let’s Encrypt on nginx)

# pkg install py37-certbot-nginx

# vi /etc/periodic.conf

weekly_certbot_enable="YES"

# certbot --nginx -d {domain} -d {domain}

# service nginx restart

# certbot renew --dry-run

# crontab -e

SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
# Order of crontab fields
# min hour mday month wday command
0 0,12 * * * /usr/local/bin/certbot renew

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다