A TLS error means your browser and a website could not establish an encrypted TLS connection, so the browser blocks the page instead of loading it over an insecure connection. The most common causes are a server that only supports outdated TLS versions, a certificate that is expired or does not match the site name, a wrong system clock, or security software intercepting the connection.
Key takeaways
- A TLS error means the encrypted connection failed before the page could load, and the browser blocks it to protect you.
- Most TLS errors are server problems: outdated TLS versions, expired or mismatched certificates, or a misconfigured server.
- Visitors can usually fix it by checking the clock, updating the browser or disabling HTTPS scanning; owners must fix the server.
You click a link and instead of the page you get a warning: the connection is not private, the secure connection failed, or a TLS error occurred. It feels like your browser is broken, but usually it is doing exactly what it should — refusing to talk to a server it cannot trust.
What is a TLS error?
A TLS error means your browser and a website could not set up an encrypted TLS connection, so the browser blocked the page rather than loading it without encryption. TLS is the protocol that puts the padlock in your address bar and keeps your logins and card details private.
The error is a symptom, not a single problem. It can mean the server speaks only an outdated version of TLS, its certificate is expired or does not match the site, your device clock is wrong, or something on your network is interfering with the connection. The exact error code tells you which of these it is.
TLS replaced the older SSL protocol years ago, but browsers and guides still use the two names interchangeably, which is why the same problem can appear as an SSL error, a TLS error or a secure connection failure depending on the browser.
How does the TLS handshake work?
The TLS handshake is the short negotiation at the start of every secure connection. Your browser sends a ClientHello listing the TLS versions and cipher suites it supports, the server answers with a ServerHello choosing one of each, and only then does the server present its certificate for the browser to verify.
If the two sides cannot agree on a version or a cipher, the handshake aborts right there, before any certificate is exchanged. That is why many TLS errors have nothing to do with certificates at all: the conversation ended before the certificate part began.
Once the handshake succeeds, the browser checks the certificate: is it within its validity dates, does it match the site name, and does it chain to a trusted root? Only if all of that passes does the page load. RFC 8446, which defines TLS 1.3, describes this handshake and the alerts each side sends when it fails.
What are the most common TLS error codes?
Each browser names the same failures differently, so the code you see depends on where you are. The table below translates the most common ones into plain English.
| Error code | Browser | What it means | Usually whose fault |
|---|---|---|---|
| ERR_SSL_PROTOCOL_ERROR | Chrome, Edge | Handshake failed before any certificate was checked | Server or middlebox |
| ERR_SSL_VERSION_OR_CIPHER_MISMATCH | Chrome, Edge | No shared TLS version or cipher suite | Server |
| NET::ERR_CERT_DATE_INVALID | Chrome, Edge | Certificate expired or not yet valid | Server |
| NET::ERR_CERT_COMMON_NAME_INVALID | Chrome, Edge | Certificate does not match the site name | Server |
| SSL_ERROR_UNSUPPORTED_VERSION | Firefox | Site uses TLS below 1.2, the Firefox minimum | Server |
| SSL_ERROR_RX_RECORD_TOO_LONG | Firefox | Server answered with plain HTTP on the TLS port | Server |
| SEC_ERROR_UNKNOWN_ISSUER | Firefox | Certificate issuer is not trusted | Server or interceptor |
| PR_END_OF_FILE_ERROR | Firefox | Connection closed during the handshake | VPN, antivirus or proxy |
| Cannot establish a secure connection | Safari | Generic handshake or certificate failure | Server or device |
On an iPhone, the same failures usually appear as a Safari message saying the connection is not private, or as "An SSL error has occurred" in apps. The underlying cause is the same: the handshake failed or the certificate did not verify.
What causes a TLS error?
The most common cause is a server stuck on an outdated TLS version. Browsers removed TLS 1.0 and 1.1 in 2020, and Firefox enforces TLS 1.2 as its minimum by default. A server that offers nothing newer worked fine for years and then started failing for everyone the day browsers dropped the old versions, even though nothing on the server changed.
The second family of causes is certificates: expired, issued for the wrong name, missing an intermediate certificate, or signed by an authority the browser does not trust. A wrong system clock causes the same symptom, because a certificate that is valid today looks expired to a device whose clock says last year.
The third family is interference in the middle. Antivirus products with HTTPS scanning, corporate proxies, VPN clients and captive portals on public Wi-Fi all insert themselves into TLS connections. When that interception is misconfigured or outdated, the handshake breaks and the browser reports a protocol error. The giveaway is that the site fails on one machine and works on every other device on the same network.
Finally, there is plain misconfiguration: a server answering with unencrypted HTTP on port 443, a load balancer talking HTTP to an origin that expects HTTPS, or a Cloudflare SSL mode that does not match the origin server. These produce protocol errors because the browser receives bytes that are not TLS at all.
How do you fix a TLS error as a visitor?
Start with the quick checks, because they solve most visitor-side cases. Work through them in order and retest the site after each step.
- Check the date and time. Set your device to sync automatically. A clock that is days or months off breaks certificate validation outright.
- Update your browser and operating system. Older browsers do not support current TLS versions, and updates also fix handshake bugs.
- Try an incognito or private window. If the site loads there, an extension or cached data is interfering. Disable extensions one by one to find it.
- Clear browsing data and the SSL state. In Chrome, clear cached data; stale HSTS entries for a domain can also be cleared at chrome://net-internals/#hsts.
- Try another browser and another device. If Firefox fails where Chrome works, the problem is in Chrome's state. If every device fails, the problem is the server.
- Temporarily disable HTTPS scanning in your antivirus. If the site loads, update the antivirus or leave its scanning off for that product and report the issue to the vendor.
- Disconnect your VPN and try again. If the error disappears, the VPN's interception or its DNS is the cause.
If the error appears on one site only, on every device and every network, stop troubleshooting your own machine: the site's server is at fault. Contact the site owner and tell them the exact error code you see.
How do you fix a TLS error as a website owner?
If visitors report a TLS error on your site, diagnose at the TLS layer, not in your application logs: failed handshakes never reach the application. Ask the server directly what it speaks with OpenSSL.
Run openssl s_client -connect yourdomain.com:443 -servername yourdomain.com and look for the negotiated protocol and the certificate chain. A healthy server prints a chain and a line like TLSv1.3. Test each version explicitly with -tls1_2 and -tls1_3 to find which ones work.
Then fix the server configuration: enable TLS 1.2 and 1.3 only, with a modern cipher list. In nginx that is ssl_protocols TLSv1.2 TLSv1.3;, and in Apache it is SSLProtocol -all +TLSv1.2 +TLSv1.3. Make sure port 443 actually serves TLS and not plain HTTP, check that the certificate matches the domain and includes its intermediate chain, and renew it before it expires.
If the site sits behind Cloudflare or another proxy, check the SSL mode matches the origin: Flexible mode talks plain HTTP to the origin, so it fails if the origin only accepts HTTPS. Full (strict) mode is the correct setting for an origin with a valid certificate.
Set up expiry monitoring so a lapsed certificate never surprises you again: our free SSL checker shows a domain's certificate chain, expiry date and supported TLS versions in seconds. Mozilla's Firefox secure-connection guide covers the same failures from the browser's side.
Is it safe to bypass a TLS error?
Usually, no. The browser blocks the connection because it cannot verify who it is talking to or whether anyone is listening in. Clicking through a warning to log in, pay or enter personal details on a site you do not fully trust is exactly how credentials get stolen.
There is one narrow exception: a site you control, or a known internal service on your own network, where you understand the cause and the risk. Even there, the correct fix is to repair the certificate or the TLS configuration, not to train yourself to ignore warnings. Browsers removed the bypass option for the most serious handshake failures precisely because clicking through had become a habit.
The bottom line
A TLS error is your browser refusing an encrypted connection it cannot verify. Most of the time the server is at fault: outdated TLS, an expired or mismatched certificate, or a misconfigured proxy. As a visitor, check your clock, update your browser and test another device; as an owner, test with OpenSSL and serve TLS 1.2 and 1.3 with a valid certificate chain.
If you run a site, do not wait for visitors to report the problem. Check your own domain now with the free SSL checker.
For the next step in locking down your domain, read our guide to DMARC.
Frequently asked questions
What is a TLS error in simple terms?
A TLS error means your browser tried to set up a private, encrypted connection to a website and failed. Instead of showing the site without encryption, the browser blocks it and shows an error page. The problem is usually with the website's server, not with your computer.
What causes a TLS error?
The most common causes are a server that only supports old TLS versions, an expired or mismatched certificate, a wrong date and time on your device, or antivirus or corporate software that intercepts secure connections. A misconfigured server that answers with plain HTTP on the secure port also causes one.
How do I fix a TLS error in Chrome?
First check that your system date and time are set to automatic, then update Chrome and try an incognito window. If the error appears on one site only, the problem is almost certainly the site's server. Clearing browsing data and temporarily disabling HTTPS scanning in your antivirus are the next steps to try.
What does ERR_SSL_PROTOCOL_ERROR mean?
It means the TLS handshake failed before the browser ever saw a certificate. The browser and server could not agree on how to speak TLS, or the server answered with something that was not TLS at all. It is a protocol problem, not a certificate problem.
Is a TLS error dangerous?
The error itself is your browser protecting you: it refuses to send your data over a connection it cannot verify. The danger is in bypassing it. Never click through a TLS warning to log in, pay, or enter personal details on a site you do not fully trust.
Why does a TLS error happen on only one website?
Because the problem is usually that website's server. Other sites work fine because their servers support modern TLS and have valid certificates. If one site fails everywhere and on every device, contact the site owner and ask them to update their TLS configuration and certificate.
Can a VPN cause a TLS error?
Yes. Some VPNs, corporate proxies and antivirus tools intercept TLS connections to inspect traffic, and a broken or outdated interception setup can cause protocol errors. Try disconnecting the VPN or disabling HTTPS scanning temporarily to see whether the error disappears.
What is the difference between a TLS error and a certificate error?
A TLS error means the encrypted connection itself could not be established, so no certificate was ever checked. A certificate error means the connection was established and the browser examined the certificate, but found it expired, mismatched, or issued by an untrusted authority.
Sources
- IETF — RFC 8446, The Transport Layer Security (TLS) Protocol Version 1.3
- Mozilla Support — Secure connection and security warning error pages in Firefox
- HostTracker — ERR_SSL_PROTOCOL_ERROR: what it means and how to fix it
- DEV Community — ERR_SSL_PROTOCOL_ERROR: When the Handshake Fails Before the Certificate
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against IETF RFC 8446 (TLS 1.3), Mozilla's Firefox secure-connection documentation, and protocol-error troubleshooting guides.
How we write and fact-check →