-
-
Notifications
You must be signed in to change notification settings - Fork 54
Supported DNS‐01 Providers
Yuzerion edited this page Feb 13, 2025
·
7 revisions
autocert:
provider: cloudflare
options:
auth_token:
auth_token
your zone API token
Follow this guide to create a new token with Zone.DNS
read and edit permissions
autocert:
provider: clouddns
options:
client_id:
email:
password:
autocert:
provider: duckdns
options:
token:
Tested by earvingad
autocert:
provider: ovh
options:
api_endpoint:
application_key:
application_secret:
consumer_key:
oauth2_config:
client_id:
client_secret:
Note, application_key
and oauth2_config
CANNOT be used together
-
api_endpoint
: Endpoint URL, or one of-
ovh-eu
, -
ovh-ca
, -
ovh-us
, -
kimsufi-eu
, -
kimsufi-ca
, -
soyoustart-eu
, soyoustart-ca
-
application_secret
application_key
consumer_key
-
oauth2_config
: Client ID and Client Secretclient_id
client_secret
CloudDNS as an example
-
Fork this repo, modify internal/autocert/constants.go
var providersGenMap = map[string]ProviderGenerator{ "cloudflare": providerGenerator(cloudflare.NewDefaultConfig, cloudflare.NewDNSProviderConfig), // add here, e.g. "clouddns": providerGenerator(clouddns.NewDefaultConfig, clouddns.NewDNSProviderConfig), }
-
Go to https://go-acme.github.io/lego/dns/clouddns and check for required config
-
Build GoDoxy with
make build
-
Set required config in
config.yml
autocert.options
section# From https://go-acme.github.io/lego/dns/clouddns/ CLOUDDNS_CLIENT_ID=bLsdFAks23429841238feb177a572aX \ [email protected] \ CLOUDDNS_PASSWORD=b9841238feb177a84330f \ lego --email [email protected] --dns clouddns --domains my.example.org run
Should turn into:
autocert: ... provider: clouddns options: client_id: bLsdFAks23429841238feb177a572aX email: [email protected] password: b9841238feb177a84330f
-
If it works, commit and create pull request. Otherwise submit an issue.