Site icon moneyslow.com

letsencrypt签署通配符域名

https证书验证方式

https证书验证方式

本文参考:
https://github.com/acmesh-official/acme.sh
如果域名在godaddy,需要用到它的api的key和secret,获取地址:
developer.godaddy.com
开始是空白的,没有key:

godaddy api key 生成

新创建一个,如下图,环境选择production,第一个ote是什么东西不知道

创建godaddy 的api

好了,生成的api的key和secret保存好。

接下来搞acme.sh,执行下面命令:

export GD_Key="9ZhrDn213re_DmrHb83CW5XMn3QKbBqTsf"
export GD_Secret="Au5n0DQu8Kz29LLeP7HBGt"
acme.sh --issue -d moneyslow.com -d '*.moneyslow.com' --dns dns_gd

解释一下,dns_gd就是godaddy,dns_cf就是dns厂家 cloudfire
如果你用的其他家的dns,那么参考官方的文档:
https://github.com/acmesh-official/acme.sh/wiki/dnsapi

参考:https://kb.virtubox.net/knowledgebase/how-to-issue-wildcard-ssl-certificate-with-acme-sh-nginx/

Exit mobile version