Let's Encrypt免费SSL证书续期失败 unauthorized

1、先更新certbot  

很可能无法直接更新


Couldn't download https://raw.githubusercontent.com/certbot/certbot/v1.3.0/letsencrypt-auto-source/letsencrypt-auto. <urlopen error timed out>
默认的更新升级网址我这里是不行的反正,我们可以换个地址:



# wget https://dl.eff.org/certbot-auto
# chmod a+x certbot-auto


2、再次renew

如果还不行出现 unauthorized的错误的话,就直接再生成一遍证书


./certbot-auto certonly --email email@qq.com --agree-tos --webroot -w /home/wwwroot/m.xxx.com/  -d m.xx.com
如果不想每次续期都升级可以加



certbot-auto renew --no-self-upgrade



分享至
2020-03-24 发布 ┊ 1159 人浏览 ┊ 0 人评论 ┊ 来源:原创 ┊ 收藏
返回顶部