A Cloudflare zone runs Full because its origin presents a self-signed certificate; what does that leave exposed, and how do you reach Full (strict) without 526 errors?
answer
- encrypted is not authenticated
- a valid certificate for every hostname
- test the origin before flipping
- one hostname first via a rule
basics
~20 sFull encrypts the origin leg but accepts any certificate, so anyone able to intercept it can impersonate the origin. Give every hostname a valid Origin CA or public certificate, test each origin, flip one hostname with a Configuration Rule, then the zone.
solid answer
~40 sUnder **Full**, Cloudflare uses HTTPS to the origin but does not validate the certificate, so the leg resists passive eavesdropping yet cannot tell the real origin from an impostor on the path. To move to **Full (strict)**, give every proxied hostname a certificate Cloudflare will validate: a free Origin CA certificate or a publicly trusted one, unexpired and with a matching CN or SAN. Test each origin directly against the expected issuer and name before switching. Then flip one hostname first with a **Configuration Rule** setting `ssl` to `strict`, watch for 526 (certificate rejected) and 525 (handshake failed), and only then set the zone to Full (strict). An origin on a private CA can use Custom Origin Trust Store, which requires Advanced Certificate Manager.
code
bash · 4 linescurl --silent --show-error --output /dev/null \
--resolve www.example.com:443:203.0.113.10 \
--cacert origin_ca_rsa_root.pem \
https://www.example.com/go deeper
Recall that Full encrypts but never checks the origin certificate, and that Full (strict) needs an unexpired, trusted certificate with a matching name.
Explain how to get there: an Origin CA or public certificate per hostname, and the difference between a 526 (certificate rejected) and a 525 (handshake failed).
Lay out a staged migration: inventory, direct testing with the real SNI, one hostname via a Configuration Rule, then the zone, with expiry monitoring because nothing will warn or downgrade for you.
Set the zone floor and the exception process: who may keep a host on Full, for how long, and whether a private CA in Custom Origin Trust Store is worth replacing public trust for the whole zone.
## What Full leaves exposed The **Full** encryption mode makes Cloudflare connect to the origin over HTTPS when the visitor used HTTPS, but **it does not validate the certificate in any way**. The certificate can be self-signed, expired, or issued for another hostname. That gives you: - **Confidentiality against passive observers.** Someone merely recording traffic between Cloudflare and the origin sees ciphertext. - **No authentication of the origin.** Anyone who can place themselves on that path, or redirect it, can present their own certificate and Cloudflare will accept it. Cloudflare's own documentation warns that without Full (strict) a malicious party could hijack the connection this way. **Full (strict)** closes that gap by requiring a certificate that is unexpired, issued by a publicly trusted CA or Cloudflare Origin CA, and matching the hostname. A self-signed certificate fails it, which is why switching a zone straight from Full to Full (strict) usually ends in **526** errors. ## A migration that does not break visitors 1. **Inventory the hostnames.** List every proxied hostname in the zone and the origin behind each. One zone often fronts several servers with different certificates. 2. **Issue certificates Cloudflare will validate.** A **Cloudflare Origin CA** certificate is free and covers the apex and first-level wildcard by default, which is enough when visitors only reach the origin through Cloudflare. Use a publicly trusted certificate where clients also connect to the origin directly. 3. **Install and test each origin directly.** Connect to the origin's address with the real hostname as SNI and validate against the issuer you expect. The command below checks an Origin CA certificate against the Origin CA root; a failure here is a 526 waiting to happen. 4. **Flip one hostname first.** Create a **Configuration Rule** (action `set_config`, phase `http_config_settings`) whose expression matches that hostname and whose `ssl` setting is `strict`. Watch its traffic for **526** (certificate rejected) and **525** (handshake failed). 5. **Switch the zone.** Set the zone's `ssl` setting to `strict`, delete the per-hostname rule, and keep a Configuration Rule with `ssl` set to `full` only for a host that still cannot present a valid certificate, with an owner and a date to remove it. 6. **Keep certificates valid.** Cloudflare sends no expiry reminders for Origin CA certificates, and Automatic SSL/TLS will not downgrade a zone whose certificate lapses; it stays on Full (strict) and serves 526s. Put expiries in monitoring. ## Reading the errors during the switch | Code | Meaning on the origin leg | Usual cause | |---|---|---| | **526** | Full (strict) rejected the origin certificate | still self-signed, expired, wrong name, or chained to a CA Cloudflare does not trust | | **525** | the TLS handshake with the origin failed | origin not serving TLS on the port, or no certificate configured for that name | ## When the origin uses a private CA Some organisations issue origin certificates from an internal CA. Full (strict) does not trust that CA by default. **Custom Origin Trust Store**, which requires **Advanced Certificate Manager** on the zone, lets you upload the CA certificates Cloudflare should trust. Note the catch: once a CA is uploaded, Cloudflare **ignores the default publicly trusted CAs and uses only the uploaded ones** for that zone, so every origin must chain to an uploaded CA, and an expired uploaded CA with no valid alternative breaks authentication. ## Things that make the move go wrong - **Testing by IP without SNI.** The origin may serve a default certificate for bare-IP connections and the right one only when the hostname is sent. - **Forgetting non-standard ports.** Each hostname and port Cloudflare connects to needs the valid certificate, not just 443 on the main site. - **Removing the old certificate too early.** Leave the self-signed certificate in place until the new one is installed and serving; under Full it still works, while an origin left with no certificate fails the handshake and returns 525s. - **Letting Automatic SSL/TLS surprise you.** On zones using it, Cloudflare may itself upgrade a zone from Full to Full (strict) once it detects a valid certificate, ramping from 1% of traffic. That helps, but it is not a substitute for testing every origin.
- Why not just switch the whole zone to Full (strict) and fix origins as 526s appear?Because every hostname whose origin still serves a self-signed, expired or misnamed certificate goes down at once, and the visitors find out before you do. Testing each origin and flipping one hostname with a Configuration Rule turns a zone-wide outage into a contained, reversible step.
- What changes if you upload a private CA to Custom Origin Trust Store?Full (strict) then trusts only the uploaded CA or CAs for that zone and ignores the public trust store. Origins on public or Origin CA certificates fail validation unless their CA is uploaded too, and an expired uploaded CA with no valid alternative breaks every origin connection. It requires Advanced Certificate Manager.
- Full already authenticates the origin, because the connection uses HTTPS.
- A self-signed certificate passes Full (strict) if its SAN matches the hostname.
- Switching to Full (strict) is safe once the main hostname has a valid certificate.
- Custom Origin Trust Store adds your CA alongside the public CAs.
- Automatic SSL/TLS will fall back to Full if a certificate later expires.
Assumes Cloudflare as of October 2026: per-hostname encryption modes are set with Configuration Rules, which replace the deprecated Page Rules for this, and Automatic SSL/TLS is the default mode setting.