通过DNS方式申请ACME证书时支持二级域名

This commit is contained in:
GoEdgeLab
2021-09-08 18:23:37 +08:00
parent eb37493af2
commit b3cbba935b
3 changed files with 13 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ func TestRequest_Run_DNS(t *testing.T) {
AuthType: AuthTypeDNS,
DNSProvider: dnsProvider,
DNSDomain: "yun4s.cn",
Domains: []string{"yun4s.cn"},
Domains: []string{"www.yun4s.cn"},
})
certData, keyData, err := req.Run()
if err != nil {