服务器

certbot 真的好用哈

By jere on 2021-03-02 0 Comments

apt install python3-certbot-nginx

certbot –nginx -d domain.name.here

service nginx reload

add crontab

15 3 * * * /usr/bin/certbot renew –quiet

2022/09/18 update

上面这个过时了

可以直接看这个链接

打赏

Leave a comment

您的电子邮箱地址不会被公开。 必填项已用*标注