mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
add support for root domain
This commit is contained in:
@@ -46,7 +46,7 @@ class Authenticator(common.Plugin):
|
|||||||
return max(
|
return max(
|
||||||
(
|
(
|
||||||
zone for zone in r53.list_hosted_zones()["HostedZones"]
|
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"]),
|
key=lambda zone: len(zone["Name"]),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import sys
|
|||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
from setuptools import find_packages
|
from setuptools import find_packages
|
||||||
|
|
||||||
version = '0.1.4'
|
version = '0.1.5'
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'acme>=0.9.0.dev0',
|
'acme>=0.9.0.dev0',
|
||||||
|
|||||||
Reference in New Issue
Block a user