How do you rotate a certificate with zero downtime?
IntermediateProductionTLS, Certificates & Network Security
Answer
Issue the new certificate before the old one expires, deploy it so servers load it without dropping connections (nginx -s reload or systemctl reload haproxy, which gracefully restart workers; ALB listeners switch atomically), verify the live endpoint, then revoke or retire the old one.
nginx -t && nginx -s reload
echo | openssl s_client -connect app.example.com:443 -servername app.example.com 2>/dev/null | openssl x509 -noout -dates -serial
For clients that pin or trust specific CAs, overlap both chains first.
More on TLS, Certificates & Network Security
How do you manage certificates at scale without outages?IntermediateHow does cert-manager work in Kubernetes?IntermediateWhat is the best way to terminate TLS in AWS?IntermediateWhat is SPIFFE/SPIRE and why do platforms adopt it?IntermediateHow do you handle TLS configuration drift across many servers?IntermediateWhat are the risks of terminating TLS at the edge and sending plain HTTP internally?Advanced