阿里云不能申请.live 结尾的域名的免费证书了?
阿里云不能免费申请以.live 结尾的免费证书。
用 acme.sh 快速生成免费证书
文档
会自动更新证书挺方便
安装
wget -O - https://get.acme.sh | sh
配置
在.bashrc 中添加一行
alias acme.sh=~/.acme.sh/acme.sh
让配置生效
source .bashrc
生成证书
acme.sh --issue -d mydomain.com --nginx
将生成的证书复制到nginx配置文件中
推荐文章: