更新Let's Encrypt SSL證書提示certbot-auto無法升級怎麼辦

我們知道 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

certbot-auto renew --no-self-upgrade

果然,問題解決!

參考鏈接:

https://www.xuecaijie.com/it/213.html

發佈了113 篇原創文章 · 獲贊 19 · 訪問量 8萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章