le-cert-server
GitHub

CPanel/WHM

Configuration for the CPanel/WHM DNS provider.

See the lego documentation for full details.

letsEncrypt:
  dnsProvider: "cpanel"
  dnsCredentials:
    # CPANEL_BASE_URL: API server URL
    baseURL: ""
    # CPANEL_TOKEN: API token
    token: ""
    # CPANEL_USERNAME: username
    username: ""
    # CPANEL_MODE: use cpanel API or WHM API (Default: cpanel)
    mode: ""
    # CPANEL_POLLING_INTERVAL: Time between DNS propagation check in seconds (Default: 2)
    pollingInterval: ""
    # CPANEL_PROPAGATION_TIMEOUT: Maximum waiting time for DNS propagation in seconds (Default: 120)
    propagationTimeout: ""
    # CPANEL_TTL: The TTL of the TXT record used for the DNS challenge in seconds (Default: 300)
    ttl: ""

Credentials are passed directly to lego using strong types and are never written to the process environment. You may also use the raw lego environment-variable names as keys instead of the normalized names.

Edit this page on GitHub