- Newest
- Most votes
- Most comments
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.
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.
Relevant content
- asked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago