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:
parent
2c0aaf7fef
commit
6641400f41
@ -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 New Issue
Block a user