1
0
mirror of https://github.com/go-acme/lego.git synced 2024-12-27 03:32:05 +02:00

tencentcloud: fix InvalidParameter.DomainInvalid error when using DNS challenges (#1616)

This commit is contained in:
Charlie Chiang 2022-04-03 23:53:11 +08:00 committed by GitHub
parent 2c0aaf7fef
commit 6641400f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ func getDomainData(fqdn string) (*domainData, error) {
}
return &domainData{
domain: zone,
domain: dns01.UnFqdn(zone),
subDomain: dns01.UnFqdn(strings.TrimSuffix(fqdn, zone)),
}, nil
}