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 

posted @ 2024-08-15 13:39  六月OvO  阅读(3)  评论(0编辑  收藏  举报