When a new certificate is created, Cloudflare first deploys the certificate and then serves it.
For any given hostname, Cloudflare uses the following order to determine which certificate (and associated TLS settings) to apply to that hostname:
Hostname specificity: A specific subdomain certificate (www.example.com
) would take precedence over a wildcard certificate (*.example.com
) for requests to www.example.com
.
Zone specificity: A specific subdomain certificate (www.example.com
) would take precedence over a custom hostname certificate if the domain is active as a zone on Cloudflare.
Certificate priority: If the hostname is the same, certain types of certificates take precedence over others.
Certificate expiration: The most recently ordered certificate takes precedence unless a certificate deletion has occurred. If and when a certificate is deleted, the certificate with the latest expiration date is deployed.
Note
In this case, when the certificate with the closest expiration date is renewed, it will then become the one with the latest expiration date and get presented.
Cloudflare uses the following order to determine the certificate and settings used during a TLS handshake:
When multiple proxied DNS records exist for a hostname, in multiple zones â usually due to Cloudflare for SaaS â only one record will control the zone settings and associated origin server.
Cloudflare determines this priority in the following order, assuming each record exists and is proxied (orange-clouded):
Exact hostname match:
Wildcard hostname match:
If a hostname resource record is not proxied (gray-clouded) for a zone on Cloudflare, that zone's settings are not applied and any settings configured at the associated origin are applied instead. This origin could be another zone on Cloudflare or any other server.
Customer1 uses Cloudflare as authoritative DNS for the zone shop.example.com
. Customer2 is a SaaS provider that creates and successfully verifies the new custom hostname shop.example.com
. Afterward, traffic starts routing over Customer2's zone:
1014
error.www.example.com
when Customer2 creates and verifies a new custom hostname www.example.com
, Orange-to-Orange applies.www.example.com
in a legacy custom hostname setup (with another SaaS provider, Customer3) and Customer2 creates and verifies a new wildcard custom hostname for *.example.com
, legacy custom hostname on Customer3 platform takes precedence due to exact hostname match.A customer has a proxied DNS record for their domain. The customer's zone on Cloudflare is using a Free plan.
This customer is also using a SaaS provider that uses Cloudflare for SaaS. The SaaS provider is using a Cloudflare Enterprise plan.
If the provider is using a wildcard custom hostname, then the original customer's plan limits will take precedence over the provider's plan limits (Cloudflare will treat the zone as a Free zone). To apply the Enterprise limits through Cloudflare for SaaS, the original customer's zone would need to either use a DNS-only record or the SaaS provider would need to use an exact hostname match.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4