Skip to main content
Prerequisites:
Custom Certificate Quota: Cloudflare has a default quota of one custom certificate per zone on most plans. Enterprise plans may have higher quotas. If you attempt to sync more certificates than your quota allows, only one certificate will be successfully uploaded. Check your Cloudflare plan’s certificate quota before configuring the sync, or contact Cloudflare to increase your quota.
  1. Navigate to Project > Integrations > Certificate Syncs and press Add Sync. Certificate Syncs Tab
  2. Select the Cloudflare Custom Certificate option. Select Cloudflare
  3. Configure the Destination to where certificates should be deployed, then click Next. Configure Destination
  • Cloudflare Connection: The Cloudflare Connection to authenticate with.
  • Zone: The Cloudflare zone (domain) where certificates should be uploaded.
  1. Configure the Sync Options to specify how certificates should be synced, then click Next. Configure Options
  • Enable Removal of Expired/Revoked Certificates: If enabled, Infisical will remove certificates from the destination if they are no longer active in Infisical.
  • Certificate Name Schema (Optional): Customize how certificate names are generated. Must include {{certificateId}} as a placeholder. If not specified, defaults to Infisical-{{certificateId}}.
  • Auto-Sync Enabled: If enabled, certificates will automatically be synced when changes occur. Disable to enforce manual syncing only.
  1. Configure the Details of your Cloudflare Custom Certificate Sync, then click Next. Configure Details
    • Name: The name of your sync. Must be slug-friendly.
    • Description: An optional description for your sync.
  2. Select which certificates should be synced to Cloudflare. Select Certificates
  3. Review your Cloudflare Custom Certificate Sync configuration, then click Create Sync. Confirm Configuration
  4. If enabled, your Cloudflare Custom Certificate Sync will begin syncing your certificates to the destination endpoint. Sync Certificates

Certificate Management

The Cloudflare Custom Certificate Sync provides:
  • Automatic Deployment: Deploy certificates in Infisical to Cloudflare as Custom certificates.
  • Certificate Updates: Update certificates in Cloudflare when renewals occur.
  • Expiration Handling: Optionally remove expired certificates from Cloudflare (if enabled).
  • Chain Management: Properly bundle certificate chains for optimal browser compatibility.
Cloudflare Custom Certificate Syncs support both automatic and manual synchronization modes. When auto-sync is enabled, certificates are automatically deployed as they are issued or renewed.

Manual Certificate Sync

You can manually trigger certificate synchronization to Cloudflare using the sync certificates functionality. This is useful for:
  • Initial setup when you have existing certificates to deploy
  • One-time sync of specific certificates
  • Testing certificate sync configurations
  • Force sync after making changes
To manually sync certificates, use the Sync Certificates API endpoint or the manual sync option in the Infisical UI.

FAQ

Cloudflare does not support importing certificates back into Infisical due to security limitations where private keys cannot be extracted from Cloudflare.