AWS
An AWS listener’s default TLS policy depends on how you create it.
Check the policy on each HTTPS or TLS listener and on CloudFront distributions serving your domain.
Added Updated
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:
aws elbv2 describe-listeners --load-balancer-arn LOAD_BALANCER_ARN \
--query 'Listeners[].[Port,Protocol,SslPolicy]' --output table
Change it:
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 thatTLSv1.2_2021still allows.
CloudFront offers X25519MLKEM768 to TLS 1.3 clients. The documentation lists no setting for it.
See what a distribution uses:
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:
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 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) shows which TLS versions it accepts.
openssl s_client -connect example.com:443 -groups X25519MLKEM768 -brief </dev/null
weeb probe example.com --fix
Sources
- AWS: Security policies for your Application Load Balancer fetched
- AWS: Application and Network Load Balancers now support post-quantum key exchange for TLS fetched
- AWS: Supported protocols and ciphers between viewers and CloudFront fetched
- AWS Security Blog: How to evaluate and use ECDSA certificates in AWS Certificate Manager fetched
- AWS: Private CA now supports post-quantum digital certificates fetched
Changelog
- Changed the certificate key recommendation from P-256 to P-384.
- Clarified where to apply the policy and how to read the endpoint check.
- First version. Policy names taken from AWS documentation on this date. Commands not run by us.