windows和linux环境下cerbot生成https免费安全证书

本文介绍了如何使用Certbot工具通过访问文件权限生成证书,包括standalone模式,以及通过DNS验证进行自动证书获取。还提及了手动续期的方法,针对多个域名如*d.test.com。

linux环境下

1.安装certbot

sudo certbot --nginx

2.申请证书

sudo certbot certonly --nginx

3.续期证书

sudo certbot renew --dry-run

windows环境下

1.使用访问文件权限来生成证书

certbot certonly --standalone

2.使用dns添加后进行生成证书

certbot certonly -d test.com --manual --preferred-challenges dns

3.读取本地文件权限申请

certbot certonly --webroot --webroot-path /var/www/html -d www.123456.com --debug

4.手动续期

certbot certonly -d *.test.com --manual --preferred-challenges dns
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值