mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 16:30:31 +02:00
add support for root domain
This commit is contained in:
@@ -46,7 +46,7 @@ class Authenticator(common.Plugin):
|
||||
return max(
|
||||
(
|
||||
zone for zone in r53.list_hosted_zones()["HostedZones"]
|
||||
if (domain+".").endswith("."+zone["Name"])
|
||||
if (domain+".").endswith("."+zone["Name"]) or (domain+".") == (zone["Name"])
|
||||
),
|
||||
key=lambda zone: len(zone["Name"]),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user