Support · Requirements · Installation · License · Related Integrations
The DigitalOcean Provider plugin enables automated DNS-based domain validation for Keyfactor certificate lifecycle management through DigitalOcean. This plugin integrates with the DigitalOcean API to automatically create, verify, and delete DNS TXT records required for domain validation during certificate issuance and renewal.
- Automated DNS TXT record creation and deletion in DigitalOcean
- Bearer token authentication using a DigitalOcean Personal Access Token
- Automatic zone discovery across all domains on the account, matched by longest domain suffix
- Keyfactor AnyCA Gateway REST 26.2 or later (DNS validation support was added in AnyCA Gateway 26.2)
- A gateway product that supports DNS-01 domain validation (ACME REST Gateway, DigiCert, Sectigo, etc.)
- A DigitalOcean account with one or more domains managed by DigitalOcean's DNS
- A DigitalOcean Personal Access Token with
domain:read,domain:create, anddomain:deletescopes (create under API > Tokens in the DigitalOcean control panel)
- .NET 10.0 runtime (provided by the gateway server)
- Network connectivity to api.digitalocean.com (HTTPS/443)
This plugin is installed alongside any Keyfactor gateway server that supports DNS-01 domain validation (ACME REST Gateway, DigiCert, Sectigo, etc.). The same DLL works with every supported gateway.
See the official Keyfactor AnyCA Gateway REST installation documentation for the authoritative install instructions: . The steps below are a general guide; defer to the official docs if they diverge.
Download the latest release from the Releases page.
On the server hosting your gateway, unzip the release and copy the contents of the net10.0 directory into the gateway's Extensions folder.
Windows (example path — substitute the gateway product folder for your install):
C:\Program Files\Keyfactor\<GatewayName>\AnyGatewayREST\net10.0\Extensions\
Linux:
/opt/keyfactor/<gateway-name>/AnyGatewayREST/net10.0/Extensions/
Replace <GatewayName> (or <gateway-name> on Linux) with the gateway you are installing into (e.g. AcmeGwDns, DigiCert, Sectigo).
Restart the AnyGatewayREST Windows service for the gateway you installed the plugin into so the Extensions folder is rescanned.
After installing the plugin DLL into the gateway's Extensions folder, configure a new DNS Provider entry in the AnyCA Gateway REST UI and select DigitalOcean as the provider type. See the official Keyfactor AnyCA Gateway REST documentation for the canonical UI walkthrough: .
Create a DigitalOcean Personal Access Token for the account that owns the domains you want the plugin to manage:
- Log in to the DigitalOcean control panel
- Navigate to API > Tokens
- Generate a new token with
domain:read,domain:create, anddomain:deletescopes and copy the value
Provide the token as DigitalOcean_ApiToken in the plugin configuration below.
| Parameter | Description | Required | Example |
|---|---|---|---|
DigitalOcean_ApiToken |
DigitalOcean Personal Access Token with domain read/create/delete scopes. Created under API > Tokens in the DigitalOcean control panel. | Yes | |
Standard configuration:
{
"DigitalOcean_ApiToken": "your-digitalocean-api-token"
}Once configured, the plugin automatically handles DNS validation during certificate enrollment and renewal:
- Record Creation: Plugin creates a DNS TXT record with the validation challenge
- Propagation Wait: Plugin waits for DNS propagation
- Verification: Plugin verifies the record exists on DigitalOcean nameservers
- Cleanup: Plugin deletes the validation record after successful validation
The plugin discovers the appropriate DigitalOcean domain for a record by querying the DigitalOcean API for all domains on the account, then matching the record's domain against domain names from most specific (longest) to least specific.
Test DigitalOcean connectivity using curl against the API:
# List domains accessible to the account (validates the API token)
curl -s -H "Authorization: Bearer $DIGITALOCEAN_API_TOKEN" https://api.digitalocean.com/v2/domainsAuthentication Failures
Symptom: 401 Unauthorized listing domains
- Verify the API token has not expired or been revoked in the DigitalOcean control panel
- Confirm the token has
domain:read,domain:create, anddomain:deletescopes (or is a full-access token)
Zone Not Found
Symptom: No DigitalOcean domain found for example.com
- Verify the domain exists and is active in the DigitalOcean account
- Confirm the account associated with the API token owns that domain
Enable debug logging in the gateway's logging configuration:
{
"Logging": {
"LogLevel": {
"Keyfactor.Extensions.DomainValidator.DigitalOcean": "Debug"
}
}
}Check DigitalOcean service status: https://status.digitalocean.com/
The DigitalOcean DNS Provider plugin is supported by Keyfactor for Keyfactor customers. If you have a support issue, please open a support ticket via the Keyfactor Support Portal at https://support.keyfactor.com.
To report a problem or suggest a new feature, use the Issues tab. If you want to contribute actual bug fixes or proposed enhancements, use the Pull requests tab.
Apache License 2.0, see LICENSE.
See all Keyfactor DNS Provider plugins.