Updated
—
4 min read
When migrating a domain to Cloudflare, you might encounter unexpected SSL/TLS handshake errors that can cause temporary downtime. Here's what these errors mean and how to handle them.
On Firefox:
SSL_ERROR_NO_CYPHER_OVERLAP
On Google Chrome:
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Using curl:
bash# curl -I https://yourdomain.com
curl: (35) LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake failure
These errors indicate a mismatch between server and client cipher suite to use for the SSL connection, and may have a few possibilities:
In Cloudflare's Full (Strict) SSL mode, two separate SSL/TLS connections are required:
When you first add a domain to Cloudflare, the Universal SSL certificate isn't immediately available - it needs to be generated and validated. During this pending period (which takes 5-15 minutes on average):
If you've recently added your domain to Cloudflare with Full (Strict) SSL as recommended, it's likely these errors are caused by Cloudflare's Universal SSL pending validation:
On your Cloudflare dashboard, navigate to SSL/TLS > Edge Certificates to check the status of your Universal SSL certificate.
This typically takes 5-10 to validate, after which you'll see the status update to Active:
Now you can check your SSL/TSL handshake by sending a curl HTTP HEAD request:
bashcurl -I https://yourdomain.com
If successful, you should see a successful response:
bashHTTP/2 200
date: Sat, 22 Feb 2025 15:13:50 GMT
content-type: text/html; charset=utf-8
cache-control: s-maxage=31536000, stale-while-revalidate
vary: Accept-Encoding
cf-cache-status: DYNAMIC
server: cloudflare
# rest of headers
The SSL/TLS handshake errors causing the cipher mismatch disappear after validation because:
If the error persists, you'll need to troubleshoot further:
bashopenssl s_client -connect yourdomain.com:443
There are two main strategies to avoid downtime caused by these SSL errors while migrating a domain to Cloudflare:
NoteFlexible SSL is less secure than Full (Strict) SSL, so method 1 of pre-provisioning the Universal SSL certificate is generally recommended to avoid this lessened security during the transition period.
In summary, if you've recently migrated a site to Cloudflare and experience these SSL cipher mismatch errors, waiting for the Universal SSL certificate to validate is often the correct solution.
But for future migrations to Cloudflare, you can prevent this SSL cipher suite mismatch by pre-provisioning the Universal SSL cert before changing nameservers.
Hope this helps!
Want to learn from my journey building online businesses? Join my newsletter.
No spam. Unsubscribe at any time.
Meet the Author
Ryan Chiang
Hello, I'm Ryan. I build things and write about them. This is my blog of my learnings, tutorials, and whatever else I feel like writing about.
See what I'm building →.