getssl icon indicating copy to clipboard operation
getssl copied to clipboard

dns_route53.py unable to handle subdomains

Open marrek-az opened this issue 6 years ago • 3 comments

This is similar to #398. If you have a Route53 hosted zone example.com and one for foo.example.com with NS record handling the delegation, and you try to obtain a certificate for www.foo.example.com, the dns_route53.py script will look in the zone for example.com, not foo.example.com. A stricter check of zone names would prevent this.

marrek-az avatar Jul 13 '19 01:07 marrek-az

Ironically, changing reverse=True to reverse=False on line 34 appears to correct the problem, at least in my simple scenario.

marrek-az avatar Jul 13 '19 02:07 marrek-az

I guess #399 will not resolve your issues, as the check only looks on whole parts on the incoming zone names now. May you test?

QuingKhaos avatar Sep 30 '19 12:09 QuingKhaos

This issue still exists. If you have zones in route53 for example.com and foo.example.com and you try to use this to obtain a certificate for bar.foo.example.com, it will loop forever with Didn't find _acme-challenge.bar.foo.example.com entry yet, sleeping...

marrek-az avatar Jan 16 '22 22:01 marrek-az