Can an ALB send SNI to the target group?

0

It seems that when the ALB is attempting to connect with a target server over TLS, that the SNI from the client is not passed in the client hello. Without the SNI, a Windows server will not negotiate a connection protocol. Instead the server will send an RST resulting in a 502 bad gateway error.

Without this setting it is impossible to use the application load balancer with a windows server over TLS.

已提問 2 個月前檢視次數 442 次
2 個答案
0

Sound alike your performing mutal TLS from the client to the server. If you are you need to use an NLB TCP or and ALB with mtls https://docs.aws.amazon.com/elasticloadbalancing/latest/application/mutual-authentication.html

Usually a SSL client connects to an ALB and the ALB makes the connection between itself to the target group. The client certificate hello never goes to the server with the standard ALB

If you’re not doing Mtls perhaps you’ve a miss configuration on the target group. You could be trying to use tls on a http port otherwise.

profile picture
專家
已回答 2 個月前
profile picture
專家
已審閱 1 個月前
0

Gary, Thank you for taking the time to try to help. I want to use the ALB because it will allow me to use a WAF. The Windows Server 2022 target works with SSL from everywhere except from the ALB. After spending may hours with Wireshark, the only thing I can point to is the missing domain name in the Client Hello. The server refuses to send a Server Hello to the ALB and instead sends an RST. I have tried selecting the mTLS option and it does not make a difference.

I cannot find any reason why the ALB should not work with a standard Windows EC2 instance, but it just does not. This exact configuration was working as expected with Server 2012.

Again, thank you for your reply.

已回答 1 個月前

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

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

回答問題指南

相關內容