Interview Prep/Networking/TLS, HTTP & Application Layer

Browsers trust your server but `curl` and Java clients fail with "unable to get local issuer certificate". What happened?

IntermediateScenarioTLS, HTTP & Application Layer
Answer

Situation read → The server sends only the leaf certificate and browsers fix it by fetching the intermediate.

What I'd do →

  1. Check the chain: openssl s_client -showcerts -connect example.com:443 -servername example.com
  2. Confirm only one certificate is sent
  3. Configure the server with the full chain: in Nginx ssl_certificate fullchain.pem;
  4. Re-test with curl -v and with an SSL checker

Why → Browsers cache or fetch intermediates (AIA), but most libraries do not.

Interview tip → Say the leaf must come first and the chain follows in order.

All Networking questions Roadmap: Networking for DevOps

More on TLS, HTTP & Application Layer