一,升級系統
yum -y更新
二,安裝EPEL庫,為CertBot提供最新的Python的包。
yum -y安裝epel-release
三,下載CertBot
yum -y安裝python-certbot-apache
四,Apache下配置讓我們加密
wget https://dl.eff.org/certbot-auto
chmod a + x certbot-auto
./certbot-auto
執行配置
./certbot-auto --apache
根據提示操作
-
/ root / 。local / share / letsencrypt / lib / python2 。6 / site - packages / cryptography / __init__ 。PY:26 :DeprecationWarning :Python的2.6 是沒有 不再支持 通過 了 Python的 核心團隊, 請升級 的Python 。 密碼學的未來版本將支持拖放 對Python的