Let's Encrypt 泛域名ssl证书申请

搭建Ngrok时需要一个泛域名解析,扒了众多文档搞定了泛域名ssl证书的申请

这里使用的是Certbot来签发。

官网文档:https://certbot.eff.org/docs/using.html

直接使用官网首页的安装方法是无法使用最新的Let's Encrypt的v2 API,这里加参数

--server https://acme-v02.api.letsencrypt.org/directory

现在的命令是:

root@aliyun:~# certbot certonly --standalone -d *.example.com --server https://acme-v02.api.letsencrypt.org/directory

结果提示:

Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.

原因是没有DNS验证

添加参数:

--preferred-challenges dns

扒官方文档后,发现泛域名需要dns-01验证。文档说明了改验证方法可自动验证,但需要安装插件,且DNS服务商为下列服务商:


                
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值