我們知道 Let's Encrypt SSL 證書只免費3個月,到期需要重新更新續簽。今天在更新時,一如既往的敲更新命令certbot-auto renew,但確實提示如下錯誤:
Upgrading certbot-auto 0.38.0 to 0.39.0...
Couldn't download https://raw.githubusercontent.com/certbot/certbot/v0.39.0/letsencrypt-auto-source/letsencrypt-auto. <urlopen error [Errno 110] Connection timed out>
原因是:certbot-auto將始終嘗試從最新版本中獲取自身的最新版本。
解決方案也非常簡單:
如果希望將其鎖定到特定版本並且不接收自動更新,只需在命令後加 --no-self-upgrade 即可。即:
1 |
|
果然,問題解決!
參考鏈接: