What Error 526 Means
In the Full (strict) SSL mode, the Cloudflare edge connects to your origin over HTTPS for HTTPS requests and checks its certificate the way a browser would: it must not be expired or revoked, must come from a trusted certificate authority (or Cloudflare's Origin CA), must list the host name, and must be served with its intermediate certificates. Error 526 means that check failed. The connection and the handshake worked; if the handshake itself fails, the edge shows error 525 instead. The plain Full mode does not validate the certificate, which is why a 526 appears only under Full (strict).
If You See It on Someone Else's Site
- Reload later: the problem is between the CDN and the site's server, not in your browser.
- Leave your settings alone: clearing the cache or changing the clock does not help.
- Tell the site owner the time and the Ray ID shown on the error page.
Look at the Origin's Certificate
Connect to the server's own IP, skipping the CDN, and print the certificate details:
openssl s_client -connect 203.0.113.10:443 -servername example.com </dev/null 2>/dev/null \
| openssl x509 -noout -subject -issuer -dates -ext subjectAltNameRead three things: the notAfter date, the issuer, and the list of names in the subject alternative name. The table maps what you see to the fix:
| Finding | Cause | Fix |
|---|---|---|
| Date in the past | Expired | Renew |
| Issuer same as subject | Self-signed | Replace |
| Name not listed | Mismatch | Reissue |
Run the command from a machine your firewall allows to reach port 443.
An Expired Certificate
Let's Encrypt certificates are short-lived, so a renewal that stopped working leads to a 526 within weeks. Check the certificates and test renewal:
sudo certbot certificates
sudo certbot renew --dry-run
systemctl list-timers | grep -i certbotThe first command shows each certificate's expiry date, the second runs a renewal test without saving anything, and the third shows whether the renewal timer is active. If the test fails, the reason is in /var/log/letsencrypt/letsencrypt.log. A renewed certificate is used only after the web server reloads. When certbot installed the certificate with its Nginx or Apache plugin, it reloads the server after renewal; with the webroot or standalone method, add a hook:
sudo certbot renew --deploy-hook "systemctl reload nginx"A Self-Signed Certificate
A fresh web server often starts with a placeholder certificate, such as the snakeoil certificate on Debian and Ubuntu or the self-signed localhost.crt that mod_
A Host Name Mismatch
The certificate must list every proxied name. A certificate for example.com does not cover www.example.com or api.example.com. Add the missing names with certbot:
sudo certbot --nginx -d example.com -d www.example.comAlso check that each name reaches the right server block. A request for a name with no matching server_ gets the default block's certificate, which usually belongs to another site.
A Cloudflare Origin CA Certificate
In the Cloudflare dashboard, on the Origin Server page under SSL/TLS, you can create a certificate that only Cloudflare trusts. Save the certificate and the private key on the server, point ssl_ and ssl_ at them, run sudo nginx -t, and reload. It passes Full (strict) as long as the record stays proxied; visitors who reach the server directly see a warning, because browsers do not trust that issuer.
Confirm the Fix
curl -I https://example.com/Expect 200 and a cf-ray header, which shows the response came through the CDN. If the page now loops between HTTP and HTTPS, see ERR_
Updated:
Linux VPS with Full Root Access
MUVCloud cloud servers run on KVM with Enterprise NVMe SSD storage and full root access, in Turkey, the Netherlands, and the USA.
More Guides
No Limits on Service or Support
You are not on your own as your projects grow. Our support engineers are ready 24/7, on several channels, whenever you need them.

- 100% customer satisfaction goal
- Our own hardware
- 24/7 ticket and email support
- 4 countries with locations