Use mTLS with Cloudflare protected resources

Last updated Apr 23, 2026 In this implementation guide we will be focusing on the L7 / Application Layer security for HTTP/S requests targeting proxied hostnames, including the first connection between client and Cloudflare.

Some common mTLS use cases are:

  • Protect and verify legitimate API traffic by verifying Client Certificates provided during TLS/SSL handshakes.
  • Check IoT devices' identity by verifying Client Certificates they provide during TLS/SSL handshakes.

There are two main ways to use mTLS at Cloudflare, either by using the Application Security offering (optionally including API Shield) or Cloudflare Access. Below is a non-exhaustive overview table of their differences:

Feature Application Security (Client Certificate + WAF) Cloudflare Access (mTLS)
Mainly used for External Authentication (that is, APIs) Internal Authentication (that is, employees)
Availability By default, 100 Client Certificates per Zone are included for free. For more certificates or API Shield features, contact your account team. Zero Trust Enterprise only feature.
Certificate Authority (CA) Cloudflare-managed or customer-uploaded (BYO CA). There's a soft-limit of up to five customer-uploaded CAs. Customer-uploaded only (BYO CA). There's a soft-limit of up to 50 CAs.
Client Certificate Details Forwarded to the origin server via Cloudflare API, Cloudflare Workers, and Managed Transforms. Forwarded to the origin server via Cloudflare API, Cloudflare Workers, and Managed Transforms. Client Certificate headers and Cf-Access-Jwt-Assertion JWT header can be forwarded to the origin server.
Client Certificates Revocation Use the WAF Custom Rules to check for cf.tls_client_auth.cert_revoked, which only applies to Cloudflare-managed CA. <br><br> For BYO CAs, it would be the same approach as with Cloudflare Access. Generate a Certificate Revocation List (CRL) and enforce the revocation in a Cloudflare Worker.

Was this helpful?

YesNo

On this page

Use mTLS with Cloudflare protected resou - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/learning-paths/mtls/concepts/mtls-cloudflare/#page","headline":"Use mTLS with Cloudflare protected resources","description":"Learn about use mtls with cloudflare protected resources in this guide.","url":"https://developers.cloudflare.com/learning-paths/mtls/concepts/mtls-cloudflare/","inLanguage":"en","image":"https://developers.cloudflare.com/learning-paths/mtls/concepts/mtls-cloudflare/og.png?v=40b77ae5e2c392b2","dateModified":"2026-04-23","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Implement mutual TLS authentication with Cloudflare. title: mTLS with Application Security image: https://developers.cloudflare.com/learning-paths/mtls/mtls-app-security/og.png?v=3202d99d76c5e3de


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/learning-paths/llms.txt
Use this file to discover all available pages before exploring further.