Interview Prep/Networking/TLS, HTTP & Application Layer

How do you rotate a TLS certificate without downtime?

IntermediateScenarioTLS, HTTP & Application Layer
Answer

Situation read → Overlap old and new and reload gracefully.

What I'd do →

  1. Issue the new certificate before the old one expires, at least 30 days ahead
  2. Deploy the chain and key in the same file set and reload gracefully: nginx -t && nginx -s reload
  3. On ALB import or replace the cert in ACM and the listener updates without drop
  4. Verify with openssl s_client from outside
  5. Automate with certbot or cert-manager renewals and alert at 14 days

Why → Graceful reload keeps existing connections alive while new ones use the new cert.

Interview tip → Mention that forgotten certs on non-HTTP services (SMTP, LDAP) are the usual outage.

All Networking questions Roadmap: Networking for DevOps

More on TLS, HTTP & Application Layer