Cloudflare tutor

A morning desk for Kotha · Gold Coast

· Australia/Brisbane · Lesson

SSL/TLS: the padlock, encryption modes, and edge certificates

SSL/TLS (encryption modes, Edge Certificates, and Always Use HTTPS)

What it is

SSL/TLS is what puts the padlock in the browser and the s in https. It encrypts the traffic so nobody between the visitor and the site can read or change it. With Cloudflare there are two legs to every request: from the visitor to Cloudflare, and from Cloudflare to your origin (the server or service that actually holds the site, such as a VPS, Vercel, or Netlify). Workers are different: a Worker runs on Cloudflare itself, so for a Worker there is effectively no second leg.

The first leg uses an edge certificate. For any proxied (orange cloud) hostname, Cloudflare issues and renews a free Universal SSL certificate for the zone and its first-level subdomains, such as drkotha.com and mycalendar.drkotha.com. You can see it under SSL/TLS, then Edge Certificates, with its expiry date. Deeper names such as a.b.drkotha.com are not covered by the free certificate.

The second leg is controlled by the encryption mode on SSL/TLS, Overview. Off means no HTTPS at all. Flexible encrypts only the visitor leg and talks plain HTTP to your origin. Full uses HTTPS to the origin but accepts any certificate there, even a self-signed one. Full (strict) uses HTTPS and also checks that the origin certificate is valid, which is the safe choice. Newer zones may show an Automatic setting that picks the strongest mode your origin supports. On the same Edge Certificates page, Always Use HTTPS redirects every http:// visit to https://, and Minimum TLS Version refuses very old, weak connections.

Why it matters

Flexible mode looks secure to visitors because they see a padlock, but the trip from Cloudflare to your server is unencrypted. It is also the classic cause of the "too many redirects" error: the origin redirects HTTP to HTTPS, Cloudflare asks over HTTP again, and the loop never ends. Full (strict) avoids both problems when the origin has a valid certificate.

For anything near clinic work, such as a referral form or a booking page, encryption on both legs is the minimum. A proper origin certificate, either one from Let's Encrypt on the VPS or a free Cloudflare Origin CA certificate, lets you run Full (strict).

Certificates expire. Cloudflare renews edge certificates on its own, but knowing where to see the expiry date means you can rule this out in a minute when a site suddenly shows a certificate warning.

On your account

From your own setup: cloudflare.kosan.xyz is this tutor's Worker, attached as a custom domain (lesson 3), so Cloudflare holds the certificate and serves the page directly. There is no separate origin, which is why the encryption mode does not change how this page loads.

A hostname proxied to your Hostinger VPS, such as openclaw.drkotha.com, is where the mode matters. If the VPS has a valid certificate, Full (strict) keeps both legs encrypted and checked. If it had none, Flexible would show a padlock while sending the VPS traffic in plain text.

The encryption mode is set once per zone, so drkotha.com and kosan.xyz each have their own. This lesson only reads settings: nothing was changed on either zone, and nothing here touches ainews, aiweekly, the AI News root redirect rule, or any other Worker or DNS record.

Do this yourself

These stay in the dashboard, on your side. This site does not change DNS, routes, or other Workers.

  1. In the Cloudflare dashboard open drkotha.com, then SSL/TLS, and write down the encryption mode shown on Overview, then on Edge Certificates write down the Universal SSL expiry date and whether Always Use HTTPS is on, and do the same for kosan.xyz. Only look; do not change any mode, certificate, or toggle.