部分服務器無法獲取Let’s Encrypt的解決方法

下面由寶塔面板教程欄目給大家介紹部分服務器無法獲取let’s encrypt的解決方法,希望對需要的朋友有所幫助!

部分服務器無法獲取Let’s Encrypt的解決方法

近期發現有部分服務器在安裝面板時,沒有成功下載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.

? 版權聲明
THE END
喜歡就支持一下吧
點贊8 分享