Ninvfeng Blog

记录web开发中的所见所得

certbot 生成泛域名证书

certbot 生成泛域名证书

  1. certbot-auto certonly -d "*.ninvfeng.com" --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory 其中*.ninvfeng.com为要生成证书的域名
  2. 提示是否与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
  1. 按提示解析一条DNS TXT记录_acme-challenge.ninvfeng.com 记录值为rXjZNHZI7CpuIkAGl79lYzbYF63fiUrZwd4c10DLqQw
  2. 等记录生效后按回车继续 看到Congratulations!就知道生成成功了

Snipaste_2020-01-17_17-43-46.png

文章评论已关闭!