免费https/ssl通配证书(letsencrypt)安装

教程:免费https/ssl通配证书(letsencrypt)安装

前置条件
开发443端口
关闭nginx

1、获取脚本
wget https://dl.eff.org/certbot-auto

2、执行权限  
sudo chmod a+x ./certbot-auto
 
3、运行certbot命令生成证书
./certbot-auto certonly -d "*.zmbh.cn" -d "zmbh.cn"  --manual --preferred-challenges dns-01  --server https://acme-v02.api.letsencrypt.org/directory
原文地址:https://www.cnblogs.com/linjiqin/p/12176754.html