跳转到主要内容

Minimum TLS Version

import { TabItem, Tabs, APIRequest, Render, DashButton } from "~/components";

Minimum TLS Version only allows HTTPS connections from visitors that support the selected TLS protocol version or newer.

For example, if TLS 1.1 is selected, visitors attempting to connect using TLS 1.0 will be rejected. Visitors attempting to connect using TLS 1.1, 1.2, or 1.3 (if enabled) will be allowed to connect.

:::note

If you are looking to restrict cipher suites, refer to Customize cipher suites. For guidance on which TLS version to use, refer to TLS protocols.

:::

Availability

Free Pro Business Enterprise
Availability Yes Yes Yes Yes
Per-hostname Included with Advanced Certificate Manager Included with Advanced Certificate Manager Included with Advanced Certificate Manager Included with Advanced Certificate Manager

It is not possible to configure minimum TLS version for Cloudflare Pages hostnames.

How to disable TLS 1.0

You can disable TLS 1.0 by choosing a higher minimum TLS version.

All users can apply this configuration to all hostnames in their zones following the steps under zone-level.

If you have an Advanced Certificate Manager subscription, you also have the option to disable TLS 1.0 (or other versions) with a per-hostname setup.

Setup

:::caution The Minimum TLS version that you set up following these steps does not apply to R2 custom domains. To control the TLS version for R2 custom domains, refer to the custom domains documentation. :::

Zone-level

To manage the TLS version applied to your whole zone when proxied through Cloudflare:

  1. In the Cloudflare dashboard, go to the Edge Certificates page.

  2. For Minimum TLS Version, select an option.

Use the Edit zone setting endpoint with min_tls_version as the setting name in the URI path, and specify your preferred minimum version in the value field.

In the following example, the minimum TLS version for the zone will be set to 1.2. Replace the zone ID and API token placeholders with your information, and adjust the value field with your chosen TLS version.

<APIRequest path="/zones/{zone_id}/settings/{setting_id}" method="PATCH" json={{ "id": "min_tls_version", "value": "1.2", }} parameters={{ setting_id: "min_tls_version" }} />

Per-hostname

Advanced Certificate Manager users also have the option to specify minimum TLS versions per specific hostnames in their Cloudflare zone.

This is currently only available via the API:

Cloudflare uses the hostname priority logic to determine which setting to apply.

In the following example, the minimum TLS version for a specific hostname will be set to 1.2. Replace the zone ID, hostname, and authentication placeholders with your information, and adjust the value field with your chosen TLS version.

<APIRequest path="/zones/{zone_id}/hostnames/settings/{setting_id}/{hostname}" method="PUT" json={{ "value": "1.2" }} parameters={{ setting_id: "min_tls_version" }} />

Cloudflare for SaaS

If you are a SaaS provider looking to configure minimum TLS version for your custom hostnames, refer to the Cloudflare for SaaS TLS management.

Test supported TLS versions