What is the name of the domain?
What is the error message?
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
What is the issue you’re encountering
Working certificate breaks when Cloudflare is enabled
What steps have you taken to resolve the issue?
I have read all of the docs and thread in the Cloudflare community section.
What feature, service or problem is this related to?
I don’t know
What are the steps to reproduce the issue?
I have a website hosted on Linode, running Debian 12 Bookwork, served by nginx/1.22.1.
I have used acme.sh in Nginx Mode to create a certificate and configured my site config to use the certificate.
With Cloudflare disabled the certificate works great. The site is recognized by all browsers as secure and scores an A+ on SSL Labs for both ipv4 and ipv6.
However, when I enable Cloudflare the certificate instantly breaks. I get an ERR_SSL_VERSION_OR_CIPHER_MISMATCH in Firefox, and the following error when i curl the https version of the domain: curl: (35) LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake failure
The same happens if I set the domain’s encryption mode to Flexible, Full, and Full (Strict).
If I disable Cloudflare without making any changes to Nginx, the certificate begins to work again. If I enable Cloudflare, and enable Universal SSL I get a valid certificate, but it is not the one that I created with acme.sh, but instead it uses Cloudflare’s cert, which scores a B in SSL Labs.
I would like to use Cloudflare’s security services, but nothing I’ve read has led me to a solution yet.
What steps can I take to enable my ZeroSSL certificate that I have created in acme.sh and is valid, but continue to use Cloudflare?