tencentcloud: fix InvalidParameter.DomainInvalid error when using DNS challenges (#1616)
This commit is contained in:
parent
2c0aaf7fef
commit
6641400f41
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue