スキップしてコンテンツを表示

Is it possible to do mTLS using a NLB?

0

Hi there!

I have a service that listens over a normal TCP socket (not HTTP* compatible), and my plan is to run it behind an NLB and offload the SSL to the NLB for clients connecting. However, I've been informed that we need to have mTLS enabled on these communications in our production environment. I know mTLS is possible for ALB, but that requires me to use HTTP* for communications, and this service doesn't support it.

I was wondering if there is a way or something I can use in the AWS Toolkit to do this. I'm trying to avoid updating the service to handle the TLS on both sides.

Thanks Ian

2回答
6

NLB is a layer 4 loadbalancer and MTLS works at higher layer. Thus natively it doesnot have a feature to support mTLS, but With TCP listeners you can use NLB as a pass through and allow mutual TLS negotiation between Client and the target.

The main idea here is not to terminate TLS at the NLB and have negotiation on top of the NLB's TCP connection.

AWS
回答済み 1年前
エキスパート
レビュー済み 1年前
5
承認された回答

No, Network Load Balancers do not support mutual TLS or any other way to authenticate the client. Support for mTLS has existed for a long time on the API Gateway and was introduced only relatively recently for the ALB, with no indication that it would be made available for the NLB.

Broadly speaking, the NLB is positioned as an lean-and-mean traffic processing layer with ultra-high scalability and low latency. I would guess that mTLS with all the complexities related to validating certificates issued by various sources may never fit well with the way the NLB is meant to operate. It might be a better fit in the future for the AWS Network Firewall, but I believe it also doesn't support mTLS now.

エキスパート
回答済み 1年前
エキスパート
レビュー済み 1年前
エキスパート
レビュー済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ