Cloudflare DNS-01 setup
Connect the Cloudflare zone that serves your domain so SSLNexus can publish the DNS-01 challenge at issuance and renewal. You need the domain’s Zone ID and a token with permission to read that zone and edit its DNS records.
Find the Cloudflare Zone ID
- Sign in to Cloudflare, open Domains and select the domain that matches the verified parent in SSLNexus. For
app.example.orghosted in theexample.orgzone, openexample.org. - Open the domain’s Overview. Scroll down to API and use the copy button beside Zone ID. Account ID on the same panel identifies the entire account. Only the Zone ID belongs in the SSLNexus zone field.
Create a token for that zone
- In Cloudflare, open My Profile → API Tokens → Create Token. Choose the Edit zone DNS template and give the token a recognisable name.
- Under Permissions, include Zone → Zone → Read and Zone → DNS → Edit. Under Zone Resources, choose Include → Specific zone and select the same domain.
- Review the summary, create the token and copy its value while it is displayed. If you set an expiry or restrict source IP addresses, allow for unattended renewals and the public egress address of the Client Server.
Connect Cloudflare in SSLNexus
- As an organisation administrator, open Control Centre → Organisation → Managed parent domains. Select Configure DNS-01 beside the verified domain. For a pending domain, complete domain ownership verification first.
- Choose Cloudflare as the DNS provider. Paste the zone identifier into Zone ID and the secret token into API token. Choose Check connection, then Save connection.
- Open Deployment targets → Configured targets → Edit → Certificate authority. Select Let’s Encrypt and enter your account email. Choose ACME directory → Production, then Save target.
- Open Certificates → Certificate workflows → Create automation. Select the deployment target and enter the common name. Add any additional hostnames or wildcards under SANs and choose DNS-01. Check the zone shown for each name and select Create automation. Follow the job and origin verification steps.
Verify the certificate and renewal
In Certificates, open the certificate’s job Details. Check the requested names and compare the issued SHA-256 fingerprint with the certificate served by the origin. If Cloudflare proxies the hostname, its edge can serve a different certificate.
Check the next renewal date and keep the zone token active. To rotate it, open Organisation → Managed parent domains → Manage DNS-01 → Replace credentials for that zone.