AdminsForum

Cloudflare

Guide Set Up Cloudflare Full (Strict) SSL and Verify HTTPS

Started by DEV 0 replies 177 views
1DEV
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
#1
Quick answer
Use Full (strict) after your origin serves HTTPS with an accepted, unexpired certificate matching the hostname. In Cloudflare, open the domain's SSL/TLS overview, choose Configure, select Full (Strict) and save. Recheck the saved mode and test the expected content through Cloudflare. Review every affected proxied hostname before changing a zone-wide mode.

This walkthrough records our adminslab.com lab on 19 October 2026. We changed the zone from Automatic SSL/TLS running Full to explicitly selected Full (strict). The only currently proxied DNS record we found was the disposable alias-lab.adminslab.com CNAME. We checked its origin first and repaired a real hostname mismatch before saving the new mode.

1. Understand the two certificate checks
A visitor connects to Cloudflare's edge using one TLS connection. Cloudflare connects to the origin using another. An edge certificate and a working browser connection alone do not establish that the origin certificate was validated. Full (strict) adds origin certificate validation; ordinary Full does not perform that same validation.

Your origin needs HTTPS connectivity and a certificate that is valid for the requested hostname, within its validity dates and trusted by Cloudflare: a suitable public-CA certificate or Cloudflare Origin CA certificate. This lab reused an existing publicly trusted wildcard certificate. We did not generate a new Origin CA certificate, export a private key or claim this as a certificate-installation tutorial.

2. Record the current setting and affected hosts
In Cloudflare, select the correct domain, then SSL/TLS > Overview. Our page showed Current encryption mode: Full and Automatic mode enabled. Configure opened a page with Automatic SSL/TLS, Full (Strict), Full, Flexible and Off choices.

Before saving anything, review DNS > Records and identify the proxied website hostnames and their origins. Our lab alias pointed to dns-lab.adminslab.com; the target and the other visible A records were DNS only. MX/TXT are not proxy-enabled records. Existing rules or other integrations may need additional review in a different setup.

The zone-wide choice also matters when another hostname is proxied later. Do not assume a single successful origin test certifies every application in a busy zone.

3. Test the origin using the correct hostname
Our initial direct TLS checks found:
  • learn.adminslab.com: trusted TLS and hostname verification passed; expected page returned HTTP 200.
  • alias-lab.adminslab.com: certificate hostname validation failed.
We did not ignore that failure or disable certificate verification. The alias had previously been used only for DNS lessons; no matching website virtual host had been created for it. A wildcard certificate already existed on the server, but the TLS connection for this alias was not receiving the correct configuration.

We created a dedicated static Nginx lab virtual host for the alias, selected the existing matching wildcard certificate locally, tested the Nginx configuration and reloaded after that test passed. The page contains only the harmless marker AF-STRICT-LAB-20261019. It sends Cache-Control: no-store. This was a server-side preparation step, not a Cloudflare certificate-issuance feature. The manually managed lab virtual host is separate from aaPanel's website database.

After correction, normal certificate/hostname validation passed using TLS 1.3. The certificate SANs included *.adminslab.com and adminslab.com, with expiry 14 January 2027. The origin returned HTTP 200 and our marker. We used the intended hostname for SNI and the HTTP Host header while connecting to the origin address; testing only the bare IP can select a different virtual host.

4. Select and save Full (strict)
Once the origin checks passed and the lab zone impact was reviewed, we returned to SSL/TLS > Overview > Configure. We selected Full (Strict), then used the Save button for the encryption-mode section. The page also has a separate key-exchange section with its own controls; we did not change those.

[Image: attachment.php?aid=385]

This GIF shows actual dashboard states with added captions. It is a paced step sequence, not a continuous recording. Selection alone is not confirmation that the setting was saved.

After saving, the overview showed:
Code:
Current encryption mode: Full (strict) Automatic mode disabled
The explicit mode is now active for this lab zone. We did not switch the mode back or perform a rollback to weaker validation.

5. Test the public HTTPS path and expected content
After confirming the persisted mode, we ran this request from the Ubuntu lab server:
Code:
curl --max-time 25 -sS -D - \ -A AdminsForum-TLS-Lab-20261019 \ https://alias-lab.adminslab.com/
We used ordinary certificate validation; no insecure option was added. At 14:26:41 UTC the response contained:
Code:
HTTP/2 200 server: cloudflare cache-control: no-store cf-cache-status: DYNAMIC AdminsForum Cloudflare TLS lab - AF-STRICT-LAB-20261019
The origin access log recorded a matching request at that UTC time with the same unique User-Agent and HTTP 200. Taken together with the saved strict mode and verified origin certificate, this establishes the tested lab request path. DYNAMIC is expected for this no-store fixture; this is not a cache-HIT demonstration.

Our separate desktop client checks encountered an HTTP 403 and a browser-client block. We did not bypass those protections or claim that desktop browser path passed. The successful end-to-end request above was the recorded server-side curl test. A login flow, application session, upload or every visitor network has not been certified by this simple static-page check.

6. Keep renewal and failures visible
A certificate that works today must still renew before expiry. This walkthrough verifies the current certificate and request, not an automatic future renewal. Monitor the origin certificate as well as Cloudflare's edge certificate.

If strict-mode requests fail, preserve the timestamp, hostname, Cloudflare Ray ID and origin logs. Investigate certificate trust, chain, expiry, hostname and HTTPS reachability. A 526 points toward origin certificate validation; a 525 requires handshake investigation. Do not treat disabling verification as the permanent repair. We corrected the origin configuration before enabling strict mode instead.

HTTPS redirects, mixed content and HSTS are separate settings. We did not enable them in this lesson. Continue from the orange-cloud versus DNS-only guide if the hostname's proxy state is unclear.

Reference
Cloudflare Full (strict) documentation. The mismatch, origin correction, saved mode and HTTP test above come from our own lab.

Attached Files

Image(s)
   
Reply
Possibly Related Threads…matched by title
Replies:0Views:250
Replies:0Views:181
Replies:0Views:177
Replies:0Views:175
Replies:0Views:207

Users browsing this thread: 1 Guest(s)
Forum Jump: