Interview Prep/Networking/TLS, HTTP & Application Layer

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 →

  1. Confirm the health check protocol is HTTPS and the port matches
  2. Test locally: curl -vk https://10.0.1.10:8443/health
  3. ALB does not validate the backend certificate, but NLB TLS and Envoy do
  4. Check the path and expected status code 200-299
  5. 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.

All Networking questions Roadmap: Networking for DevOps

More on TLS, HTTP & Application Layer