11.3 Encryption in Transit with AWS Certificate Manager (ACM)

Key Takeaways

  • AWS Certificate Manager (ACM) automates the provisioning, deployment, and renewal of public and private SSL/TLS certificates for AWS-integrated services including Application Load Balancers, Network Load Balancers, CloudFront, and API Gateway.
  • Public ACM certificates are provided at zero monetary cost, but their private keys are managed within AWS secure enclaves and cannot be downloaded or installed directly on EC2 instances or on-premises servers.
  • DNS validation enables automatic certificate renewal 60 days before expiration as long as CNAME records persist, whereas email validation requires manual interaction for initial issuance and annual renewal, introducing expiration risk.
  • AWS Private Certificate Authority (AWS Private CA) provides managed enterprise PKI for internal microservices, containers, and IoT devices, supporting private key export for on-premises and EC2 deployments.
  • Application Load Balancers enforce encryption in transit by upgrading HTTP (port 80) requests to HTTPS (port 443) via HTTP 301 redirects and applying modern TLS security policies that disable insecure protocols and ciphers.
Last updated: September 2026

11.3 Encryption in Transit with AWS Certificate Manager (ACM)

CloudOps Blueprint Focus: The AWS Certified CloudOps Engineer – Associate (SOA-C03) exam tests your ability to protect network communications across AWS infrastructure. You must master AWS Certificate Manager (ACM) certificate lifecycles, configure automated DNS validation and renewal workflows, establish expiration monitoring using CloudWatch and AWS Config, deploy private PKI using AWS Private CA, and enforce modern TLS security policies and HTTP-to-HTTPS redirects on Application Load Balancers.

AWS Certificate Manager (ACM) Architecture & Integrated Services

Protecting data in transit across public and private networks requires Transport Layer Security (TLS/SSL). AWS Certificate Manager (ACM) simplifies the complex, error-prone operational lifecycle of SSL/TLS certificates by automating certificate provisioning, validation, deployment, and renewal.

Native Integrated AWS Services

Public ACM certificates bind directly to AWS network termination endpoints:

  • Elastic Load Balancing: Application Load Balancers (ALB) and Network Load Balancers (NLB with TLS listeners).
  • Amazon CloudFront Distributions: Global content delivery network distributions. Exam Critical: CloudFront is a global edge service; all ACM certificates used by CloudFront must be requested or imported strictly in the us-east-1 (N. Virginia) Region.
  • Amazon API Gateway: Custom domain names for Regional and Edge-optimized REST and HTTP APIs.
  • AWS Elastic Beanstalk & AWS App Runner: Managed web application hosting environments.

The Non-Exportable Private Key Security Constraint

A fundamental architectural principle of public ACM certificates is that private keys cannot be exported or downloaded. ACM manages the private key within its secure HSM boundary. Consequently, you cannot use a public ACM certificate directly on a bare Amazon EC2 instance running Nginx or Apache, nor can you export it to an on-premises physical server. Public ACM certificates must terminate on an integrated AWS managed service (such as an ALB or CloudFront), which handles TLS termination and forwards decrypted traffic to backend compute instances over private VPC subnets.


Certificate Validation Mechanisms: DNS vs. Email Validation

Before ACM issues a public certificate, the applicant must prove ownership of the requested domain name. ACM provides two validation mechanisms with starkly different operational characteristics:

Operational DimensionDNS Validation (AWS Recommended)Email Validation
Validation MechanismAdd a unique CNAME record provided by ACM to the domain's public DNS hosted zone.ACM sends approval emails to domain contacts listed in WHOIS and 5 standard administrative inboxes.
Route 53 IntegrationOne-click automatic insertion of CNAME records if Route 53 is in the same AWS account.Manual; requires human operator to open email and click validation link.
Annual Renewal WorkflowFully automated and indefinite. ACM checks DNS continuously; renews 60 days before expiry.Manual human action required. ACM resends approval emails 45 days before expiry.
Operational Risk ProfileNear zero. As long as CNAME persists and certificate is in use, it never expires unexpectedly.High risk. Spam filters, employee turnover, or unmonitored mailboxes lead to unexpected outages.

DNS Validation Mechanics

When you request a certificate using DNS validation, ACM generates a unique, domain-specific CNAME record containing an MD5/SHA-256 hash:

  • Name: _a79865eb4b9f365.example.com.
  • Value: _x2.acm-validations.aws.

Once added to the DNS zone, ACM queries public DNS servers. Upon verification, the certificate state transitions from Pending validation to Issued. Crucially, DNS validation handles renewals forever. As long as the CNAME record remains in place and the certificate remains actively bound to an AWS resource, ACM automatically issues and deploys renewed certificates 60 days prior to expiration with zero human intervention.


Certificate Expiration Monitoring & Observability

While DNS-validated ACM certificates renew automatically, operational blind spots can still cause production failures (e.g., if a developer deletes a CNAME record, an imported third-party certificate nears expiry, or a certificate is unused and thus excluded from auto-renewal). CloudOps teams establish proactive observability using two AWS monitoring mechanisms:

1. Amazon CloudWatch Metric: DaysToExpiry

ACM publishes the metric DaysToExpiry in the AWS/CertificateManager namespace for each active certificate:

  • CloudOps engineers configure a CloudWatch Alarm triggered when DaysToExpiry <= 30 (Warning) or DaysToExpiry <= 14 (Critical).
  • The alarm notifies an Amazon SNS topic linked to the on-call PagerDuty or Slack engineering channel, prompting immediate investigation.

2. AWS Config Managed Rule: acm-certificate-expiration-check

For centralized multi-account governance, AWS Config provides a pre-built managed rule:

  • Rule Identifier: acm-certificate-expiration-check
  • Parameters: daysToExpiration (e.g., set to 14 or 30).
  • When AWS Config detects an ACM certificate expiring within the designated threshold, it marks the resource as NON_COMPLIANT and emits a compliance state-change event to Amazon EventBridge, triggering automated ticket creation or executive alerting.

AWS Private Certificate Authority (AWS Private CA)

Public SSL/TLS certificates cannot be issued for internal domains (e.g., api.internal.corp) and cannot be exported to internal compute resources. For enterprise internal security, AWS provides AWS Private Certificate Authority (AWS Private CA):

  • Managed Enterprise PKI: Allows organizations to create a complete private CA hierarchy (Root CA and Subordinate/Issuing CAs) without operating complex on-premises OpenSSL or Microsoft CA infrastructure.
  • Internal Microservices & mTLS: Issues internal certificates for service-to-service mutual TLS (mTLS) in Amazon EKS, ECS, and service meshes (AWS App Mesh / Istio).
  • Exportable Private Keys: Unlike public ACM certificates, private certificates issued by AWS Private CA can have their private keys and certificates exported via the AWS CLI or API (acm:ExportCertificate), allowing secure installation directly onto backend EC2 instances, on-premises virtual machines, and IoT microcontrollers.

Enforcing In-Transit Security: ALB Policies & HTTP Redirection

Terminating TLS on an Application Load Balancer requires strict operational hygiene to eliminate deprecated cryptographic standards and ensure all traffic is encrypted.

Enforcing TLS Security Policies

ALB HTTPS listeners use predefined TLS Security Policies that define supported TLS protocol versions and cryptographic cipher suites. Legacy policies often permit insecure protocols (TLS 1.0, TLS 1.1) and vulnerable CBC-mode ciphers susceptible to exploits like POODLE and BEAST.

Security PolicyMinimum TLS VersionSupported ProtocolsOperational Compliance Target
ELBSecurityPolicy-TLS13-1-2-2021-06TLS 1.2TLS 1.2, TLS 1.3Modern Best Practice. Disables TLS 1.0/1.1; supports PFS ciphers.
ELBSecurityPolicy-FS-1-2-Res-2020-10TLS 1.2TLS 1.2High security; enforces Forward Secrecy (FS) ciphers only.
ELBSecurityPolicy-2016-08TLS 1.0TLS 1.0, 1.1, 1.2Legacy Default. Insecure; permits outdated ciphers; fails PCI/HIPAA audits.

CloudOps engineers must replace default policies with modern policies like ELBSecurityPolicy-TLS13-1-2-2021-06 on all production HTTPS listeners.

HTTP to HTTPS Listener Redirection

To prevent users from inadvertently transmitting plaintext data, ALBs natively support HTTP-to-HTTPS Redirection at the listener level without requiring backend web server rewrites:

{
  "Type": "redirect",
  "RedirectConfig": {
    "Protocol": "HTTPS",
    "Port": "443",
    "Host": "#{host}",
    "Path": "/#{path}",
    "Query": "#{query}",
    "StatusCode": "HTTP_301"
  }
}

Configuring this redirect rule on the port 80 (HTTP) listener causes the ALB to return an immediate HTTP 301 Moved Permanently response, seamlessly upgrading client browsers to encrypted port 443 sessions.

Test Your Knowledge

A digital media company manages 40 public SSL/TLS certificates across various web applications using AWS Certificate Manager (ACM). During a recent security review, the operations team discovered that three production certificates had expired unexpectedly because the administrative contact who originally clicked the validation email had left the company. The team must transition all certificates to an automated validation and renewal strategy that requires zero human intervention for future annual renewals. Which operational strategy should the team implement?

A
B
C
D
Test Your Knowledge

An operations team is configuring an Application Load Balancer (ALB) for a healthcare web portal subject to HIPAA compliance. The compliance specification mandates two requirements: (1) all incoming unencrypted HTTP requests on port 80 must be automatically redirected to secure HTTPS on port 443 with an HTTP 301 status code, and (2) all TLS connections must strictly enforce TLS 1.2 or TLS 1.3 while disabling deprecated TLS 1.0, TLS 1.1, and legacy CBC-mode ciphers. How should the CloudOps engineer configure the ALB listeners and policies?

A
B
C
D
Test Your Knowledge

A CloudOps team needs to establish continuous compliance monitoring for all public and private SSL/TLS certificates across multi-account AWS environments. The security team requires automated alerting whenever any certificate managed by AWS Certificate Manager (ACM) is within 30 days of expiration, enabling engineers to investigate any unrenewed certificates before service disruption occurs. Which native AWS monitoring solution achieves this with automated event routing?

A
B
C
D