Emergency CheatsheetCODE: 014-SSL-TLS-TROUBLESHOOTING⏱️ ~9 min read
SSL/TLS Handshake & Certbot Runbook: Troubleshooting HTTPS from Client to Nginx
Diagnose certificate chain issues, expired TLS certificates, SNI mismatch, and automate Let's Encrypt renewal with Certbot.
Authored by: Vibe DevOps · Published: 10/22/2026
Expired certificates, incomplete intermediate CA chains, and mismatched cipher suites cause immediate client outages. Step-by-step verification using OpenSSL and Certbot.
1. Remote Certificate Validation
echo | openssl s_client -servername <domain> -connect <domain>:443 2>/dev/null | openssl x509 -noout -dates -issuer -subject
2. Automated Renewal with Certbot
sudo certbot renew --dry-run
sudo certbot certificates
💡 Team Storage & Usage Tips
Store the vector PDF in your internal team repository (Notion, Confluence) or print it out in A4 format next to your workstation for rapid troubleshooting during midnight production outages.