Let’s Encrypt是很火的一个免费SSL证书发行项目,自动化发行证书,证书有90天的有效期。而且支持多域名使用同一个证书,这很方便。
安装方法:
如果是CentOS 6、7,先执行:yum install -y epel-release
1 | wget https://dl.eff.org/certbot-auto --no-check-certificate |
单域名生成证书:
1 | ./certbot-auto certonly --email youemail@gmail.com --agree-tos --no-eff-email --webroot -w /home/wwwroot/a.com -d a.com |
