Lesson 3 of 3 AWS Secrets Manager, Parameter Store and ACM

Managing TLS Certificates with AWS Certificate Manager

This lesson explains how AWS Certificate Manager (ACM) provisions, manages and renews TLS certificates for AWS services, removing manual certificate work.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe ACM public certificates and the services that use them.
  • Identify where TLS terminates and how to encrypt to the origin.
  • Identify when AWS Private CA and SNI are used.

ACM certificates

AWS Certificate Manager (ACM) provides free public TLS certificates for integrated services such as Elastic Load Balancing, Amazon CloudFront and Amazon API Gateway. Certificates validated through DNS renew automatically for as long as the validation CNAME record remains in DNS, which removes a common cause of outages. Wildcard certificates, such as *.example.com, and certificates with several subject alternative names reduce the number of certificates to manage.

ACM certificates are Regional: a certificate must be in the same Region as the load balancer or API that uses it, and CloudFront requires certificates in us-east-1. Certificates imported from another authority are not renewed by ACM, so their expiry must be monitored, for example with EventBridge events or an AWS Config rule. Standard public certificates cannot be exported, but exportable public certificates, available for a fee since June 2025, can be installed on EC2 instances or on-premises servers.

True or false

ACM certificates

Exam skills 1.3.3 · 1.3.7

Check the facts about ACM certificates.

Log in to try this activity Interactive activities are free with an account.

Where TLS ends

When an ACM certificate is installed on CloudFront or an Application Load Balancer, TLS terminates there: traffic is encrypted between the client and the load balancer, and the load balancer forwards it to the targets, by default over plain HTTP inside the VPC. For most applications this is sufficient, and it lets the load balancer inspect and route requests.

When compliance rules require encryption all the way to the instances, there are two options. The load balancer can re-encrypt traffic by sending HTTPS to the targets, which then need their own certificates, for example from AWS Private CA or an exportable ACM certificate. Or a Network Load Balancer can pass TCP traffic through unchanged, so TLS terminates on the instances themselves.

The following diagram compares the default with the two options for encryption to the instances.

Three places where TLS can end. By default, TLS terminates at the CloudFront distribution or Application Load Balancer, which forwards HTTP inside the VPC. To encrypt all the way, the load balancer can re-encrypt with HTTPS to targets that hold their own certificates, or a Network Load Balancer can pass TCP through unchanged so that TLS terminates on the instances.
Only the first two options let the load balancer inspect and route on HTTP content.
Scenario questions

Encrypting to the instances

Exam skills 1.3.3

Choose how to carry encryption to the targets.

Log in to try this activity Interactive activities are free with an account.

Private certificates and SNI

Certificates are needed for internal services as well as public ones. AWS Private CA creates a private certificate authority that issues certificates trusted only within the organisation, for internal services, mutual TLS between services and IoT devices.

A single load balancer often serves several domains. Application Load Balancers support multiple certificates on one listener through Server Name Indication (SNI): the client states the domain it wants during the TLS handshake, and the load balancer presents the matching certificate, so one listener can serve many domains.

Worked example

HTTPS for a global website

A website runs behind an ALB in eu-west-1 with CloudFront in front, at www.example.com. TLS must be used from the browser to CloudFront and from CloudFront to the ALB.

ConnectionCertificate
Browser → CloudFrontACM public certificate in us-east-1 for www.example.com
CloudFront → ALBACM public certificate in eu-west-1 on the ALB's HTTPS listener
RenewalAutomatic for both, as long as the DNS validation records remain

Two certificates are needed because ACM certificates are Regional and CloudFront uses only us-east-1. Standard ACM certificates are free and terminate TLS on the integrated service; installing a certificate on EC2 itself would need a paid exportable certificate.

Check yourself

Can a public ACM certificate be installed directly on an EC2 instance?

Show answer

Not a standard one: standard public ACM certificates work only with integrated services, such as Elastic Load Balancing, CloudFront and API Gateway, which end TLS in front of the instance. Exportable public certificates, available for a fee, can be installed on an instance.

Exam Tips

Remember for the exam

  • For free HTTPS certificates with automatic renewal, use ACM with DNS validation.
  • CloudFront requires its ACM certificate in us-east-1.
  • To serve many HTTPS domains on one ALB listener, use multiple certificates with SNI.
  • For end-to-end encryption to EC2 targets, use an HTTPS target group or NLB TCP passthrough with certificates on the instances.
  • To cover many subdomains with one certificate, use a wildcard certificate in ACM.