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 →
- Distribute a trust bundle containing both old and new roots to all workloads
- Wait until every workload has the combined bundle
- Switch the issuing CA to the new one and let short-lived certs rotate
- Remove the old root only after its issued certs have expired
- 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.
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