Interview Prep/Networking/TLS, HTTP & Application Layer

You must rotate the root CA used by every service in a mesh. How do you avoid an outage?

AdvancedScenarioTLS, HTTP & Application Layer
Answer

Situation read → Trust must overlap: new CA is trusted before it is used to sign.

What I'd do →

  1. Distribute a trust bundle containing both old and new roots to all workloads
  2. Wait until every workload has the combined bundle
  3. Switch the issuing CA to the new one and let short-lived certs rotate
  4. Remove the old root only after its issued certs have expired
  5. Monitor handshake failures per service, and have a rollback to the old issuer

Why → Trust first, then issue, then retire; any other order breaks verification.

Interview tip → Say you rehearse this in staging because CA rotation is rare and scary.

All Networking questions Roadmap: Networking for DevOps

More on TLS, HTTP & Application Layer