certbot 生成泛域名证书
certbot-auto certonly -d "*.ninvfeng.com" --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory
其中*.ninvfeng.com为要生成证书的域名- 提示是否与IP绑定,输入Y
Are you OK with your IP being logged?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name
_acme-challenge.ninvfeng.com with the following value:
rXjZNHZI7CpuIkAGl79lYzbYF63fiUrZwd4c10DLqQw
- 按提示解析一条DNS TXT记录_acme-challenge.ninvfeng.com 记录值为rXjZNHZI7CpuIkAGl79lYzbYF63fiUrZwd4c10DLqQw
- 等记录生效后按回车继续 看到Congratulations!就知道生成成功了