1
0
mirror of https://github.com/go-acme/lego.git synced 2025-03-11 23:14:41 +02:00
lego/providers/dns/cpanel/cpanel.toml
2025-01-11 15:35:31 +01:00

39 lines
1.2 KiB
TOML

Name = "CPanel/WHM"
Description = ''''''
URL = "https://cpanel.net/"
Code = "cpanel"
Since = "v4.16.0"
Example = '''
### CPANEL (default)
CPANEL_USERNAME = "yyyy"
CPANEL_TOKEN = "xxxx"
CPANEL_BASE_URL = "https://example.com:2083" \
lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
## WHM
CPANEL_MODE = whm
CPANEL_USERNAME = "yyyy"
CPANEL_TOKEN = "xxxx"
CPANEL_BASE_URL = "https://example.com:2087" \
lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
'''
[Configuration]
[Configuration.Credentials]
CPANEL_USERNAME = "username"
CPANEL_TOKEN = "API token"
CPANEL_BASE_URL = "API server URL"
[Configuration.Additional]
CPANEL_MODE = "use cpanel API or WHM API (Default: cpanel)"
CPANEL_POLLING_INTERVAL = "Time between DNS propagation check in seconds (Default: 2)"
CPANEL_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 120)"
CPANEL_TTL = "The TTL of the TXT record used for the DNS challenge in seconds (Default: 300)"
CPANEL_HTTP_TIMEOUT = "API request timeout in seconds (Default: 30)"
[Links]
API_CPANEL = "https://api.docs.cpanel.net/cpanel/introduction/"
API_WHM = "https://api.docs.cpanel.net/whm/introduction/"