一、安装
1、更新: # yum -y update
2、安装依赖: EPEL库,为CertBot提供最新的Python包
# yum -y install epel-release
3、下载CertBot (文件下载到apache的文件夹下)
(1)CentOS7: # yum -y install python-certbot-apache
(2)CentOS6: # wget https://dl.eff.org/certbot-auto
# chmod 755 certbot-auto
4、配置: # ./certbot-auto --apache
根据提示填写信息
1 |
/root/.local/share/letsencrypt/lib/python2.6/site-packages/cryptography/__init__.py:26: DeprecationWar |