Skip to content
AnswerWell geo Documentation

Research · 10 min read · Answerwell

Root CA Certificate Installation, Trust, and TLS Inspection

When and how to deploy, trust, and verify a Zero Trust inspection root CA on devices, including automation, fingerprints, and common failures.

This page summarises Cloudflare Zero Trust documentation on user-side root certificates: the private root CA your organisation installs on endpoints so features such as HTTPS traffic inspection, custom Gateway block pages, Data Loss Prevention, and Browser Isolation can work without certificate errors.

User-side root certificate: when you need one on the device

Section titled “User-side root certificate: when you need one on the device”

A user-side root certificate is required when encrypted HTTP traffic must be inspected or when the product must present organisation-controlled TLS to the browser.

Advanced security features such as HTTPS traffic inspection, Data Loss Prevention, anti-virus scanning, Access for Infrastructure, and Browser Isolation require users to install and trust a root certificate on their device. You can either install the certificate provided by Cloudflare (default option), or generate your own custom certificate and upload it to Cloudflare.

— Cloudflare, User-side certificates

The same requirement applies at first-time client setup:

Advanced security features including HTTP traffic inspection require users to install and trust the Cloudflare root certificate on their machine or device. If you are installing certificates manually on all your devices, these steps will need to be performed on each new device that is to be subject to HTTP filtering.

— Cloudflare, First-time setup

Gateway block pages shown as the blocked domain’s URL also depend on a trusted organisation certificate on the device (Enterprise customers may use their own root CA):

In order to display the block page as the URL of the blocked domain, your organization’s devices must have a Cloudflare certificate installed. Enterprise users can also deploy their own root CA certificate. If you do not install a certificate, the block page will not display correctly.

— Cloudflare, Gateway block page

TLS inspection needs a trusted private root on devices. Cloudflare’s generated root is often enough for testing; production fleets frequently reuse an existing PKI root.

TLS inspection requires a trusted private root certificate to be able to inspect and filter encrypted traffic. A Cloudflare root certificate is a simple and common solution that is usually appropriate for testing or proof-of-concept conditions when deployed to your devices.

— Cloudflare, Use TLS inspection

Deploying the Cloudflare root certificate is the simplest way to get started with TLS decryption and is usually appropriate for testing or proof of concept conditions.

If you already have a certificate that you use for other inspection or trust purposes, we recommend uploading your own root certificate for the following reasons:

Using a single certificate streamlines IT management.

— Cloudflare, Enable TLS decryption (optional)

After generation or upload, inspection uses certificates marked Available and In-Use; only installed certificates in those states are used for inspection:

Zero Trust will only inspect traffic using installed certificates set to Available and In-Use.

— Cloudflare, Install certificate manually

Deployment status Meaning
Inactive Generated or uploaded but not deployed on the Cloudflare network
Pending Activating or deactivating
Available Deployed globally; the Cloudflare One Client can install it on devices
Available and In-Use Turned on; Gateway uses it for inspection

Per User-side certificates.

Accounts can use a per-account generated root CA (replacing the legacy default that expired on 2025-02-02); generated and custom roots must be activated before inspection use (Gateway changelog).

Install root CA: Cloudflare One Client vs manual deployment

Section titled “Install root CA: Cloudflare One Client vs manual deployment”

Automatic install with the Cloudflare One Client

Section titled “Automatic install with the Cloudflare One Client”

On supported desktops, the client can push the active root into the system certificate store after enrollment.

The Cloudflare One Client can automatically install a Cloudflare certificate or custom root certificate on Windows, macOS, and Debian/Ubuntu Linux devices. On mobile devices and Red Hat-based systems, you will need to install the certificate manually.

— Cloudflare, Install certificate using the Cloudflare One Client

System Client auto-install
Windows Supported (minimum client 2024.12.554.0)
macOS Supported (same minimum version)
Linux (Debian-based) Supported
iOS, Android, ChromeOS Not supported via client

Enable Install CA to system certificate store under Global Cloudflare One Client settings in the dashboard (automated deployment). Settings may take up to 10 minutes to reach devices.

The client stores files under installed_certs/<certificate_id>.pem and also maintains installed_cert.pem (deprecated after 2025-06-31). The client does not install into per-application trust stores.

On macOS Big Sur and newer, administrators must manually trust the root in Keychain Access (Always Trust) or use MDM (automated deployment — manually trust).

Alternatively, Gateway docs note that the client can install a certificate automatically when supported, with manual steps otherwise (Cloudflare Gateway).

Use Install certificate manually when the client cannot install the CA, on mobile platforms, or when you need a specific trust scope.

High-level requirements:

If your device does not support certificate installation via the Cloudflare One Client, you can manually install a Cloudflare certificate. You must add the certificate to both the system keychain and to individual application stores. These steps must be performed on each new device that is to be subject to HTTP filtering.

— Cloudflare, Install certificate manually

Download limits: Cloudflare-generated inspection roots can only be downloaded from the Zero Trust dashboard or via the Cloudflare One Client—not from arbitrary public CAs (manual deployment).

Dashboard path: Zero Trust → Traffic policies → Traffic settings → Certificates → More actions → Download .pem / .crt.

Windows certificate store: posture check vs TLS trust

Section titled “Windows certificate store: posture check vs TLS trust”

For Windows manual install, Local Machine trust affects all users; Current User affects only the signed-in user. Device posture checks that look for an installed CA can fail if the root is only in Local Machine:

If your certificate is installed in the Local Machine Store, the device posture check looking for a certificate will fail. Install the certificate in the Current User Store to ensure a successful posture device check.

— Cloudflare, Install certificate manually

Install into Trusted Root Certification Authorities for TLS trust (manual deployment — Windows).

Generate and activate a root CA in Zero Trust

Section titled “Generate and activate a root CA in Zero Trust”
  1. In the dashboard, open Zero Trust → Traffic policies → Traffic settings → Certificates and choose Generate certificate, or call the Create Zero Trust certificate API.
  2. Select Activate on the certificate (deploys to the Cloudflare network; status becomes Available). Up to 10 certificates may be Available at once; only one may be In-Use for inspection at a time.
  3. Turn the certificate on for inspection (Confirm and turn on certificate), which sets Available and In-Use.
  4. Deploy to endpoints via Install CA to system certificate store and client enrollment, or follow manual deployment.
  5. On macOS Big Sur+, complete manual trust in Keychain if the client cannot set trust automatically.

Enterprise users may upload a custom root instead of a Cloudflare-generated one (User-side certificates). MDM tools (for example Microsoft Intune) can distribute a downloaded .crt as a Trusted certificate profile.

Certificate thumbprint: how to verify SHA1 and SHA256

Section titled “Certificate thumbprint: how to verify SHA1 and SHA256”

Before trusting a downloaded file, compare its fingerprint to the Certificate thumbprint shown in the dashboard.

To verify your download, use a terminal to check that the downloaded certificate’s hash matches the thumbprint listed under Certificate thumbprint.

— Cloudflare, Install certificate manually

Examples from Cloudflare docs (replace paths with your file):

openssl x509 -noout -fingerprint -sha1 -inform pem -in certificate.pem
openssl x509 -noout -fingerprint -sha256 -inform pem -in certificate.pem

For .crt in DER form, use -inform der (manual deployment — verify).

SHA-256 for managed networks or emergency disconnect

Section titled “SHA-256 for managed networks or emergency disconnect”

When a TLS endpoint uses a self-signed certificate, you may need a SHA-256 fingerprint for configuration:

openssl x509 -noout -fingerprint -sha256 -inform pem -in cert.pem | tr -d :

Remote server:

openssl s_client -connect <private-server-IP>:443 < /dev/null 2> /dev/null | openssl x509 -noout -fingerprint -sha256 | tr -d :

— Cloudflare, Emergency Disconnect and Managed networks

Application signing thumbprint (device posture)

Section titled “Application signing thumbprint (device posture)”

For application check posture rules, signing thumbprints differ by OS. Cloudflare recommends testing posture checks without thumbprint or SHA256 checksum values first:

When setting up new device posture checks, we recommend first testing them without setting certificate thumbprint or SHA256 checksum values.

— Cloudflare, Application check

On macOS, codesign and openssl x509 extract the cert; on Windows, Get-AuthenticodeSignature applies to signed executables (Application check).

Applications and browsers that ignore the system trust store

Section titled “Applications and browsers that ignore the system trust store”

Many programs maintain separate CA lists. System trust alone is not always enough for TLS inspection.

Some applications do not use the system certificate store and therefore require the certificate to be added to the application directly.

If you do not update the application to trust the Cloudflare certificate, the application will refuse to connect and you will receive an untrusted certificate error.

— Cloudflare, Install certificate manually

Even if you deployed WARP through the Install certificate using the Cloudflare One Client method, you may still need to add the Cloudflare certificate to certain applications. The Install certificate using the Cloudflare One Client method only installs the Cloudflare certificate to the operating system certificate store.

— Cloudflare, Install certificate manually

Chrome on macOS/Windows 113+ uses Chromium’s internal trust store on some platforms; manual import via Settings → Privacy and security → Security → Manage certificates → Authorities may be required (manual deployment — Chrome).

Firefox imports via its own Authorities store (manual deployment — Firefox).

Language runtimes and tools (Python/certifi, Java keytool, npm cafile, Git http.sslcainfo, Docker image trust stores, and others) are documented in the same manual deployment guide.

WARP client certificate (enrollment mTLS) vs inspection root CA

Section titled “WARP client certificate (enrollment mTLS) vs inspection root CA”

Device enrollment can fail if the client (mTLS) certificate is missing or blocked:

The device failed to present a valid mTLS certificate during device enrollment.

— Cloudflare, Client errors

Resolution: remove admin restrictions on certificate installation and re-install the client certificate (Client errors).

In posture-only mode, the on-device client certificate name should match the Device ID in client preferences; in the zone dashboard, SSL/TLS → Client Certificates lists the WARP enrollment device ID (Enable Posture only mode).

That client certificate is separate from the Gateway inspection root CA, though both involve trust stores on the endpoint.

Common mistakes and untrusted certificate warnings

Section titled “Common mistakes and untrusted certificate warnings”

The usual cause is a missing or untrusted inspection root on the endpoint:

If users see certificate warnings for every page, ensure that the Cloudflare root certificate is installed and trusted on their devices. This is required for Gateway to inspect HTTPS traffic.

— Cloudflare, Troubleshooting — Gateway

The same guidance appears under traffic controls troubleshooting.

Checklist:

  • Confirm the correct certificate is Available and In-Use in Zero Trust (User-side certificates).
  • Confirm the root is in the system trust store (and manually trusted on recent macOS).
  • Confirm browsers and CLI tools that use private stores trust the same root (manual deployment).
  • On Windows posture scenarios, prefer Current User store when a posture check expects it (manual deployment — Windows).

Public CA trust errors (unrelated to inspection root)

Section titled “Public CA trust errors (unrelated to inspection root)”

Load balancer or origin health checks may report:

The certificate is not trusted by a public Certificate Authority (CA).

— Cloudflare, Common error codes

That indicates the monitored TLS endpoint is not publicly trusted—not that the Zero Trust inspection root is missing.

Uploading the wrong certificate type (zone client CA / mTLS)

Section titled “Uploading the wrong certificate type (zone client CA / mTLS)”

When configuring client certificates at the edge (distinct from user-side inspection roots), uploads must be CA certificates with supported algorithms and valid PEM wrapping (Client certificates troubleshooting).

  1. In Zero Trust → Traffic policies → Traffic settings → Certificates, confirm one certificate is Available and In-Use for inspection (User-side certificates).
  2. Download .pem or .crt and run openssl x509 fingerprints; match dashboard Certificate thumbprint (manual deployment).
  3. On a test device, open the system trust store (for example Windows certlm.msc → Trusted Root Certification Authorities, or macOS Keychain Gateway CA - Cloudflare Managed G1) (automated deployment).
  4. Browse HTTPS sites and run curl https://ipinfo.io (or similar HTTP check) after WAN routing, as recommended when validating post-install connectivity (Microsoft Azure VPN Gateway).
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.