$sudo apt install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-apache
$ certbot --apache
crontab -e
添加
0 3 * * * certbot renew --quiet --no-self-upgrade
$sudo apt install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-apache
$ certbot --apache
crontab -e
添加
0 3 * * * certbot renew --quiet --no-self-upgrade
原文:https://www.cnblogs.com/leilei-1/p/8135631.html