# AWS: An AWS listener’s default TLS policy depends on how you create it.

- Kind: guide (not rated)
- Action: Check the policy on each HTTPS or TLS listener and on CloudFront distributions serving your domain.
- Added: 2026-12-03
- Updated: 2026-12-03
- Web page: https://tldrtls.com/aws/

## Which AWS setting controls TLS?

Start where the visitor’s connection ends. A CloudFront distribution and the load balancer behind it have separate policies. ACM manages the certificate that identifies your site.

| Service | Set this | If you do nothing |
| --- | --- | --- |
| Application and Network Load Balancer | `ELBSecurityPolicy-TLS13-1-3-PQ-2025-09` | Console: a good post-quantum policy. CLI, CloudFormation and CDK: `ELBSecurityPolicy-2016-08`, which allows TLS 1.0 |
| CloudFront | `TLSv1.3_2025` | Depends on when and how the distribution was made. Check it. |
| Certificate Manager | Key algorithm `EC_secp384r1` | RSA 2048 |

## Load balancers

A listener's security policy decides the TLS versions, ciphers and key exchange. Policies with `PQ` in the name offer the hybrid post-quantum groups, including X25519MLKEM768.

- **TLS 1.3 only:** `ELBSecurityPolicy-TLS13-1-3-PQ-2025-09`
- **TLS 1.2 still needed:** `ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09`. This is the one AWS recommends. It keeps TLS 1.2 with a short cipher list.

A listener made in the console gets the recommended policy. A listener made by the CLI, CloudFormation or CDK without naming a policy gets `ELBSecurityPolicy-2016-08`. Set the policy explicitly in your infrastructure code so it survives the next deployment.

See what each listener uses:

```sh
aws elbv2 describe-listeners --load-balancer-arn LOAD_BALANCER_ARN \
    --query 'Listeners[].[Port,Protocol,SslPolicy]' --output table
```

Change it:

```sh
aws elbv2 modify-listener --listener-arn LISTENER_ARN \
    --ssl-policy ELBSecurityPolicy-TLS13-1-3-PQ-2025-09
```

In CloudFormation the property is `SslPolicy` on the listener. In Terraform it is `ssl_policy`.

## CloudFront

The security policy applies when you serve your own domain name with your own certificate.

- **TLS 1.3 only:** `TLSv1.3_2025`
- **TLS 1.2 still needed:** `TLSv1.2_2025`, which drops the CBC ciphers that `TLSv1.2_2021` still allows.

CloudFront offers X25519MLKEM768 to TLS 1.3 clients. The documentation lists no setting for it.

See what a distribution uses:

```sh
aws cloudfront get-distribution-config --id DISTRIBUTION_ID \
    --query 'DistributionConfig.ViewerCertificate.MinimumProtocolVersion'
```

To change it, set **Security policy** in the distribution's settings, or `MinimumProtocolVersion` in the distribution config.

## Certificates

ACM issues RSA 2048 unless you ask for something else. Ask for [ECDSA P-384](https://tldrtls.com/certificate-keys.md):

```sh
aws acm request-certificate --domain-name example.com \
    --validation-method DNS --key-algorithm EC_secp384r1
```

ACM renews certificates it issued when validation is by DNS and the record is still there. Imported certificates are yours to renew.

Public [post-quantum certificates](https://tldrtls.com/post-quantum-certificates.md) don't exist on AWS either. AWS Private CA can issue ML-DSA certificates for private use.

## Check the result

Replace `example.com` with your public hostname. With OpenSSL 3.5 or later, the first command asks specifically for hybrid key exchange. Look for `X25519MLKEM768` as the negotiated group. The second ([get weeb](https://tldrtls.com/checking-tools.md)) shows which TLS versions it accepts.

```sh
openssl s_client -connect example.com:443 -groups X25519MLKEM768 -brief </dev/null
weeb probe example.com --fix
```

## Sources

1. [AWS: Security policies for your Application Load Balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html) (fetched 2026-12-03)
2. [AWS: Application and Network Load Balancers now support post-quantum key exchange for TLS](https://aws.amazon.com/about-aws/whats-new/2025/11/network-load-balancers-post-quantum-key-exchange-tls) (fetched 2026-12-03)
3. [AWS: Supported protocols and ciphers between viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html) (fetched 2026-12-03)
4. [AWS Security Blog: How to evaluate and use ECDSA certificates in AWS Certificate Manager](https://aws.amazon.com/blogs/security/how-to-evaluate-and-use-ecdsa-certificates-in-aws-certificate-manager) (fetched 2026-12-03)
5. [AWS: Private CA now supports post-quantum digital certificates](https://aws.amazon.com/about-aws/whats-new/2025/11/aws-private-ca-post-quantum-digital-certificates) (fetched 2026-12-03)

## Changelog

- 2026-12-03: Changed the certificate key recommendation from P-256 to P-384.
- 2026-12-03: Clarified where to apply the policy and how to read the endpoint check.
- 2026-12-03: First version. Policy names taken from AWS documentation on this date. Commands not run by us.
