我们知道 Let's Encrypt SSL 证书只免费3个月,到期需要重新更新续签。今天在更新时,一如既往的敲更新命令certbot-auto renew,但确实提示如下错误:
[root@localhost root]# certbot-auto renew
Upgrading certbot-auto 1.9.0 to 1.11.0...
Couldn't download https://raw.githubusercontent.com/certbot/certbot/v1.11.0/letsencrypt-auto-source/letsencrypt-auto. <urlopen error [Errno 111] Connection refused>
原因是:certbot-auto将始终尝试从最新版本中获取自身的最新版本。
解决方案也非常简单:
如果希望将其锁定到特定版本并且不接收自动更新,只需在命令后加 --no-self-upgrade 即可。
certbot-auto renew --no-self-upgrade