TLS certificates with ACM
AWS Certificate Manager: requesting and validating certificates, Regions, automatic renewal, where they can be used and what to monitor.
TLS certificates with ACM
The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.
Not started
What you'll learn
- ACM issues domain-validated public certificates and attaches them to load balancers, CloudFront and API Gateway without you handling the private key.
- Validate with DNS. The CNAME proves control once and lets ACM renew automatically for as long as it stays and the certificate is in use.
- Certificates are Regional. CloudFront only accepts one from us-east-1.
- A wildcard covers one label: *.example.com matches www.example.com but not example.com or a.b.example.com.
- ACM public certificates are valid for 198 days and renew about 45 days before expiry, so nothing should pin a certificate.
- Imported certificates are never renewed for you. Alarm on expiry for anything ACM does not manage.
The chore that causes outages
HTTPS needs a certificate: a signed statement that this public key belongs to this name, with an expiry date. Getting one by hand means generating a key, proving you own the domain, installing both on every server and remembering to repeat it. People forget, and an expired certificate takes the site down as surely as a crash. TLS and automated renewal covers how certificates and ACME work in general.
AWS Certificate Manager removes most of the chore on AWS. It issues the certificate, keeps the private key, attaches it to AWS services and renews it.
Requesting and validating
You request a certificate for one or more names, then prove you control them. With DNS validation, ACM gives you a CNAME record per name to publish. Against a local emulator, requesting example.test plus *.example.test returned:
Status: PENDING_VALIDATION
*.example.test _d930b28b...example.test. CNAME _c9edd76e....acm-validations.aws.
example.test _d930b28b...example.test. CNAME _c9edd76e....acm-validations.aws.
Both names share one record, so you publish it once. If the zone is in Route 53, the console can add it with a button. In infrastructure code, create the request, the record and a step that waits for issuance, or the load balancer listener will fail because the certificate isn’t ready.
Leave the record in place. It’s what lets ACM renew without asking you, and it lets you request further certificates for the same name without validating again. Email validation exists, but it needs a human to click a link at each renewal, so avoid it.
If your domain has CAA records, which list who may issue certificates for it, they must allow Amazon’s certificate authority or the request fails.
Names and wildcards
A wildcard such as *.example.com covers www.example.com and api.example.com. It doesn’t cover the bare example.com, nor v2.api.example.com. Put the apex on the certificate as a second name. Prefer narrower certificates where teams are separate, since one wildcard key covering everything is a wide blast radius. ACM can issue RSA or ECDSA certificates.
Public certificates appear in Certificate Transparency logs, so hostnames on them aren’t secret.
Where the certificate lives
Certificates are Regional. A load balancer in Frankfurt needs one in eu-central-1. The exception to remember is CloudFront, a global service that reads certificates only from us-east-1. So a typical static site or app has two: one in us-east-1 for CloudFront and one near the load balancer.
Integrated services, including Elastic Load Balancing, CloudFront and API Gateway, use the certificate without you ever seeing the key. Non-exportable public certificates used this way cost nothing.
You can’t copy such a certificate onto your own web server on EC2. For that, ACM now offers exportable public certificates, which you pay for, and an ACME endpoint so standard clients can get certificates for infrastructure you manage. Nitro Enclaves are another route on EC2. Or terminate TLS at a load balancer and skip the problem.
For internal names that no public authority should sign, AWS Private CA runs your own authority, at a significant monthly price.
Renewal
ACM public certificates are valid for 198 days, part of an industry-wide move toward shorter lifetimes. ACM tries to renew about 45 days before expiry if the certificate is in use (or has been exported) and its validation still works. The ARN stays the same, so nothing needs re-pointing.
Because renewal happens often and brings a new key and possibly a different intermediate authority, never pin a certificate in a client.
Renewal can still fail: the validation record was deleted, the certificate is attached to nothing, or it was imported and isn’t eligible at all. ACM emits events and a days-to-expiry metric. Alarm on it with CloudWatch, especially for imported certificates.
The other half of TLS
The certificate sits on the edge or load balancer. Traffic behind it is a separate decision. You can run HTTPS from the balancer to targets too, and you should where compliance or a shared network requires it. Also choose a modern security policy on the listener or distribution, since that, not the certificate, controls which TLS versions and ciphers are accepted. Redirect HTTP to HTTPS so no one stays on plaintext by accident.
About the video
The embed is Cybr’s 10-minute lesson “Creating and Managing Certificates” from May 2026, made for the AWS security specialty exam. Its description covers what ACM simplifies, requesting a public certificate, DNS validation, using it on API Gateway custom domains, renewal, and AWS Private CA. Expect exam framing near the end. It has no chapters; I judged it from the description only. Its audio is flagged as original US English.
What was run: the request and describe calls ran on moto 5.1.22, which never actually issues anything. Validity, renewal, Region and export rules come from the ACM user guide, checked in November 2026.
Check yourself
You request a certificate in eu-west-1 and can't select it in your CloudFront distribution. Why?
CloudFront reads ACM certificates only from US East (N. Virginia). Request or import it in us-east-1.
A certificate for *.example.com is installed and visitors to https://example.com get a warning. Why?
A wildcard matches exactly one label in front of the domain. Add example.com itself as another name on the certificate.
A year after setup someone tidies DNS and removes an odd CNAME beginning with an underscore. What happens?
Nothing immediately. ACM can no longer validate the domain at renewal time, so the certificate eventually expires unless the record is restored.
Your certificate was bought elsewhere and imported into ACM. Will ACM renew it?
No. Imported certificates aren't eligible for managed renewal. You must get a new one and reimport it before it expires.
Go deeper
Notes
Notes are saved to your account.
Everything else on this page works without one — progress and bookmarks keep themselves in this browser and come with you when you sign in. Notes are the one thing worth not trusting to a browser you might clear.
Your notes could not be loaded.