cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Mail → Install existing private key to DKIM record

AI-generated

Summary

Install an RSA private key in Privacy-Enhanced Mail (PEM) format to the DKIM record for a specified domain on the local server.

Inputs

  • Domain (required) — The domain for which to install the RSA private key to the local server's DKIM record. Multiple domains can be configured by incrementing the parameter name (e.g., domain-1, domain-2).
  • Key (required) — The RSA private key in Privacy-Enhanced Mail (PEM) format corresponding to the domain. Provide one key per domain parameter; multiple keys for a domain can be installed by incrementing the parameter name.

Output shape

a JSON object reflecting the WHM API server response to the install request, including success or error information

The output contains the API response directly from WHM; errors are surfaced via standard n8n error handling mechanisms, and the response includes status indicators and messages confirming success or failure of the installation.

Examples

Example 1: Install the private key for one domain

Set 'Domain' to 'example.com' and 'Key' to the PEM-format private key string, then execute the operation.

Links

Discussion