Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED AutoSSL urandom Permission denied error

Discussion in 'Security' started by KC-Bill, Mar 20, 2017.

Tags:
  1. KC-Bill

    KC-Bill Member

    Joined:
    Nov 12, 2008
    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    AutoSSL doesn't seem to be working at all on any domains on my server. The error log for all domains indicates as follows:
    Code:
    1:09:01 PM WARN Failed to open(/dev/urandom): Permission denied at /usr/local/cpanel/Cpanel/Rand/Get.pm line 142.
    1:09:01 PM WARN Using slow randomization logic! at /usr/local/cpanel/Cpanel/Rand/Get.pm line 181.
     
    What's happening here?
     
  2. KC-Bill

    KC-Bill Member

    Joined:
    Nov 12, 2008
    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    In case this is of use to anyone else, here's the fix. The permissions on /dev/urandom were 0600, they needed to be 0644. Simple enough.

    Code:
    chmod 0644 /dev/urandom
     
    Infopro likes this.
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,765
    Likes Received:
    313
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks for updating the thread. :)
     
Loading...

Share This Page