首頁  >  文章  >  後端開發  >  1212

1212

PHP中文网
PHP中文网原創
2020-11-03 15:21:11302瀏覽

近期發現有部分伺服器在安裝面板時,沒有成功下載certbot-auto,導致無法正常取得Let's 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.log
Missing 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.

以上是1212的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn