certbot生成免费的
安装 EPEL 仓库(如果尚未安装):
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
安装 Certbot:
sudo yum install -y certbot python3 certbot-nginx
生成证书:使用 Certbot 为 www.fumesh.cn 生成证书。这里假设您的 Nginx 配置文件位于 /etc/nginx/conf.d/:
certbot --nginx
本文来自博客园,作者:六月OvO,转载请注明原文链接:https://www.cnblogs.com/chenlifan/p/18360740