HTTP SSL/TLS Handshake Errors — Certificate and Protocol Failures
Critical5xx server error
Overview
Fix SSL/TLS handshake errors including certificate expired, self-signed certificate, protocol version mismatch, and cipher suite negotiation failures.
Key Details
- The TLS handshake establishes encryption before any HTTP data is exchanged
- Common TLS versions: TLS 1.2 (widely supported) and TLS 1.3 (latest, faster handshake)
- Certificate errors prevent the handshake from completing — browser shows a security warning
- Cipher suite mismatch occurs when client and server have no common encryption algorithm
- Certificate chain must include all intermediate certificates — missing intermediates cause errors on some devices
Common Causes
- SSL certificate expired — certificates are valid for 1 year (previously 2 years)
- Self-signed certificate not trusted by the client's certificate store
- Missing intermediate certificate in the server's certificate chain
- Server only supports TLS 1.0/1.1 which modern browsers have deprecated
- Cipher suite mismatch between client and server (e.g., server only supports weak ciphers)
Steps
- 1Check certificate status: openssl s_client -connect example.com:443 -servername example.com
- 2Verify the full certificate chain: ssllabs.com/ssltest provides detailed analysis
- 3Renew expired certificates: use certbot for Let's Encrypt or your CA's renewal process
- 4Install intermediate certificates: concatenate server cert + intermediate cert in the correct order
- 5Enable TLS 1.2 and 1.3: disable TLS 1.0 and 1.1 for security compliance
- 6Use modern cipher suites: prioritize ECDHE and AES-GCM, disable RC4 and 3DES
Tags
ssltlscertificatehandshakeencryption
Related Items
More in 5xx Server Error
http-500-internal-server-errorHTTP 500 Internal Server Error — What It Means & How to Fix It
Criticalhttp-501-not-implementedHTTP 501 Not Implemented — What It Means & How to Fix It
Criticalhttp-502-bad-gatewayHTTP 502 Bad Gateway — What It Means & How to Fix It
Criticalhttp-503-service-unavailableHTTP 503 Service Unavailable — What It Means & How to Fix It
Criticalhttp-504-gateway-timeoutHTTP 504 Gateway Timeout — What It Means & How to Fix It
Criticalhttp-505-http-version-not-supportedHTTP 505 HTTP Version Not Supported — What It Means & How to Fix It
CriticalFrequently Asked Questions
Run: openssl s_client -connect yourdomain.com:443 2>/dev/null | openssl x509 -noout -dates. Or use ssllabs.com/ssltest for a full report.