ACM certificate stuck in Pending validation because of a CNAME record with a duplicated domain

My ACM certificate is stuck in Pending validation

Almost always the CNAME record is misspelled or sits in a DNS zone nobody queries. This is what we check, in this order.

What ACM expects

When you request a certificate with DNS validation, ACM gives you a CNAME record. You have to create it in your domain's DNS zone. Until ACM finds it, the certificate isn't issued. The AWS documentation says that if ACM can't validate the domain within 72 hours of generating the value, the status changes to Validation timed out. ACM DNS validation documentation.

The most common mistake: the duplicated domain

Route 53 appends your domain to the end of the record name. If you paste the full name ACM shows you, the domain ends up duplicated. It looks like this:

Name ACM shows:            _a1b2c3d4.yourdomain.com
Name you type in R53:      _a1b2c3d4
Name that ends up wrong:   _a1b2c3d4.yourdomain.com.yourdomain.com

The AWS Knowledge Center on re:Post describes this exact case: the DNS provider appends the domain to the end of the name, and the fix is to remove it from the text you entered in the name field. See the article.

Confirm the record resolves

From a terminal:

dig CNAME _a1b2c3d4.yourdomain.com +short

If it doesn't return the value ACM showed you, the record isn't where ACM is looking for it. If it does, the problem is somewhere else on this list.

Check where your domain resolves

If you bought the domain from another provider and didn't delegate the zone to Route 53, a record created in Route 53 is never queried. Create the CNAME in the DNS panel where your domain actually resolves.

Check the CAA

A CAA record says which authorities can issue certificates for your domain. ACM documents that the value must include one of these domains: amazon.com, amazontrust.com, awstrust.com, or amazonaws.com. If your CAA only authorizes another authority, ACM can't issue the certificate. CAA problems in ACM.

Don't delete the CNAME afterwards

The documentation says ACM renews the certificate automatically as long as it's in use and the CNAME stays in place. There are re:Post threads about certificates that didn't renew even though the records looked correct. Here's one.

What C4C7OPS does about this

In Domains and certificates you create the domain with its details. The platform creates the hosted zone in your AWS account and validates the certificate, so you don't copy records by hand.

Frequently asked questions

How long does validation take? It depends on when the record becomes visible from the internet. ACM has a 72-hour window to validate. If the record is correct and that time passes, the request fails and you have to request a new one.

Can I delete the CNAME after validation? No. ACM uses it to renew the certificate as long as it's in use.

What do I do if I have a CAA record? Check that it includes amazon.com or one of the other domains on ACM's list. If there's no CAA record, nothing is blocked.

Do you have a certificate stuck right now?

Tell us about your case.

Sources

Let's talk about what your infrastructure needsTell us your case
We use cookies to enhance your experience on our site and tailor content to your needs. By clicking "Accept," you agree. Read our Cookie Policy and Privacy and Data Policy, and our Terms and conditions for more information.