搭建环境
1.下载
wget https
2.编译
a.configure 如果使用 https 需要安装 configure --with https-ssl-module
b.make
c.install
3.将编译好的nginx byte 文件复制到安装目录 sbin下面。
4.做软连接
5.执行certbot 命令
用yum install certbot
certbot 注册。修改 nginx 文件。
3个月后到期需要进行 certbot renew
certbot renew
certbot certificates