Certificate Syncs are configured per Application. First select which certificates to sync, then configure the Cloudflare destination.
Prerequisites
Create a Cloudflare sync
- Infisical UI
- API
- In your Application, go to the Certificate Syncs tab and select Create Sync.
- Select the Cloudflare Custom Certificate option.
-
Configure the Destination:
- Cloudflare Connection: The Cloudflare Connection to authenticate with.
- Zone: The Cloudflare zone (domain) for the certificates.
-
Configure the Sync Options:
- Enable Removal of Expired/Revoked Certificates: Remove certificates from the destination if they are no longer active.
- Bundle method: The bundle method Cloudflare uses to build the chain it serves.
- Certificate Name Schema: Customize certificate names using placeholders such as
{{certificateId}},{{commonName}},{{profileId}}, and{{applicationId}}. Must include{{certificateId}}. See Certificate Name Schema for the full placeholder reference. - Auto-Sync Enabled: Automatically sync certificates when changes occur.
-
Configure the Details:
- Name: The name of your sync (slug-friendly).
- Description: Optional description.
- Select which certificates should be synced.
- Review and click Create Sync.
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: Choose the bundle method Cloudflare uses to build the certificate chain.
Cloudflare Custom Certificate Syncs support both automatic and manual
synchronization modes. When auto-sync is enabled, certificates are
automatically deployed as they’re issued or renewed.
Bundle method
The Bundle method sync option (bundleMethod in the API) sets Cloudflare’s bundle method for every certificate the sync uploads:
With Compatible and Modern, Cloudflare may drop intermediates you upload. If a certificate comes from a CA outside Infisical that isn’t publicly trusted, such as AD CS, or is an imported certificate with a private chain, choose User-defined. For these certificates, the sync uploads only the stored chain and doesn’t add a root certificate.
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
FAQ
Can I import certificates from Cloudflare back into Infisical?
Can I import certificates from Cloudflare back into Infisical?
Cloudflare doesn’t support importing certificates back into Infisical
due to security limitations where private keys can’t be extracted from Cloudflare.
What’s next?
AWS Certificate Manager
Import certificates into ACM for AWS services.
Auto-Renewal
Enable automatic certificate renewal and syncing.
Alerting
Get notified about certificate lifecycle events.
Other Sync Destinations
View all supported sync destinations.