ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Short answer: this is a TLS handshake failure, not a certificate failure. The browser sent a ClientHello listing the TLS versions and cipher suites it supports, the server answered with a set that does not intersect, and the connection died before any certificate was ever validated. Fix the protocol and cipher lists on the server (or upgrade the client), then re-test.
1. What ERR_SSL_VERSION_OR_CIPHER_MISMATCH actually means
During the handshake the client sends the versions it supports (supported_versions) and an ordered list of cipher suites. If the server’s configuration shares neither a version nor a suite, it returns a fatal handshake_failure alert and the browser surfaces it as ERR_SSL_VERSION_OR_CIPHER_MISMATCH. Firefox reports the same condition as SSL_ERROR_NO_CYPHER_OVERLAP or SSL_ERROR_UNSUPPORTED_VERSION; curl and OpenSSL show sslv3 alert handshake failure.
Typical causes, roughly in order of frequency:
- Server offers only TLS 1.3 while the client is an old OpenSSL 1.0.2, a JDK 8 runtime, an old Android WebView, or an embedded device.
- Server offers only legacy ciphers (RC4, 3DES, RSA key exchange, CBC+SHA1) and the modern browser refuses all of them.
- ECDSA-only certificate on a server whose cipher list contains only RSA suites, or the reverse.
- A TLS-intercepting middlebox — antivirus HTTPS scanning, a corporate proxy, a broken load balancer — rewriting or truncating the ClientHello.
- SNI default-server mismatch in nginx or Apache: the request lands on a server block with a different, or missing,
ssl_protocolssetting. - Key or signature types browsers no longer accept: DSA keys, 1024-bit RSA, SHA-1 signatures.
It is not the same as ERR_CERT_DATE_INVALID, ERR_CERT_AUTHORITY_INVALID or ERR_CERT_COMMON_NAME_INVALID. Those mean the certificate was reached and rejected. Here the connection never got that far, so buying a new certificate — DV, OV or EV — cannot fix it.
2. 60-second triage: prove it is a version or cipher problem
Run these from a machine outside the affected network, then from inside it. The difference between the two runs is usually the answer.
# What does the server negotiate with a modern client?
echo | openssl s_client -connect example.com:443 -servername example.com -brief
# Which protocol versions does it accept? Look for 'Protocol version:' vs an error line
for v in tls1 tls1_1 tls1_2 tls1_3; do
echo "== $v"
echo | openssl s_client -connect example.com:443 -servername example.com -$v -brief
done
# Force one specific cipher suite (TLS 1.2 and below)
echo | openssl s_client -connect example.com:443 -servername example.com -tls1_2 -cipher 'ECDHE-RSA-AES128-GCM-SHA256' -brief
# Same test from curl, which uses the OS trust store and TLS stack
curl -sSI --tlsv1.2 --tls-max 1.2 https://example.com
curl -sSI --tlsv1.3 https://example.com
# Full enumeration
nmap --script ssl-enum-ciphers -p 443 example.com
./testssl.sh --protocols --cipher-per-proto example.com:443
If openssl succeeds but Chrome fails, the network path is modifying traffic (see section 7). If openssl also fails with sslv3 alert handshake failure, the server is rejecting the ClientHello and you fix it in section 3.
Note: on OpenSSL 3.x, testing TLS 1.0/1.1 locally needs -cipher 'DEFAULT@SECLEVEL=0'. Without it you get no protocols available from your own client, not from the server.
3. Server-side fixes
Baseline for every TLS terminator in 2026: TLS 1.2 + TLS 1.3, ECDHE + AEAD only, no TLS 1.0/1.1, no RSA key exchange, no CBC-SHA1, no 3DES, no RC4.
nginx
server {
listen 443 ssl;
server_name example.com;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_prefer_server_ciphers off;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 1d;
ssl_session_tickets off;
}
ssl_ciphers only controls TLS 1.2 and below. TLS 1.3 suites are fixed by the protocol; on nginx 1.19.4+ they are set separately with ssl_conf_command Ciphersuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256; — the defaults are already correct, so most deployments can leave it alone. Apply with nginx -t && systemctl reload nginx.
Apache httpd
<IfModule mod_ssl.c>
SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
SSLSessionTickets off
</IfModule>
Apply with apachectl configtest && systemctl reload apache2. Apache 2.4.53+ understands the +TLSv1.3 token against the linked OpenSSL version; check httpd -v and openssl version together.
Tomcat
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true">
<SSLHostConfig protocols="+TLSv1.2,+TLSv1.3"
ciphers="TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256">
<Certificate certificateFile="conf/cert.pem"
certificateKeyFile="conf/key.pem"
certificateChainFile="conf/chain.pem" />
</SSLHostConfig>
</Connector>
TLS 1.3 in Tomcat requires a JDK that supports it — JDK 11 or later. On a JDK 8 runtime the +TLSv1.3 token is silently useless.
Node.js
const https = require('node:https');
const fs = require('node:fs');
https.createServer({
key: fs.readFileSync('/etc/ssl/private/example.com.key'),
cert: fs.readFileSync('/etc/ssl/certs/example.com.fullchain.pem'),
minVersion: 'TLSv1.2',
maxVersion: 'TLSv1.3',
ciphers: [
'TLS_AES_128_GCM_SHA256',
'TLS_AES_256_GCM_SHA384',
'TLS_CHACHA20_POLY1305_SHA256',
'ECDHE-ECDSA-AES128-GCM-SHA256',
'ECDHE-RSA-AES128-GCM-SHA256',
'ECDHE-ECDSA-AES256-GCM-SHA384',
'ECDHE-RSA-AES256-GCM-SHA384'
].join(':'),
honorCipherOrder: false
}, app).listen(443);
IIS / Windows
Use IISCrypto to disable TLS 1.0/1.1 and 3DES/RC4 in one pass, or set the SCHANNEL registry values yourself. Cipher suite order is controlled by Get-TlsCipherSuite / Enable-TlsCipherSuite and by Group Policy, not by the site binding. TLS 1.3 on Schannel exists on Windows 11 and Windows Server 2022 but is not enabled everywhere by default; a TLS 1.2-only IIS deployment is still perfectly acceptable.
4. Protocol and cipher choices that still work in 2026
| Protocol | Status in 2026 | Client support | Action |
|---|---|---|---|
| SSL 3.0 | Prohibited (RFC 7568) | Removed after POODLE (2014) | Disable |
| TLS 1.0 | Deprecated (RFC 8996) | Removed in Chrome 84 and Firefox 74 (2020) | Disable |
| TLS 1.1 | Deprecated (RFC 8996) | Same as TLS 1.0 | Disable |
| TLS 1.2 | Supported baseline | Every browser and runtime still in service | Keep — required for older clients |
| TLS 1.3 | Current | Chrome 70+, Firefox 63+, Safari 12.1+, OpenSSL 1.1.1+, JDK 11+ | Enable and prefer |
| Cipher family | Forward secrecy | Verdict |
|---|---|---|
| ECDHE + AES-GCM | Yes | Keep — primary |
| ECDHE + ChaCha20-Poly1305 | Yes | Keep — best on mobile/ARM |
| DHE + AES-GCM (2048-bit+ parameters) | Yes | Acceptable fallback |
| RSA key exchange (TLS_RSA_WITH_AES_*) | No | Remove |
| CBC suites with SHA-1 MAC | Depends | Remove where the client base allows |
| 3DES (TLS_RSA_WITH_3DES_EDE_CBC_SHA) | No | Remove — no longer negotiated by modern browsers |
| RC4 | No | Prohibited (RFC 7465) |
| NULL / EXPORT / anonymous | — | Never |
Verify the result with SSL Labs (ssllabs.com/ssltest) or testssl.sh. An A/A+ requires TLS 1.2 + 1.3 only, AEAD suites, HSTS and a complete chain. Do not chase a higher grade by dropping TLS 1.2 — you will just re-create this error for older clients.
5. When the client is the problem
If the server is correctly configured and only one class of client fails, the client is the problem. Common cases:
- JDK 8 and TLS 1.3. TLS 1.3 arrived in JDK 11. Patching JDK 8 to a newer update does not add it — a very common myth. If you must stay on JDK 8, keep TLS 1.2 enabled on the server and pin the client:
-Djdk.tls.client.protocols=TLSv1.2or-Dhttps.protocols=TLSv1.2. - JDK 8u291 / 11.0.11 and later disable TLS 1.0 and 1.1 by default through
jdk.tls.disabledAlgorithmsinjava.security. Check it before blaming the server. - Windows 7 / Server 2008 R2 need KB3140245 plus registry keys before Schannel negotiates TLS 1.2, and IE11 ships with TLS 1.2 disabled.
- Android below 5.0 only speaks TLS 1.0. There is no client-side fix; upgrade the app or put a TLS 1.2-terminating proxy in front of the legacy backend.
- Embedded devices, Java 6, OpenSSL 0.9.8, Python 2.7. Check with
python -c 'import ssl; print(ssl.OPENSSL_VERSION)'and upgrade the runtime.
Also rule out HTTPS interception: antivirus web shields (Kaspersky, ESET, Avast) and corporate TLS-inspection proxies terminate and re-originate TLS. Symptom: curl works, the browser does not, and other HTTPS sites show unexpected certificate issuers. Disable HTTPS scanning on one machine to confirm.
6. Certificate lifetime is shrinking — and EV no longer buys you a name in the URL bar
Two facts that older versions of this article got wrong.
Maximum public TLS certificate lifetime. CA/Browser Forum ballot SC-081 replaced the 398-day cap (and the older 825-day cap before it) with a staged reduction. Any source quoting 398 or 825 days as the current maximum is out of date:
| Effective date | Maximum validity | Renewal cadence you need |
|---|---|---|
| Until 2026-03-15 | 398 days | Manual or annual renewals still tolerable |
| From 2026-03-15 | 200 days | Renew roughly every 5 months |
| From 2027-03-15 | 100 days | Renew roughly every 2 months |
| From 2029-03-15 | 47 days | Renew every ~30 days, fully automated |
The same ballot also shortens how long domain-validation data may be reused, so re-validation happens on a similar cadence. The rules apply to publicly trusted certificates; private or internal CAs sit outside the BR scope but are still subject to whatever the OS and browser root programs enforce.
Practically, 47-day certificates make manual renewal impossible. Automate now:
certbot renew --dry-run
systemctl list-timers | grep -E 'certbot|acme'
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates
With 47-day lifetimes, renew at roughly one third of remaining lifetime instead of the traditional 30-day window, and alert on expiry at 14 days.
EV certificates do not put your organisation name in the browser UI. Chrome stopped showing the EV organisation name in the address bar in Chrome 77 (2019) and replaced the padlock with a tune icon in Chrome 117 (2023); Firefox removed its EV indicator as well. The organisation name survives only in the certificate viewer / Page Info panel, and no browser guarantees it. Users see the domain name and nothing else. EV still means stricter identity vetting and can matter for procurement or regulatory policy — treat it as a compliance choice, not a UI feature. It will never fix ERR_SSL_VERSION_OR_CIPHER_MISMATCH, because the handshake fails before the certificate is examined.
7. Troubleshooting: real error messages and what they mean
| Message (where you see it) | What it means | Fix |
|---|---|---|
ERR_SSL_VERSION_OR_CIPHER_MISMATCH (Chrome, Edge) |
No shared TLS version or cipher suite | Align server protocol and cipher lists (section 3) |
ERR_SSL_OBSOLETE_VERSION (Chrome) |
Server only offers TLS 1.0/1.1 | Enable TLS 1.2 and 1.3 |
ERR_SSL_VERSION_INTERFERENCE (Chrome) |
Something on the path is rewriting the handshake | Disable antivirus HTTPS scanning / proxy inspection |
ERR_SSL_PROTOCOL_ERROR (Chrome) |
Often plain HTTP on port 443, or a mangled handshake | Check curl -v; verify the listener is actually TLS |
SSL_ERROR_NO_CYPHER_OVERLAP (Firefox) |
Same as cipher mismatch | Fix ssl_ciphers / SSLCipherSuite |
SSL_ERROR_UNSUPPORTED_VERSION (Firefox) |
Version mismatch | Enable TLS 1.2 on the server or upgrade the client |
sslv3 alert handshake failure (OpenSSL, curl) |
Server rejected the ClientHello: no shared cipher, or a client certificate is required | Add the missing suite; check mTLS settings |
tlsv1 alert protocol version (curl, OpenSSL) |
Server refuses the version your client offered | Raise the client’s minimum version |
wrong version number / ssl3_get_record:wrong version number (OpenSSL, Node) |
You are speaking TLS to a plaintext port | Use http:// or fix the listener |
no protocols available (OpenSSL 3 client) |
Local security level blocks the version you requested | Add -cipher 'DEFAULT@SECLEVEL=0' for the test only |
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure (Java) |
JDK cipher/version mismatch or a missing client certificate | Pin -Djdk.tls.client.protocols=TLSv1.2, review jdk.tls.disabledAlgorithms |
SSL_do_handshake() failed (SSL: error:0A000410:SSL routines::sslv3 alert handshake failure) (nginx error log) |
The client rejected the server’s offer | Old client — check its TLS capabilities, not the server config |
Decision flow: (1) does openssl s_client from outside succeed? If no, fix the server. (2) Does it succeed from outside but fail inside the corporate network? Fix the middlebox. (3) Does it succeed for modern clients and fail for one old client? Upgrade that client — do not re-enable TLS 1.0 for everyone.
8. FAQ
Is this a certificate problem? No. Certificate problems produce ERR_CERT_* errors. Here the handshake fails before the certificate is validated, so renewing or upgrading the certificate changes nothing.
Should I re-enable TLS 1.0/1.1 to support an old client? No. Both are deprecated by RFC 8996 and removed from current browsers; re-enabling them also damages your PCI DSS and SSL Labs posture. Give the legacy client a dedicated endpoint, or upgrade it.
Do I still need ssl_ciphers with TLS 1.3? TLS 1.3 has a fixed set of AEAD suites negotiated independently of ssl_ciphers. On nginx 1.19.4+ use ssl_conf_command Ciphersuites ...; on Apache the TLS 1.3 suites follow the OpenSSL defaults. ssl_ciphers remains essential for TLS 1.2 clients.
Why does it work in curl but fail in Chrome? Usually a TLS-inspecting antivirus or proxy that hooks the browser but not curl. Less often: Chrome uses HTTP/3 over QUIC, a client-certificate prompt fails, or an extension is intercepting. Test in a clean profile with HTTPS scanning disabled.
Does an EV certificate display my company name in the browser? Not any more. Chrome removed the EV organisation name from the address bar in Chrome 77 (2019) and the padlock itself in Chrome 117 (2023); Firefox removed its EV indicator too. The name only appears in the certificate viewer, and no browser guarantees it.
How long can a public TLS certificate be valid? 398 days until 2026-03-15, then 200 days, 100 days from 2027-03-15, and 47 days from 2029-03-15 under CA/Browser Forum SC-081. The 398-day and 825-day figures in older guides are historical.
Can I keep only TLS 1.3 to be maximally secure? Only if you control every client. TLS 1.3-only breaks JDK 8, OpenSSL 1.0.2, older Android and many embedded devices, and produces exactly this error. TLS 1.2 + 1.3 with AEAD suites is the correct default.
How do I confirm the fix? Re-run openssl s_client -brief for each version, re-test in the failing browser, and re-scan with SSL Labs or testssl.sh. If the browser still fails while openssl succeeds, the problem is on the path, not on the server.