Administrator
发布于 2021-06-02 / 3,587 阅读

Certbot查看证书过期时间,手动续期以及自动续期

查看过期时间

certbot renew

查看证书情况

certbot certificates

手动续期证书(过期前一个月内)

/bin/certbot renew

忽略证书过期时间,直接重置证书时间

certbot renew --force-renewal

自动续期

1,定时任务

crontab -e

2,编辑文件

0 0 1 * * /usr/bin/certbot renew --force-renewal


评论