[CPANEL-14899] There was a problem creating the GnuPG Key

razak19

Registered
Sep 10, 2018
1
0
1
USA
cPanel Access Level
Website Owner
Hello All,

I'm using Cpanel 74.0.6, and attempting to create an encryption key for a mail user.

Unfortunately, I'm greeted with the error "There was a problem creating the GnuPG Key. The request timed out."

This occurs after about 10 minutes or so.

Has anyone ran into this? Does anyone have a solution? Thank You in Advanced :)
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @razak19,

GPG requires a certain amount of entropy to generate they key, and thus it's possible the issue you are facing is due to a lack of entropy on your system. You can check the current available entropy using the following command:

Code:
cat /proc/sys/kernel/random/entropy_avail
More information about how this works is available at:

gpg --gen-key hangs at gaining enough entropy on centos 6

One potential workaround is to install the rng-tools package and generate entropy using the commands below:

Code:
yum install rng-tools -y; rngd -r /dev/urandom
Once you do this, try generating the key again to see if it works. Note that we do have an internal case open to monitor reports of this happening. The case number is CPANEL-14899. I'll monitor this case and update this thread with more information as it becomes available.

Thank you.