跳至內容

I am trying to switch over a Beanstalk application to disable TLSv1.1 and enable TLSv1.3, and it's not working. What am I doing wrong?

0

I have an Elastic Beanstalk application, with an Application Load Balancer. Everything I read about switching such an environment to disable TLSv1.1 and enable TLSv1.3 says all I need to do is switch the security policy in the load balancer's HTTPS:443 listener.

I switched it from ELBSecurityPolicy-TLS-1-1-2017-01 to ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09. Yet, if I do a Qualys SSLLabs scan on the site, I still get: TLS 1.3 No TLS 1.2 Yes TLS 1.1 Yes

Where did I screw up?

已提問 3 個月前檢視次數 46 次
2 個答案
2
已接受的答案

The most probable reason is that you changed the SSLPolicy directly on the ALB instead of making the change via the SSLPolicy in your EB configuration (which in that case would be considered "drift" and get reverted by EB). If that's not the case, validate that you indeed changed the correct HTTPS listener and that your site isn't behind CloudFront or another CDN and that your scan isn't hitting the CDN's TLS configuration instead of the ALB's.

AWS
已回答 3 個月前
AWS
專家
已審閱 3 個月前
  • Thank you; that did not even occur to me. You're almost certainly right; I just went straight to the load balancer. It's getting a bit late, though, so forgive me if I wait until tomorrow to investigate further.

  • I can't find anything for the load balancer in the Beanstalk configuration (unfortunately, I'm not the Beanstalk expert around here). Can somebody please tell me which haystack my needle is in?

  • I just found out one place where I'd really screwed up: there were two load balancers, for two different applications ("C" and "W"), and I'd changed the one for "C," thinking it was "W," and then did the SSLLabs scan on W. When I scanned "C," it was rejecting TLSv1.1 and accepting TLSv1.3, and when I made the change to "W," still at the load balancer level, and scanned it, the same.

    And I also found where the load balancer settings are in the Beanstalk configuration, and made the same change there.

0

TLS13-1-2-Res-PQ-2025-09 supports both TLSv1.2 and TLSv1.3. Can you try with a TLS v1.3 only security policy like ELBSecurityPolicy-TLS13-1-3-2021-06. Ref: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html

專家
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。