Skip to content
SSL and certificates3 min read

ERR_SSL_PROTOCOL_ERROR: this site can't provide a secure connection

ERR_SSL_PROTOCOL_ERROR

Short answer

ERR_SSL_PROTOCOL_ERROR means the browser couldn't set up a secure (HTTPS) connection with the site because the server's answer wasn't a valid TLS connection. The usual cause is that no SSL certificate is active for the domain on the server, or the domain points to the wrong server; on the visitor's side, a wrong device clock or antivirus intercepting traffic.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Common causes
  2. How to fix it
  3. Prevention
  4. On ArabyHost

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:3000 while the server only speaks HTTP.

How to fix it

If you’re a visitor

  1. Fix the date and time and set them to automatic in system settings.
  2. Try a private window, then clear cache and cookies.
  3. Clear the SSL state on Windows: search for Internet Options » Content tab » Clear SSL state.
  4. Temporarily disable HTTPS scanning in your antivirus and turn off any VPN.
  5. 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

  1. See what the server offers on port 443:

    openssl s_client -connect example.com:443 -servername example.com </dev/null

    wrong version number usually means the port answers with plain HTTP; no peer certificate available means no certificate is being presented.

  2. Check DNS with the DNS lookup tool; the domain and www must point to the current server IP.

  3. 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.

  4. 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.

  5. In local development: open http://localhost:3000 instead of https://, or enable HTTPS in your dev tooling.

  6. Test again in a private window, and with curl -vI https://example.com to 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.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.