一,升级系统python
yum -y更新apache
二,安装EPEL库,为CertBot提供最新的Python的包。api
yum -y安装epel-release安全
三,下载CertBot服务器
yum -y安装python-certbot-apache网络
四,Apache下配置让咱们加密加密
wget https://dl.eff.org/certbot-autospa
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的