TLS Handshake
TLS establishes encryption and authenticates the server before HTTP exchange.
Verify in Practice
openssl s_client -connect api.example.com:443 -servername api.example.com
curl -v https://api.example.com/health
Common Problems
- Certificate expired or missing intermediate CA.
- Hostname mismatch between SNI and SAN/CN.
- Unsupported protocol or cipher overlap.