ssl续期问题

问答中心分类: Nginxssl续期问题
aa99666 asked 7 年 ago
crontab 并没有博主所说的的详细情况
crontab -l
*/20 * * * * /usr/sbin/ntpdate pool.ntp.org > /dev/null 2>&1
30 2 * * 1 /usr/local/python/bin/certbot renew --renew-hook "/etc/init.d/nginx reload"
Question Tags:

1 Answers
oneinstack answered 7 年 ago
第二条应该会自动续期,或者加参数--force-renewal强制更新证书试试

/usr/local/python/bin/certbot renew --force-renewal --renew-hook "/etc/init.d/nginx reload"