技術文檔
服務器無法獲取Lets Encrypt的解決方法
近期發現有部分服務器在安裝面板時,沒有成功下載certbot-auto,導致無法正常獲取Lets Encrypt證書,現提供手動下載安裝的方法卸載可能損壞的epel源(若確定epel源沒問題,可跳過):
yum remove epel-release -y
下載腳本:
wget -O /www/server/panel/certbot-auto http://download.bt.cn/install/certbot-auto.init -T 5
安裝依賴:安裝過程可能耗時比較長,大概需要5-10分鐘,請耐心等待!
chmod +x /www/server/panel/certbot-auto /www/server/panel/certbot-auto -n
提示以下內容,說明安裝成功
Saving debug log to /var/log/letsencrypt/letsencrypt.logMissing command line flags. For non-interactive execution, you will need to specify a plugin on the command line.Run with --help plugins to see a list of options, and see https://eff.org/letsencrypt-plugins for more detail on what the plugins do and how to use them.
標簽: