cpanel.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Name = "CPanel/WHM"
  2. Description = ''''''
  3. URL = "https://cpanel.net/"
  4. Code = "cpanel"
  5. Since = "v4.16.0"
  6. Example = '''
  7. ### CPANEL (default)
  8. CPANEL_USERNAME = "yyyy"
  9. CPANEL_TOKEN = "xxxx"
  10. CPANEL_BASE_URL = "https://example.com:2083" \
  11. lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
  12. ## WHM
  13. CPANEL_MODE = whm
  14. CPANEL_USERNAME = "yyyy"
  15. CPANEL_TOKEN = "xxxx"
  16. CPANEL_BASE_URL = "https://example.com:2087" \
  17. lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
  18. '''
  19. [Configuration]
  20. [Configuration.Credentials]
  21. CPANEL_USERNAME = "username"
  22. CPANEL_TOKEN = "API token"
  23. CPANEL_BASE_URL = "API server URL"
  24. [Configuration.Additional]
  25. CPANEL_MODE = "use cpanel API or WHM API (Default: cpanel)"
  26. CPANEL_POLLING_INTERVAL = "Time between DNS propagation check in seconds (Default: 2)"
  27. CPANEL_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation in seconds (Default: 120)"
  28. CPANEL_TTL = "The TTL of the TXT record used for the DNS challenge in seconds (Default: 300)"
  29. CPANEL_HTTP_TIMEOUT = "API request timeout in seconds (Default: 30)"
  30. [Links]
  31. API_CPANEL = "https://api.docs.cpanel.net/cpanel/introduction/"
  32. API_WHM = "https://api.docs.cpanel.net/whm/introduction/"