What does 'ERR_SSL_PROTOCOL_ERROR: This site can't provide a secure connection' mean?
Chrome couldn't complete a TLS handshake with the server. For a newly connected custom domain, the host usually hasn't issued the certificate yet or DNS points somewhere else. Locally, it usually means you opened https://localhost on a server that only speaks HTTP. Fix the DNS records your host asks for, wait for the certificate, or use http:// locally.
Last updated 2026-11-25 · Reviewed by ProofForge
The exact error
This site can't provide a secure connection
example.com sent an invalid response.
ERR_SSL_PROTOCOL_ERRORWhy it happens
- Custom domain added but the certificate isn't provisioned yet (DNS not verified).
- DNS A/CNAME records point to an old host or a parking page.
- Opening
https://on a port that serves plain HTTP (common on localhost). - A proxy or CDN in front with incompatible SSL mode settings.
How to fix it
- Check DNS records match exactly what your host (Replit, Vercel, Netlify) shows for the domain.
- Wait for the host to issue the certificate, then retry. Remove conflicting old A/AAAA records.
- Locally, use
http://localhost:PORT, or set up a trusted local cert. - If a CDN proxies the domain, use its full/strict TLS mode to the origin.
# what does DNS really point to?
dig +short example.com
dig +short www.example.com
# does the server complete TLS?
openssl s_client -connect example.com:443 -servername example.com </dev/null | headCheck it's fixed
curl -sI https://example.com returns a normal status, and the browser shows a valid certificate for the exact host.
Check your live app
A free, read-only public-surface scan. It cannot diagnose private sessions or every cause described above.
FAQ
How long does certificate issuance take?
Usually minutes after DNS is correct, sometimes longer while DNS propagates.
Is it a problem on my visitor's side?
Rarely. If it fails for everyone, it's DNS, the certificate or the server.
Does www need its own record?
Yes. Add DNS for www too and redirect it, or www visitors get errors.