A health check to an HTTPS backend fails after enabling TLS on the app. What do you check?
IntermediateScenarioTLS, HTTP & Application Layer
Answer
Situation read → The load balancer must trust or ignore the backend certificate.
What I'd do →
- Confirm the health check protocol is HTTPS and the port matches
- Test locally:
curl -vk https://10.0.1.10:8443/health - ALB does not validate the backend certificate, but NLB TLS and Envoy do
- Check the path and expected status code
200-299 - Look at the TargetHealth reason with
aws elbv2 describe-target-health
Why → A protocol mismatch looks like a timeout or a TLS alert at the LB.
Interview tip → Say target health reason codes name the failure exactly.
More on TLS, HTTP & Application Layer
Explain what happens in a TLS 1.3 handshake in a few sentences.BeginnerYour site must redirect all HTTP traffic to HTTPS. How do you do it?BeginnerWhat is the difference between 4xx and 5xx errors, and which ones do you see most in networking problems?BeginnerHTTP/1.1, HTTP/2 and HTTP/3: what changed and why does it matter in operations?BeginnerThe browser console shows a CORS error when your frontend calls your API. What is it and how do you fix it?BeginnerHow do you check which certificate a server presents and when it expires?Beginner