certbot-lambda
certbot-lambda copied to clipboard
NXDOMAIN looking up TXT for _acme-challenge.example.com error
Hi I am using your certbot-lambda solution indirectly within the following solution to obtain a letsencrypt certificate as described in the following solution. https://github.com/RaduLupan/terraform-rdgateway-aws the lambda functions gets triggered but it gives me this error. ( please note that I have replaced the actual domain name from example.com. I have a properly defined domain name in AWS Route 53. Will you be able to tell me what could have gone wrong here?
[DEBUG] 2022-04-20T20:41:08.383Z 9f8da28a-8e83-484e-8686-a50e547353fa Encountered exception: Traceback (most recent call last): File "/var/task/certbot/auth_handler.py", line 82, in handle_authorizations self._respond(aauthzrs, resp, best_effort) File "/var/task/certbot/auth_handler.py", line 155, in _respond self._poll_challenges(aauthzrs, chall_update, best_effort) File "/var/task/certbot/auth_handler.py", line 226, in _poll_challenges raise errors.FailedChallenges(all_failed_achalls) certbot.errors.FailedChallenges: Failed authorization procedure. example.com (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.example.com - check that a DNS record exists for this domain