Encrypting Traffic in Transit with AWS Certificate Manager
This lesson explains how AWS Certificate Manager (ACM) issues and renews the TLS certificates that encrypt traffic to your applications in transit.
Learning outcomes
After completing this lesson, you will be able to:
- Describe how public certificates are validated, renewed and attached to integrated services.
- Identify the Region in which a certificate must be requested for CloudFront and for edge-optimized APIs.
- Explain when AWS Private CA is needed.
- Describe how encryption in transit is enforced rather than merely offered.
Public certificates
ACM provides free public TLS certificates for Elastic Load Balancing, CloudFront, API Gateway and other integrated services. A public certificate is trusted by browsers because it is issued by a public certificate authority after the requester proves control of the domain.
ACM offers two ways to prove control. DNS validation asks you to create a CNAME record in the domain's DNS; with Route 53, the console can create it in one step. Email validation sends approval emails to addresses associated with the domain. DNS validation is recommended because ACM can then renew the certificate automatically before it expires, for as long as the CNAME record remains in place. Certificates issued elsewhere can be imported into ACM, but ACM does not renew them, so their expiry must be tracked with the DaysToExpiry metric or the expiry events that ACM sends to EventBridge.
A certificate must be in the Region where it is used. A Regional resource, such as an ALB or a Regional API, uses a certificate from its own Region, whereas CloudFront reads certificates only from us-east-1. The private key of a standard ACM public certificate cannot be exported, so it can be used only with integrated services, not installed on an EC2 web server; an exportable public certificate, available for a fee, removes that restriction. The following table summarises these facts.
| Topic | Key fact |
|---|---|
| Validation | DNS (recommended) or email |
| Renewal | Automatic for DNS-validated certificates while the validation CNAME record stays in DNS; imported certificates are not renewed |
| Monitoring | DaysToExpiry metric and expiry events in EventBridge |
| CloudFront | Certificates must be in us-east-1 |
| EC2 web servers | Standard public certificates cannot be exported. Since June 2025 an exportable public certificate can be requested, for a fee, and installed on EC2, containers or on-premises servers; it renews automatically, but the new files must be redeployed |
aws acm request-certificate --region us-east-1 \
--domain-name example.com --subject-alternative-names "*.example.com" \
--validation-method DNSThe following diagram shows the life of a public ACM certificate validated through DNS.

AWS Private CA
Public certificates are trusted by every browser, but many certificates are needed only inside an organisation: for internal services that call each other over TLS, for devices, and for mutual TLS, in which clients present certificates to prove their identity. AWS Private Certificate Authority (AWS Private CA) creates a private certificate authority whose certificates are trusted only by systems configured to trust it.
ACM can request private certificates from a private CA and renew them automatically, in the same way as public certificates, for use with integrated services such as load balancers. Private certificates can also be exported and installed on servers, containers and devices. Because a private CA is charged monthly and per certificate, it is chosen when internal or client certificates are actually needed, not for public websites.
Which certificate?
Enforcing encryption in transit
Encryption in transit should be enforced, so that an unencrypted connection is rejected, rather than merely offered. Load balancers and CloudFront distributions should have HTTPS listeners, with HTTP requests redirected to HTTPS, and a security policy that allows only current TLS versions. For AWS services, resource policies can deny any request that does not use TLS with the condition "aws:SecureTransport": "false", which is the standard way to require HTTPS for an S3 bucket.
TLS usually terminates at the load balancer or at CloudFront, and traffic continues to the targets over HTTP inside the VPC. When compliance rules require encryption all the way to the application, the load balancer re-encrypts the traffic by sending it to an HTTPS target group, and each target presents its own certificate. Databases and caches are also reached over TLS, for example by requiring SSL connections in an RDS parameter group or enabling in-transit encryption on ElastiCache.
Enforce encryption in transit
The certificate that cannot be selected
A developer requests a certificate for www.example.com in eu-west-1, validates it, and tries to attach it to a CloudFront distribution. It does not appear in the list.
| Service | Certificate Region |
|---|---|
| CloudFront | us-east-1 only |
| Edge-optimized API Gateway | us-east-1 |
| Regional API Gateway, ALB | The same Region as the resource |
The developer requests a second certificate in us-east-1 for CloudFront and keeps the eu-west-1 one for the ALB behind it. Both use DNS validation, so ACM renews them automatically.
Do public ACM certificates used with a load balancer need to be renewed manually?
Show answer
No. ACM renews them automatically, as long as domain validation still succeeds, which is why DNS validation is preferred.
Exam Tips
Remember for the exam
- A free, automatically renewing certificate for an ALB or CloudFront is an ACM public certificate with DNS validation.
- Internal certificates or mutual TLS point to AWS Private CA.
- A certificate that failed to renew has usually lost its DNS validation record.
- TLS on an EC2 web server calls for an ACM exportable public certificate, or for terminating TLS at a load balancer in front of the instance.
- When encryption is required all the way to the targets, use HTTPS target groups behind the ALB.