Tightening TLS Security Policies Without Breaking Clients
This lesson explains where each AWS endpoint sets the TLS versions and ciphers it accepts, and how to find the clients that still use old protocols before tightening anything.
Learning outcomes
After completing this lesson, you will be able to:
- Identify where TLS settings live for each service.
- Identify the sources that reveal clients using old TLS versions.
- Describe the certificate lifecycle considerations.
Where TLS settings live
Each service sets TLS in its own place. On ALB and NLB, the listener's security policy sets the allowed protocols and ciphers: for example, ELBSecurityPolicy-TLS13-1-2-2021-06 allows TLS 1.2 and 1.3, and TLS 1.3-only policies also exist. Newer policies add post-quantum hybrid key exchange. On CloudFront, the viewer protocol policy redirects HTTP to HTTPS or requires HTTPS. The viewer security policy sets the minimum TLS version, and the origin protocol policy controls the connection to the origin; certificates must be in ACM in us-east-1.
On API Gateway, the custom domain's security policy sets the TLS version. Disabling the default execute-api endpoint forces all traffic through the custom domain. For S3 and other AWS APIs, resource policies deny requests where aws:SecureTransport is false, and s3:TlsVersion requires a minimum version. For databases, engine parameters such as rds.force_ssl or require_secure_transport require TLS. The following table summarises the settings.
| Service | Setting |
|---|---|
| ALB and NLB | Listener security policy (for example ELBSecurityPolicy-TLS13-1-2-2021-06 for TLS 1.2+, or a TLS 1.3-only policy); newer policies add post-quantum hybrid key exchange |
| CloudFront | Viewer protocol policy (redirect to HTTPS or HTTPS only), minimum viewer TLS security policy, origin protocol policy; certificates must be in ACM in us-east-1 |
| API Gateway | Custom domain security policy; disable the default execute-api endpoint to force traffic through the custom domain |
| S3 and other AWS APIs | Bucket or resource policies denying aws:SecureTransport false; s3:TlsVersion to require a minimum version |
| Databases | Engine parameters such as rds.force_ssl or require_secure_transport |
Where each service sets TLS
Finding clients that use old TLS
Before raising a minimum version, the clients that would break must be found. The following list describes the sources of that information.
- CloudTrail records
tlsDetails(TLS version and cipher) for AWS API calls, so you can query which callers still use TLS 1.0 or 1.1 on AWS endpoints. - ELB access logs include
ssl_protocolandssl_cipherper request. - CloudFront logs include the viewer's TLS protocol and cipher.
The following diagram shows the remaining path to a public API once its default execute-api URL is disabled.

Finding old TLS clients
Certificate lifecycle
Certificates must be renewed and managed throughout their lifecycle. The following list describes the relevant considerations.
- ACM public certificates with DNS validation renew automatically as long as the validation CNAME record remains.
- Imported certificates are not renewed; monitor ACM expiry events in EventBridge or the Config rule
acm-certificate-expiration-check. - Private keys of ACM certificates cannot be exported from integrated services; use ACM for Nitro Enclaves when an EC2 web server needs them.
Certificates over time
Compliance requires all client connections to the company's public API to use TLS 1.2 or later. The API is served by API Gateway through a custom domain. Penetration testers found that the API also answers on its default execute-api URL.
Set the custom domain's security policy to TLS 1.2 and disable the API's default endpoint, so clients cannot bypass the custom domain's policy through the default URL. Before the change, CloudTrail and access logs confirm which clients still negotiate older versions.
In which Region must a CloudFront certificate be?
Show answer
US East (N. Virginia), us-east-1.
Exam Tips
Remember for the exam
- ELB listener security policies set accepted TLS versions and ciphers; choose a TLS 1.2+ or TLS 1.3 policy.
- CloudFront certificates must be in us-east-1; set viewer and origin protocol policies.
- Disable API Gateway's default endpoint so clients cannot bypass custom domain TLS settings.
- Find old TLS clients with CloudTrail tlsDetails and ELB access log fields before tightening.
- Imported ACM certificates do not renew; alert on expiry.