Chrome shows this with “This site can’t provide a secure connection: example.com sent an invalid response.” When you open an https:// link, the browser starts a TLS handshake and expects the server to answer with a certificate and encryption settings. If the server answers with something else (a plain HTTP page, a dropped connection) or software on your device interferes, the browser stops and shows this error.
Common causes
- No SSL certificate for the domain or subdomain on the server, or port 443 not speaking TLS at all.
- The domain points to an old or wrong server that doesn’t know the site.
- The device’s date and time are wrong, so the connection can’t be verified.
- Antivirus or a firewall inspecting HTTPS, or a VPN or proxy interfering.
- A stale SSL cache in the operating system or browser.
- A Cloudflare misconfiguration, or an edge certificate not yet active for a newly added domain.
- Local development: opening
https://localhost:3000while the server only speaks HTTP.
How to fix it
If you’re a visitor
- Fix the date and time and set them to automatic in system settings.
- Try a private window, then clear cache and cookies.
- Clear the SSL state on Windows: search for Internet Options » Content tab » Clear SSL state.
- Temporarily disable HTTPS scanning in your antivirus and turn off any VPN.
- Update your browser and try another browser or network. If the site fails everywhere, the problem is on the site.
If you own the site
-
See what the server offers on port 443:
openssl s_client -connect example.com:443 -servername example.com </dev/nullwrong version numberusually means the port answers with plain HTTP;no peer certificate availablemeans no certificate is being presented. -
Check DNS with the DNS lookup tool; the domain and
wwwmust point to the current server IP. -
Issue a certificate: in cPanel open Security » SSL/TLS Status, make sure every name is selected, then click Run AutoSSL. If it fails, see why AutoSSL fails.
-
With Cloudflare: check under SSL/TLS » Edge Certificates that the certificate is Active, and set the encryption mode to Full (strict) under SSL/TLS » Overview.
-
In local development: open
http://localhost:3000instead ofhttps://, or enable HTTPS in your dev tooling. -
Test again in a private window, and with
curl -vI https://example.comto see the full handshake.
Prevention
- Don’t force HTTPS until the certificate covers every name; follow the force HTTPS guide in order.
- When migrating, update records and issue the certificate on the new server before switching the old one off.
- Watch certificate renewal notices so the problem doesn’t turn into a “Your connection is not private” warning.
On ArabyHost
AutoSSL certificates are issued free and automatically as soon as the domain points to the server, so if this error appears after connecting a new domain, checking DNS and clicking Run AutoSSL in cPanel (one click from the Araby Panel) is usually enough. With Cloudflare, use Full (strict), since the server has a valid certificate. If you can’t find the cause, ask the Araby AI assistant to read the error logs, or see getting a free SSL certificate.
FAQ
Why do I get it when opening https://localhost?
Your dev server usually speaks plain HTTP, so when the browser asks for HTTPS it gets something that isn't TLS. Use http:// or enable HTTPS in your dev server.
Does clearing the SSL state in Windows fix it?
Sometimes, if the system is holding on to an old certificate or session. It won't help if the problem is on the server, so test from another device to be sure.
It started after I connected a new domain. What should I do?
Make sure the domain points to the right server, then issue a certificate in cPanel with Run AutoSSL. Until the certificate exists, HTTPS on that domain can fail.