---
title: Cloudflare redirects HTTP to HTTPS
description: "Check that every Cloudflare zone redirects HTTP to HTTPS and keep the result as audit evidence in ISOPlanner: setup, options and troubleshooting."
---

[Skip to content](https://docs.isoplanner.app/cloudflare-https-redirect#main-content)

[![ISOPlanner 2000x500 transparent no shadow](https://docs.isoplanner.app/hs-fs/hubfs/ISOPlanner%202000x500%20transparent%20no%20shadow.png?width=200&height=50&name=ISOPlanner%202000x500%20transparent%20no%20shadow.png)](https://isoplanner.app)

Open main navigation

Close main navigation

 How can we help you?

- There are no suggestions because the search field is empty.

1. [ISOPlanner](https://docs.isoplanner.app/)
2. [Automated Control Monitoring](https://docs.isoplanner.app/automated-control-monitoring)
3. [Cloudflare](https://docs.isoplanner.app/automated-control-monitoring#cloudflare)

# Cloudflare redirects HTTP to HTTPS

## Checks that every selected Cloudflare zone redirects all HTTP requests to HTTPS (Always Use HTTPS), and shows its HSTS setting.

![Cloudflare redirects HTTP to HTTPS](https://docs.isoplanner.app/hs-fs/hubfs/KB%20articles/cloudflare-https-redirect-badge-5363911d.png?width=220&name=cloudflare-https-redirect-badge-5363911d.png)

 This check verifies that your Cloudflare zones (domains) send every visitor who arrives over plain HTTP to HTTPS, so no session or cookie travels unencrypted by accident. It answers the question an auditor asks: is every visit to your websites encrypted, and can you show that you keep checking?

> **In short:** ISOPlanner reads the Always Use HTTPS setting of your Cloudflare zones with a read-only API token that you create in Cloudflare. A zone passes when Always Use HTTPS is on; the HSTS setting is shown for information and never fails a zone. When one zone fails, the run is rejected and a task is created that says per zone what was found and what to do. Every scheduled run is kept as evidence and is linked to the controls named below. The check is one of the six checks of the Cloudflare app in the Store, and the six share one connection.

### What the check verifies

 Always Use HTTPS makes Cloudflare redirect every HTTP request of the zone to HTTPS, for every hostname and path. For every zone you select, the check reads that setting; a zone passes when it is **On**. A Redirect Rule or Page Rule does not count, because it can miss hostnames or paths. With **Show HSTS** on, the check also shows HSTS (HTTP Strict Transport Security), which tells browsers to use HTTPS only; HSTS is never judged. The run is accepted when every evaluated zone passes.

| Framework | Controls this check gives evidence for |
| --- | --- |
| ISO 27001:2022 | A.8.20 Networks security, A.8.24 Use of cryptography |
| SOC 2 | CC6.7 Protection of information in transmission, movement and removal |
| NIS2 Quality Mark (High) | 4.8 Manage and secure networks, 4.12 Cryptography and Encryption |

 When you add the check, ISOPlanner links it to the controls in this table of the frameworks your organization uses, and to the controls of your other frameworks that are related to them. A framework you add later is linked the same way. The NIS2 Quality Mark has three levels (Basic, Substantial and High) and your organization uses one of them; each NIS2 row names the levels it applies to. You can change the links. The check is evidence for these controls; it does not cover them completely.

### Before you start

- Automated control monitoring is part of the Business and Premium subscriptions of ISOPlanner.
- The check belongs to the Cloudflare app. Add the app first: go to **Administration \> Store**, click **More info** on the **Cloudflare** tile and then **Start free trial**. The trial takes 30 days and renews into a paid subscription unless you cancel it. If your organization already uses another Cloudflare check, this check is already there.
- You need a licensed manager or administrator role in ISOPlanner to add the app and to set up the check.
- Always Use HTTPS, HSTS and this check work on every Cloudflare plan, the Free plan included.
- Somebody must be able to create an API token for the Cloudflare account that owns the zones. A token can never read more than the person who creates it.
- To make a failing zone pass, somebody must be able to change the SSL/TLS settings of the zone in Cloudflare. Check first that every hostname of the zone works over HTTPS: after the change Cloudflare sends all visitors there.

The token is read-only and needs these permissions, for all zones of the account:

| Permission | Why |
| --- | --- |
| Zone \> Zone \> Read | Lists your zones. Needed by every Cloudflare check. |
| Zone \> Zone Settings \> Read | Reads Always Use HTTPS and HSTS. Also needed to test the connection, and by the other TLS and HTTPS checks. |

 The **Connect Cloudflare** dialog also lists Zone \> DNS \> Read and Zone \> Zone WAF \> Read: add them if you use Cloudflare DNSSEC or Cloudflare rate limiting rules.

### 1. Connect Cloudflare

You connect once. All six Cloudflare checks use the same connection.

1. Go to **Administration \> Settings \> Automation**, open the tab **Control monitoring** and click the card **Cloudflare redirects HTTP to HTTPS**.
2. Under **Authorization** click **Connect Cloudflare**. Use **Create a user API token** or **Create an account API token** to open Cloudflare, create a custom token with the permissions above, and copy it. Cloudflare shows the token only once.
3. Enter the **Cloudflare account id** (the 32 character code in the address of the Cloudflare dashboard) and the **API token**, and click **Save and test connection**.

![The Connect Cloudflare dialog with the account id, the API token and the permissions to give the token](https://docs.isoplanner.app/hs-fs/hubfs/KB%20articles/cloudflare-connect-a8e8b4d4.png?width=560&name=cloudflare-connect-a8e8b4d4.png)

 ISOPlanner stores the token encrypted and never shows it again. To replace it, click **Edit Cloudflare connection** and paste the new token; an empty field keeps the stored one. To end the access, delete the token in Cloudflare (My Profile \> API Tokens).

### 2. Set the options

#### Zones

Click **Test** under **Test and manage results**, then **Options**.

| Option | What it does |
| --- | --- |
| **All zones of the account** | The default. Every active zone is checked, also a zone you add to Cloudflare later. |
| **Zones to leave out** | With all zones: the zones that are not checked, at most 100 names. Record why you leave a zone out. |
| **Selected zones** | Only the zones you name are checked, at least 1 and at most 100. A new zone is not checked until you add it here. |

 A run evaluates at most 200 zones. A zone that is not active in Cloudflare yet is skipped and listed under the result; it does not fail the check.

#### Options

The options are in a row above the result, in the same dialog.

| Option | What it does |
| --- | --- |
| **Show HSTS** | On by default. Adds the **HSTS** column with the HSTS setting of each zone. HSTS is information only and never fails a zone. |

### 3. Test and read the result

 The test starts when you open the dialog; **Run** starts it again after you change the zones or the option. A test shows the result and stores nothing.

| Column | What it shows |
| --- | --- |
| **Zone** | The domain. |
| **Plan** | The Cloudflare plan of the zone. |
| **Found** | Always Use HTTPS: On or Off. |
| **Expected** | Always On. |
| **HSTS** | With **Show HSTS** on: **Enabled**, with the max-age in seconds when one is set, or **Disabled**. |
| **Result** | Whether the zone passes. |

 Above the table a line sums up the result, for example "2 of 2 zones redirect HTTP to HTTPS". When every zone passes, **Run outcome:** shows **Evidence Accepted**.

### 4. Schedule and switch on

1. In the test dialog choose the **Incident response template:** the task template ISOPlanner uses when a run is rejected. Give the template an assignee.
2. Under **Set a schedule** click **Schedule**. The check can run daily at most.
3. Under **Status** switch the check to **Active**.

 From then on every run stores **Evidence Accepted** or **Evidence Rejected**. A rejected run creates a task from the template with one checklist item per failing zone: what was found and where to change it. How the results show in the annual plan, on dashboards and on the controls is in [Automated Control Monitoring](https://docs.isoplanner.app/automated-evidence-collection).

### The statuses at a glance

#### Always Use HTTPS per zone

| Found | Meaning | What to do |
| --- | --- | --- |
| **On** | Every HTTP request is redirected to HTTPS. The zone passes. | Nothing. |
| **Off** | HTTP requests are answered without a redirect, or only by a rule. The zone fails. | Turn on Always Use HTTPS (SSL/TLS \> Edge Certificates \> Always Use HTTPS). |
| **Unknown** | Cloudflare returned a value the check does not know. The zone fails. | Look at the setting in Cloudflare. |
| **Not readable** | The token could not read this zone. The zone fails. | Add Zone \> Zone Settings \> Read to the token in Cloudflare. |

 The **HSTS** column shows **Enabled**, **Disabled** or **Unknown**. It never changes the result of a zone.

#### The outcome of a run and the status of the check

| Status | Meaning |
| --- | --- |
| **Evidence Accepted** | Every evaluated zone passed. |
| **Evidence Rejected** | At least one zone failed, no zone could be evaluated, or not every zone could be read. |
| **Active** | The check runs on its schedule. |
| **Needs Attention** | The check is switched on but the Cloudflare connection is not authorized, for example because the token expired or was deleted. |
| **Disabled** | The check does not run. This is the status right after you add the app. |

### Questions and troubleshooting

#### A zone redirects to HTTPS but fails the check

 The redirect is made with a Redirect Rule or a Page Rule. Only Always Use HTTPS counts: turn it on under SSL/TLS \> Edge Certificates; you can keep the rule.

#### HSTS shows Disabled

 That is information, not a failure. Browsers remember HSTS for its max-age, so a mistake is hard to undo: turn it on (SSL/TLS \> Edge Certificates) only when every hostname works over HTTPS.

#### Cloudflare refused the request: the token lacks Zone Read or Zone Settings Read

 Every Cloudflare connection needs both permissions. Add the one the message names to the token in Cloudflare (My Profile \> API Tokens), then click **Save and test connection** again; you do not need a new token.

#### Cloudflare does not accept the API token, or it is not valid for the account

 The token is invalid, expired or deleted, or it belongs to another account than the account id. A stored token that stops working puts all Cloudflare checks on **Needs Attention**. Enter a new token or the right account id with **Edit Cloudflare connection**.

#### The token sees no zones of this Cloudflare account

 The account id belongs to another account than the token, or the token has no Zone Read on the zones. The message names the accounts in which the token does see zones.

#### A zone is listed under "Zones not found" or "Skipped zones"

 Not found: a zone under **Selected zones** is not in the account or not visible to the token; the run is rejected until you correct or remove the name. Skipped: the zone is not active in Cloudflare yet, usually because the nameservers at the registrar do not point to Cloudflare; it does not fail the run.

#### Only the first 200 zones were evaluated

 A run evaluates at most 200 zones, and a run that could not read every zone is rejected. Choose **Selected zones**, or leave zones out, so that at most 200 remain.

#### I cannot delete the check

 A check of an app you subscribe to cannot be removed, only switched to **Disabled**. To stop paying for the Cloudflare app, cancel it in the Store. Cancelling in ISOPlanner does not delete the token in Cloudflare: delete it there yourself.

### Related articles

- [Automated Control Monitoring](https://docs.isoplanner.app/automated-evidence-collection): how control monitoring works, the trial and the price, the annual plan and the dashboards
- [Store](https://docs.isoplanner.app/store)
- [Cloudflare origin TLS is strict](https://docs.isoplanner.app/cloudflare-origin-tls-strict)
- [Cloudflare minimum TLS version](https://docs.isoplanner.app/cloudflare-minimum-tls-version)
- [Cloudflare TLS 1.3 is enabled](https://docs.isoplanner.app/cloudflare-tls-13)
- [Cloudflare rate limiting rules](https://docs.isoplanner.app/cloudflare-rate-limiting)
- [Cloudflare DNSSEC](https://docs.isoplanner.app/cloudflare-dnssec)

- [Getting Started](https://docs.isoplanner.app/getting-started)
- [Administration Menu](https://docs.isoplanner.app/administration-menu)
- [Main Concepts](https://docs.isoplanner.app/main-concepts)
- [Common Elements](https://docs.isoplanner.app/common-elements)
- [Automated Control Monitoring](https://docs.isoplanner.app/automated-control-monitoring#main-content)

    - [Hubspot](https://docs.isoplanner.app/automated-control-monitoring#hubspot)
    - [Gitbhub](https://docs.isoplanner.app/automated-control-monitoring#gitbhub)
    - [Cloudflare](https://docs.isoplanner.app/automated-control-monitoring#cloudflare)
    - [Microsoft Intune](https://docs.isoplanner.app/automated-control-monitoring#microsoft-intune)
    - [Microsoft Entra](https://docs.isoplanner.app/automated-control-monitoring#microsoft-entra)
    - [Microsoft Azure](https://docs.isoplanner.app/automated-control-monitoring#microsoft-azure)
    - [Microsoft Secure Scores](https://docs.isoplanner.app/automated-control-monitoring#microsoft-secure-scores)
    - [Microsoft Entra ID](https://docs.isoplanner.app/automated-control-monitoring#microsoft-entra-id)
    - [SSL Labs](https://docs.isoplanner.app/automated-control-monitoring#ssl-labs)
- [AI in ISOPlanner](https://docs.isoplanner.app/ai-in-isoplanner)
- [Apps & Add-ins](https://docs.isoplanner.app/apps-add-ins)
- [Developer](https://docs.isoplanner.app/developer)
- [Power BI](https://docs.isoplanner.app/power-bi)
- [Power Automate](https://docs.isoplanner.app/power-automate)
- [Videos](https://docs.isoplanner.app/videos)
- [Release Notes](https://docs.isoplanner.app/release-notes)
- [Transition Guides](https://docs.isoplanner.app/transition-guides)
- [FAQ](https://docs.isoplanner.app/faq)
- [Webinars](https://docs.isoplanner.app/webinars)

[![ISOPlanner 2000x500 transparent no shadow](https://docs.isoplanner.app/hs-fs/hubfs/ISOPlanner%202000x500%20transparent%20no%20shadow.png?width=200&height=50&name=ISOPlanner%202000x500%20transparent%20no%20shadow.png "ISOPlanner 2000x500 transparent no shadow")](https://docs.isoplanner.app/)

[mailto:support@isoplanner.app](mailto:support@isoplanner.app) <https://www.linkedin.com/company/isoplanner/>

Copyright © 2026, ISOPlanner