`SSL_ERROR_RX_RECORD_TOO_LONG` in Firefox for your HTTPS site.
BeginnerTroubleshootingTLS and certificate errors
Answer
Likely causes → Port 443 is serving plain HTTP: missing ssl on the nginx listen 443 line, or a load balancer forwards HTTPS to an HTTP port without terminating TLS.
Diagnose →
curl -v http://host:443/
grep -n 'listen' /etc/nginx/sites-enabled/*
Fix → listen 443 ssl; with certificate directives, or terminate TLS at the LB.
Prevent → Config tests in CI (nginx -t) plus an HTTPS smoke test after deploy.
More on TLS and certificate errors
`curl: (60) SSL certificate problem: certificate has expired`Beginner`curl: (60) SSL certificate problem: unable to get local issuer certificate`Beginner`SSL: no alternative certificate subject name matches target host name 'api.example.com'`BeginnerSome clients get the wrong certificate (another site's) from a shared IP.Intermediate`SSL routines::sslv3 alert handshake failure` from `openssl` or curl.IntermediatePython `requests` fails with `SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain`.Beginner