Fix a TLS version or cipher mismatch on your website

ERR_SSL_VERSION_OR_CIPHER_MISMATCH is Chrome's error for a secure connection that failed before it started: the browser and the server couldn't agree on a TLS version and cipher suite they both support. Chrome connects only with TLS 1.2 or 1.3, so on your own site look for a server that still stops at TLS 1.0 or 1.1, a cipher list cut down to old suites, or a CDN that hasn't set up a certificate for that hostname yet.

Why the browser and your server can't agree

  • The server stops at TLS 1.0 or 1.1

    Chrome's lowest TLS version is 1.2. A server or load balancer that offers nothing newer gets ERR_SSL_VERSION_OR_CIPHER_MISMATCH, which is how Chromium now reports TLS 1.0 and 1.1.

  • Only old cipher suites are turned on

    A cipher list trimmed to old suites can leave none that Chrome accepts. Current IETF guidance forbids RC4 and advises against suites without forward secrecy, such as static RSA key exchange.

  • The CDN has no certificate for that hostname

    Some CDNs fail the handshake for a hostname they don't hold a certificate for, such as a domain you've just added or a deeper subdomain like test.dev.yoursite.com. The browser reports it as this error, not as a certificate warning.

  • HTTPS ends at a device you didn't change

    If a load balancer or CDN handles HTTPS in front of your server, its TLS settings are the ones browsers see. Updating the web server behind it changes nothing for visitors.

Chromium's net_error_list.h describes this error as a client and server with no protocol version or cipher suite in common, and notes that TLS 1.0 and 1.1 now cause it. Its ssl_config.cc sets TLS 1.2 as the default minimum and TLS 1.3 as the maximum. RFC 9325 is the IETF's current TLS guidance, and Cloudflare's guide lists a hostname with no certificate as a cause. RFC 8446 requires every TLS 1.3 implementation to support TLS_AES_128_GCM_SHA256.

Test which TLS versions your server accepts

# Try a TLS 1.3 handshake with yoursite.com and print the cipher line and any error
echo | openssl s_client -connect yoursite.com:443 -servername yoursite.com -tls1_3 2>&1 \
  | grep -E 'Cipher is|:error:'

# Try a TLS 1.2 handshake
echo | openssl s_client -connect yoursite.com:443 -servername yoursite.com -tls1_2 2>&1 \
  | grep -E 'Cipher is|:error:'

# Try TLS 1.2 with only the four cipher suites RFC 9325 recommends
echo | openssl s_client -connect yoursite.com:443 -servername yoursite.com -tls1_2 \
  -cipher 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384' \
  2>&1 | grep -E 'Cipher is|:error:'

Read what openssl prints

  • A handshake that works prints a Cipher is line naming the suite the server picked, such as New, TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256. One that fails prints Cipher is (NONE) and an error line. Against a server that stops at TLS 1.0 or 1.1, the -tls1_2 error line includes unsupported protocol or alert protocol version, depending on the server and on your openssl build. When the server can't agree on a cipher suite, or has no certificate for the name, the line includes handshake failure and ends in SSL alert number 40. Alert 40 is TLS's handshake failure alert, which a server sends when it can't agree on acceptable security settings; RFC 8446 defines it.

  • If the -tls1_2 line says unsupported protocol or alert protocol version, the server stops at TLS 1.0 or 1.1. If both versions fail with alert 40, the server shares no cipher suite with openssl, or a CDN in front of it has no certificate for that hostname. If TLS 1.2 connects but fails with the recommended suites, the server offers none of the suites RFC 9325 recommends, so review its cipher list. Each version option makes openssl offer that one version only; OpenSSL's manual covers them under TLS Version Options, and its ciphers manual maps OpenSSL's suite names to the standard ones.

How to fix a TLS version or cipher mismatch

  1. Find what answers HTTPS for that nameWork out which device handles HTTPS for the hostname that fails: your web server, a load balancer, a CDN or a firewall. Its TLS settings are the ones to change.
  2. Turn on TLS 1.2 and TLS 1.3Enable both, and turn off SSL 3, TLS 1.0 and TLS 1.1. If the software can't offer TLS 1.2, update it or put a proxy or CDN that supports current TLS in front of it.
  3. Offer current cipher suitesFor TLS 1.3, keep TLS_AES_128_GCM_SHA256 turned on, since every TLS 1.3 implementation must support it. For TLS 1.2, offer ECDHE suites with AES-GCM and remove RC4 and 3DES suites.
  4. Make sure the hostname has a certificateIf the failing name is new or a deeper subdomain, confirm your host or CDN has issued a certificate that covers it.
  5. Test again from outside your networkRun the openssl commands again from another machine, then load the page in Chrome. Test every hostname visitors use, since each can have its own settings.

Frequently asked questions

Can visitors click past this error?

No. Chrome's page for this error is headed "This site can't provide a secure connection" and says the site uses an unsupported protocol, as Chromium's error page strings show. Unlike a certificate warning, there's no connection to continue: the handshake failed before any page could load. Chrome's error guide says Chrome doesn't allow connections to these sites, and tells site owners to set up TLS 1.3 with TLS_AES_128_GCM_SHA256.

Is TLS 1.2 still safe to offer?

Yes. RFC 9325 requires support for TLS 1.2 and says that, with its recommendations followed, TLS 1.2 is as safe as TLS 1.3. It also asks servers that support TLS 1.3 to prefer it.

Will turning off TLS 1.0 and 1.1 lock out some visitors?

Only clients that can't use TLS 1.2 or newer. RFC 8996 formally deprecated TLS 1.0 and 1.1, and Chrome's guide suggests offering TLS 1.2 alongside TLS 1.3 to keep older clients working.

What does Firefox show for the same problem?

Firefox shows SSL_ERROR_NO_CYPHER_OVERLAP, which NSS describes as no common encryption algorithm, and Cloudflare's guide lists the same code for a hostname with no certificate. For a server that stops at TLS 1.0 or 1.1, Firefox shows SSL_ERROR_UNSUPPORTED_VERSION or SSL_ERROR_PROTOCOL_VERSION_ALERT, which its error page code treats as a version error, with a notice that the site might not support TLS 1.2. The fix is the same.