Skip to main content

How to Import a GnuPG Public or Private Key Into cPanel

You can import GnuPG (GPG) public or private keys into cPanel to enable encrypted email communication. This process allows you to manage and use cryptographic keys directly within the cPanel interface.

You can import GnuPG (GPG) public or private keys into cPanel to enable encrypted email communication. This process allows you to manage and use cryptographic keys directly within the cPanel interface.

Important: This feature is only available on Hostek plans that include GnuPG email encryption support.

Before you begin

You will need:

  • An active cPanel account

  • The GnuPG key file (typically with a .asc or .gpg extension)

  • The specific key you wish to import (Public or Private)

Importing the GnuPG key

  1. Log in to your cPanel account.

  2. Locate the Security section and select GnuPG Key Manager.

  3. Select the option to Import a key.

  4. Choose the appropriate type: Public Key or Private Key.

  5. Provide a descriptive name for the key.

  6. Upload the key file from your local device.

  7. Click Import.

Confirm the result

  • The key will appear in the list of available keys within the GnuPG Key Manager.

  • The status of the key will show as "Active" or "Imported."

  • You can click on the key to view its details and confirm the correct key type is assigned.

Limitations

This procedure only imports the key into the cPanel environment for use with supported features. Importing a key does not automatically configure email encryption for your mailboxes; you must still configure your mail server settings to utilize the imported keys.

Did this answer your question?