Skip to content

Certificate pending on DNS validation (non-Route53)

0

I'm trying to create a new certificate to use with my CloudFront Distribution. My DNS is not managed by Route53. Even after 24 hours the certificate is in Pending validation state. I have many other certificates issued but all of them are via Route53.

These are the steps I took already:

  • I've waited for 24 hours for DNS records to propagate. I checked on multiple sites and the values are correct.
  • I've checked for CAA records and can't find any
  • There are no other records set (no MX, no TXT, no other CNAME, etc.)
  • I've tested with nslookup and dig commands and the values are correct
  • I've asked Amazon Q to check both my configuration on AWS and my records and everything is correct according to Amazon Q. It is asking me to create a post here.
  • Deleted the Certificate 2 times and updated the records (this is before this 24 hours wait time)
  • Tried creating certificate from CloudFront UI but no change.
  • Creating certificate in us-east-1 region
  • CNAME host and values are always same for root domain and wildcard (*.domain.com) and I've tried both
  • Verified my values from ChatGPT and Gemini and they were out of answers

Now I'm out of ideas as to what the fix might be.

1 Answer
0

When an ACM certificate is stuck in "Pending validation" status despite having the correct CNAME records, there are several potential causes to investigate:

  1. Nameserver Configuration Issues: The most common problem is a mismatch between the nameservers configured at your domain registrar and the nameservers where you've added the CNAME records. Ensure that the DNS provider where you added the CNAME records is actually the authoritative DNS provider for your domain.

  2. Validation Timeout: ACM certificate requests that aren't validated within 72 hours will time out and fail. Since you've waited 24 hours, you still have time, but if validation doesn't complete within the 72-hour window, you'll need to delete the request and start over.

  3. DNS Record Conflicts: Check if there are any NS record conflicts. Having both NS records and CNAME records for the same name can create DNS resolution conflicts.

  4. Underscore Issues: Some DNS providers don't allow leading underscores in CNAME values. If your provider has this restriction, you may need to remove the underscores for validation purposes.

  5. Trailing Periods: Some DNS providers automatically add a trailing period to the CNAME value. If you added one yourself, this could cause validation issues.

  6. Region Verification: Confirm that the certificate is being requested in the correct region (us-east-1) for CloudFront usage, which you've already done.

Since you've verified the CNAME records are resolving correctly with dig and nslookup, and you've already checked for CAA records, the most likely issue is related to nameserver configuration. Double-check that the DNS provider where you added the CNAME records is truly the authoritative provider for your domain.

Unfortunately, there's no way to force ACM to re-check validation. If the issue persists after 72 hours, you'll need to delete the certificate request and create a new one.
Sources
ACM certificate stuck in “Pending validation” despite correct DNS CNAMEs | AWS re:Post
Troubleshoot DNS validation problems - AWS Certificate Manager
How long request for SSL certification takes? | AWS re:Post
ACM certificate stuck in “Pending validation” status despite correct DNS CNAME record in Route 53 | AWS re:Post

answered a year ago

AWS
EXPERT

reviewed a year 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.