Skip to content

ACM DNS Validation Failing Even After Moving DNS to Route 53 – What Am I Missing?

0

Hello AWS Community,

I’m facing an issue with ACM DNS validation and would really appreciate some guidance, as I’m unable to identify what I’m doing wrong.

My Setup Domain: mydemoapp.com Registrar: Hostinger (only as registrar) DNS: Moved fully to AWS Route 53 Hosted Zone: Public hosted zone for mysimplifyapp.com

Certificates requested for: admin.mydemoapp.com forgot.mydemoapp.com

Validation method: DNS DNS records created via “Create records in Route 53” from ACM

What I Have Verified Route 53 is the authoritative DNS (nameservers updated in Hostinger) Validation CNAME records exist in the correct hosted zone No conflicting A/CNAME records for the _hash.subdomain TTL set to 300 CAA records exist but do not block issuance (multiple CAs allowed) DNS records resolve publicly when checked via Route 53 and DNS tools

Issue Despite all of the above, the certificates remain stuck in “Pending validation” for a long time and eventually fail.

My Questions Is there anything specific that can cause ACM DNS validation to fail even when Route 53 is authoritative? Could this be related to: Region mismatch? Stale validation attempts? Multiple certificates requested separately for subdomains?

Is it recommended to delete and reissue a single certificate with multiple SANs instead?

I feel like I’m missing a subtle but critical step and would really appreciate any insight from those who’ve faced a similar situation.

Thanks in advance 🙏

asked 10 months ago284 views

3 Answers
1

The most likely culprit is the CNAME flattening/quarantine issue when migrating DNS to Route 53. Here’s what’s happening: when you move DNS to Route 53, AWS sometimes silently quarantines or delays propagation of ACM's DNS validation CNAME records because they contain underscore prefixes (_hash.subdomain), which Route 53 treats suspiciously to prevent subdomain takeover attacks. To fix this, delete the ACM certificates and recreate them after the hosted zone has been active in Route 53 for at least 48 hours, ensuring you use the "Create records in Route 53" button from ACM's validation page—don’t manually create the CNAME records. Also, verify there are no trailing dots in the DNS records and confirm Route 53’s nameservers are correctly set at your registrar (Hostinger) using a DNS propagation checker, not just the AWS console. If issues persist, request a single certificate with both subdomains as SANs rather than separate certificates, as this reduces validation complexity and potential rate-limiting conflicts.

answered 10 months ago

0

When ACM DNS validation fails despite having Route 53 as your authoritative DNS provider, there are several potential issues to investigate:

  1. Validation Timeout: ACM searches for CNAME records in a publicly hosted zone and times out after 72 hours if validation isn't successful. If your certificates have been pending for more than 72 hours, you'll need to delete them and request new ones.

  2. DNS Delegation Issues: Even though you've updated the nameservers at Hostinger, verify that the delegation is complete and working correctly. You can check this using tools like dig or nslookup to confirm that queries for your domain are being answered by Route 53's nameservers.

  3. NS Record Conflicts: One common issue that can cause validation failures is having both NS records and CNAME records for the same name. This creates DNS resolution conflicts. For example, if you have NS records for admin.mydemoapp.com and are also trying to create validation CNAME records for _hash.admin.mydemoapp.com, this can cause problems.

  4. Region Considerations: If you're requesting certificates for use with CloudFront, ensure you're requesting them in the us-east-1 region.

  5. Multiple Certificates vs. Single Certificate with SANs: Using a single certificate with multiple Subject Alternative Names (SANs) is generally more efficient and can help avoid potential conflicts. This approach is recommended over requesting separate certificates for each subdomain.

  6. Nameserver Configuration: Double-check that your domain is using the correct nameservers and that they match between your registrar and Route 53.

  7. CAA Records: Even though you mentioned your CAA records allow multiple CAs, verify that Amazon's CA is specifically allowed.

For your specific situation, I recommend:

  • Delete the pending certificate requests
  • Request a single new certificate that includes all your subdomains as SANs
  • Verify DNS resolution for the validation records using dig or nslookup before proceeding
  • Check for any NS record conflicts that might be interfering with validation

If the issue persists with a new certificate request after addressing these potential issues, you might need to contact AWS Support for further assistance.
Sources
Troubleshoot DNS validation problems - AWS Certificate Manager
ACM certificate stuck in “Pending validation” despite correct DNS CNAMEs | AWS re:Post
Unable to request a Certificate in AWS | AWS re:Post
ACM DNS Validation stuck for root domain despite correct CNAME record (sapori.co.za) | AWS re:Post
ACM Certificate Validation Pending indefinitely | AWS re:Post

answered 10 months ago

EXPERT

reviewed 10 months ago

0

Ensure you can resolve the CNAME records via NSLOOKUP or DIG. If you cant resolve the CNAME records, then you know you have an issue. Usually after creating CNAME records ACM issues very quickly

Peoples usual mistake is to create the cname with the FQDN which means it looks like _CNAME.example.com.example.com

Just create the CNAME without the domain name

EXPERT

answered 10 months ago

AWS
EXPERT

reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.