Skip to content
Documentation / DNS-01 certificate validation

DNS-01 certificate validation

Use DNS-01 to issue and renew Let’s Encrypt certificates for individual hostnames or wildcards. SSLNexus places a temporary TXT value in your public DNS zone, waits for the authoritative nameservers to serve it and removes it after validation. The CA can validate a name even when its web server is behind a proxy or closed to inbound HTTP.

After the first wildcard deployment, use its workspace to install the same certificate and key on another host. Add a workspace host.

Choose your DNS provider

Start with the provider that hosts the authoritative zone for your certificate name. DNS-01 connections are available on every SSLNexus tier.

Verify the domain and save its connection

  1. Sign in at /admin on your Client Server as an organisation administrator. If you manage multiple clients, open the intended client estate first.
  2. Open Organisation → Managed parent domains. If the domain is pending, open Discovery → Domain Discovery, select the parent domain and copy the displayed TXT name and value into its authoritative DNS zone. Choose Verify DNS ownership. Return to the verified domain row. This ownership record is separate from the temporary records used for certificate issuance.
  3. On that row, choose Configure DNS-01 → DNS provider. Enter the values from the guide for your provider. Zone names must match the verified domain. Use the DNS provider credential here. The key created under API Access authenticates callers to SSLNexus itself.
  4. Choose Check connection, then Save connection. A direct connection checks read access to the selected zone. An Indusface connection checks the public CNAME and its destination. SSLNexus writes the TXT value during issuance. Reopen Manage DNS-01 to see the saved connection or choose Check again.

For a certificate spanning several DNS zones, repeat these steps for every zone in the same client estate. A wildcard and its parent, such as *.example.org and example.org, use the same TXT owner, _acme-challenge.example.org. Include both names if the certificate should cover both.

Set the Let’s Encrypt directory on the target

  1. Open Deployment targets → Configured targets → Edit → Certificate authority for the server that will receive the certificate. For the Control Centre’s own hostname, open Settings → SSLNexus server → Installation CA.
  2. Select Let’s Encrypt, enter the account email and choose ACME directory → Production. This setting applies to every DNS provider listed above, including CNAME delegation.
  3. Choose Save target or Save installation CA. For the Control Centre certificate, enter the installation hostname as the common name when you create the automation.

Issue and verify a certificate

  1. Open Certificates → Certificate workflows → Create automation. In Create certificate automation, select the saved target and enter the Common name. Put any additional names in SANs, separated by commas.
  2. Choose Validation method → DNS-01. Review the provider and zone displayed for every name. If a name needs a connection, follow Configure DNS-01 connections back to Organisation. Set your renewal options, then choose Create automation to start issuance.
  3. In Certificates, open the certificate’s job Details. Follow publication, authoritative DNS, CA validation, deployment and live verification. Compare the issued SHA-256 fingerprint with the leaf served by the intended origin for that hostname. A CDN can serve its own certificate on the public address.
  4. Check the certificate’s next renewal date and the domain’s Manage DNS-01 status. SSLNexus removes the TXT value it published and preserves other values at the same name.

For a certificate request through the Management API, first save the zone connection and target as above. Include "validation_method": "dns-01" in the JSON sent to POST /api/v1/certificates. The request uses the saved credentials for the calling estate and target.

Use a delegated challenge name

For a direct provider connection, configure the source and destination zones with the same DNS provider in the same organisation. Verify the destination zone first. Publish the intended CNAME in your DNS provider. On the source domain, use Configure DNS-01 (or Manage DNS-01 → Replace credentials for a saved connection). Enter one mapping per line in Approved CNAME delegations (optional) and save the connection.

_acme-challenge.app.example.org=validation.example.net

Here the challenge for app.example.org is published at validation.example.net. SSLNexus checks the public CNAME against the saved mapping before it writes. If the destination changes, review its ownership and update the mapping before trying again.

For an Indusface source domain, select Indusface (CNAME delegation) and enter each pair in Approved challenge CNAMEs. The destination must use a direct DNS-01 API connection in the same organisation. Configure the AppTrana CNAME and destination zone.

Renew, replace or redeploy

  • Scheduled renewal. SSLNexus reuses the saved DNS connection and directory when the certificate enters its renewal window. Set the daily check under Settings → SSLNexus server → Automatic renewal schedule → Daily renewal check (UTC). A certificate set to require approval waits until an authorised operator chooses Approve renewal.
  • Manual renewal. Use Request renewal during the renewal window. To obtain fresh certificate material outside that window, use Request new certificate. The CA may reuse a still-valid authorisation.
  • Deployment failure after issuance. Use Reissue certificate to deploy the retained certificate and key again. This keeps the serial number and expiry and avoids another DNS challenge.
  • Revocation and removal. Revocation contacts the certificate authority. Removing a certificate from management stops its SSLNexus lifecycle. Neither operation needs a new validation TXT record.

To replace an existing diagnostic certificate, select Production on its target and save. Open the managed certificate and choose Request new certificate. SSLNexus requests a fresh certificate for the same record and uses Production for subsequent renewals. Reissue certificate redeploys the certificate already on file.

Rotate credentials and resolve common errors

  • Zone read access fails. Check the active estate, the provider’s zone identifier and the credential’s read permissions. For Cloudflare, copy the Zone ID from the selected domain. For AWS, select the public hosted zone that serves the domain.
  • Reads succeed but publication fails. Check DNS write and delete permissions for the exact challenge owner, including a delegated destination. For HTTP 401 or 403, check expiry and permissions. Rotate under Organisation → Managed parent domains → Manage DNS-01 → Replace credentials. Keep the same provider, zone and delegation settings for a credential-only change. Check and save the replacement before retiring the former credential.
  • Waiting for DNS or HTTP 429. Check the TXT owner at each authoritative nameserver. For example, use dig NS example.org +short, then run dig @ns1.example.net TXT _acme-challenge.app.example.org +short with each returned server. For a delegation, query the destination zone and owner. Allow the original job to resume after propagation or the provider’s retry interval.
  • Cleanup pending. Restore access and open Manage DNS-01 → Retry cleanup. If a record was edited elsewhere, compare the DNS audit history with the job details before taking action. Preserve all other TXT values at that name. A cleanup warning alone does not require another certificate.
  • After restoring a backup. Open the affected domain, check the connection again and check outstanding cleanup before creating a new order. Review the original certificate job and the provider’s current TXT values.

If a provider accepted a request but the connection closed before SSLNexus received the record identifier, review the change at the provider. Preserve pre-existing TXT values. Once you have confirmed the original request is complete and its challenge value is absent, use Retry cleanup in the destination zone. For OVHcloud also confirm the zone refresh completed.