Knowledge Base
MilesWeb / cPanel

Managing GnuPG Key in cPanel

Approx. read time : 2 min

This article explains to you how to manage email encryption using GNU Privacy Guard Keys in cPanel.

What is GnuPG?

The GNU Privacy Guard which is also known as GnuPG or PGP is free software and open-source implementation for public-key cryptography. Public-key cryptography systems use public and private keys (keypairs) in order to encrypt and decrypt email messages, files, etc. Recipients public key is used by senders to encrypt items, whereas recipients use their own private keys to decrypt the items.

It is easy to create, import, view and delete keys by using cPanel.

# Steps to create a new Key

Make sure that you create a new keypair first, so as to use GnuPG encryption.

Perform the following steps to create a new GnuPG keypair :

1. Log in to cPanel.

2. Go to Email section on the cPanel home screen, and click on Encryption.

3. Under Create a New Key section, type your name in the text box for Name.

4. In the text box for Your Email, type your e-mail address.

5. Type a comment or nickname for the key in the text box provided for the Comment/Nickname.

6. Type the password that you want in the text box for the Key Password.

7. Again type the Password in the Password (Again) text box.

8. In the text box for Expire Date, type an expiration date for the key. The default expiration date is one year.

9. Select a key size in the text box for the Key Size list box.

10. Click on Generate Key.

Once the process gets completed, it will show you The Key has been successfully created appears.

# Steps to Import a Key

You can import your public key, only if you already have a keypair.

1. On the cPanel home screen, go to the Email section and click on Encryption.

2. Click on Import Key.

3. Copy and Paste your text key into the text box.

Make sure when you copy-paste the text, you include following lines at the key’s beginning and ending lines :

——BEGIN PGP PUBLIC KEY BLOCK——-Key data

——END PGP PUBLIC KEY BLOCK—–

4. Click on Import.

# Steps to view and delete a key

1. Go to Email section on the cPanel home screen and click on Encryption.

2. Identify and locate the key that you wish to view or delete. For each email address, there will be separate private and a public key.

• Click on View to view the key.

Identify and locate the private key and click on Delete GnuPG Key, to delete the key. Then click on Yes to confirm your deletion. It will delete both the private and public key.

Avatar
Pravin is Journalist Specializing in Blogging, Social Networking and Community Management. As a constant learner, he is always aiming towards new ideas and greater knowledge. When he is not doing research, reading, or writing for blogs, you can find him hanging around social media sites.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent 4.8 out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna