Cloudflare origin CA

Last updated Aug 14, 2026 If your origin only receives traffic from proxied records, use Cloudflare origin CA certificates to encrypt traffic between Cloudflare and your origin web server and reduce bandwidth consumption. Once deployed, these certificates are compatible with Strict SSL mode.

For more background information on origin CA certificates, refer to the introductory blog post ↗︎.

API Access required

Users who do not have API Access ↗︎ will receive an error while trying to create or revoke an origin CA certificate. Refer to Troubleshooting for guidance.

Availability

Free Pro Business Enterprise
Availability Yes Yes Yes Yes

Note

Using Cloudflare origin CA certificates does not prevent you from using delegated DCV.

Known limitation

Cloudflare does not currently send expiration notifications for origin CA certificates. If you rely on long-lived origin CA certificates, track their expiration in your own certificate inventory or monitoring system.


Deploy an Origin CA certificate

1. Create an Origin CA certificate

To create an Origin CA certificate in the dashboard:

  1. Go to the Origin Server page. Go to Origin Server ↗
  2. On the Origin Certificates tab, select Create Certificate.
  3. Choose either:
  4. Generate private key and CSR with Cloudflare: Private key type can be RSA or ECC.
  5. Use my private key and CSR: Paste the Certificate Signing Request into the text field.
  6. List the hostnames (including wildcards) the certificate should protect with SSL encryption. The zone apex and first level wildcard hostname are included by default.
  7. Choose a Certificate Validity period.
  8. Select Create.
  9. Choose the Key Format:
  10. Servers using OpenSSL — like Apache and NGINX — generally expect PEM files (Base64-encoded ASCII), but also work with binary DER files.
  11. Servers using Windows and Apache Tomcat require PKCS#7 (a .p7b file).
  12. Copy the signed Origin Certificate and Private Key into separate files. For security reasons, you cannot see the Private Key after you exit this screen.
  13. Select OK.

Note

For details about working with certificates programmatically, refer to API calls.

2. Install Origin CA certificate on origin server

To add an Origin CA certificate to your origin web server

  1. Upload the Origin CA certificate (created in Step 1) to your origin web server.
  2. Update your web server configuration:

  3. Apache httpd ↗︎

  4. GoDaddy Hosting ↗︎
  5. Microsoft IIS 7 ↗︎
  6. Microsoft IIS 8 and 8.5 ↗︎
  7. Microsoft IIS 10 ↗︎
  8. NGINX ↗︎
  9. Apache Tomcat ↗︎
  10. Amazon Web Services ↗︎
  11. Apache cPanel ↗︎
  12. Ubuntu Server with Apache2 ↗︎

Note

If you do not see your server in the list above, search the DigiCert documentation ↗︎ or contact your hosting provider, web admin, or server vendor.

  1. (Required for some) Upload the Cloudflare CA root certificate to your origin server. This can also be referred to as the certificate chain.
  2. Enable SSL and port 443 at your origin web server.

3. Change SSL/TLS mode

After you have installed the Origin CA certificate on your origin web server, update the SSL/TLS encryption mode for your application.

If all your origin hosts are protected by Origin CA certificates or publicly trusted certificates:

  1. Go to the SSL/TLS overview page. Go to Overview ↗
  2. For SSL/TLS encryption mode, select Full (strict).

If you have origin hosts that are not protected by certificates, set the SSL/TLS encryption mode for a specific application to Full (strict) by using a Page Rule.

Caution

Site visitors may see untrusted certificate errors if you pause Cloudflare or disable proxying on subdomains that use Cloudflare origin CA certificates. These certificates only encrypt traffic between Cloudflare and your origin server, not traffic from client browsers to your origin.

Revoke an Origin CA certificate

If you misplace your key material or do not want a certificate to be trusted, you may want to revoke your certificate. You cannot undo this process.

To prevent visitors from seeing warnings about an insecure certificate, you may want to set your SSL/TLS encryption to Full or Flexible before revoking your certificate. Do this globally via the Cloudflare dashboard ↗︎ or for a specific hostname via a Page Rule.

To revoke a certificate:

  1. Go to the Origin Server page. Go to Origin Server ↗
  2. On the Origin Certificates tab, choose a certificate.
  3. Select Revoke.

Additional details

Cloudflare Origin CA root certificate

Some origin web servers require upload of the Cloudflare Origin CA root certificate or certificate chain. Use the following links to download either an ECC or an RSA version and upload to your origin web server:

Hostname and wildcard coverage

Certificates may be generated with up to 200 individual Subject Alternative Names (SANs). A SAN can take the form of a fully-qualified domain name (www.example.com) or a wildcard (*.example.com). You cannot use IP addresses as SANs on Cloudflare origin CA certificates.

Wildcards may only cover one level, but can be used multiple times on the same certificate for broader coverage (for example, *.example.com and *.secure.example.com may co-exist).

API calls

To automate processes involving Origin CA certificates, use the following API calls. To authenticate, use an API token with Permissions that include Zone-SSL and Certificates-Edit.

Operation Method Endpoint
List certificates GET certificates?zone_id=<<ZONE_ID>>
Create certificate POST certificates
Get certificate GET certificates/<<ID>>
Revoke certificate DELETE certificates/<<ID>>

Troubleshooting

If you find NET::ERR_CERT_AUTHORITY_INVALID or other issues after setting up Cloudflare origin CA, refer to troubleshooting.

Was this helpful?

YesNo

On this page

Cloudflare origin CA - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/#page","headline":"Cloudflare origin CA","description":"Encrypt traffic between Cloudflare and your origin web server and reduce origin bandwidth consumption.","url":"https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/","inLanguage":"en","image":"https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/og.png?v=f13083cc282ac81f","dateModified":"2026-08-14","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: Troubleshoot issues like NET::ERR_CERT_AUTHORITY_INVALID when using Cloudflare origin CA. title: Troubleshooting Cloudflare origin CA image: https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/troubleshooting/og.png?v=dad6a0244060f38d


Skip to content

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