Cant load .rnd into RNG #447

Closed
opened 2025-12-29 01:25:27 +01:00 by adam · 2 comments
Owner

Originally created by @loewexy on GitHub (Nov 14, 2019).

If I run dehydrated in cron mode and it is generating a CSR it throws the following error.

+ Signing domains...
 + Generating private key...
 + Generating signing request...
Can't load /root/.rnd into RNG
140303236821440:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd

I am not sure if this is a problem and where it comes from. Google just leads to some odd openssl options for which I do not know if dehydrated uses them.

Originally created by @loewexy on GitHub (Nov 14, 2019). If I run dehydrated in cron mode and it is generating a CSR it throws the following error. ``` + Signing domains... + Generating private key... + Generating signing request... Can't load /root/.rnd into RNG 140303236821440:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd ``` I am not sure if this is a problem and where it comes from. Google just leads to some odd openssl options for which I do not know if dehydrated uses them.
adam closed this issue 2025-12-29 01:25:27 +01:00
Author
Owner

@lukas2511 commented on GitHub (Nov 14, 2019):

This should be an issue with your systems openssl/libressl config, nothing directly related to dehydrated. I can't really help you with that.

@lukas2511 commented on GitHub (Nov 14, 2019): This should be an issue with your systems openssl/libressl config, nothing directly related to dehydrated. I can't really help you with that.
Author
Owner

@propointaws commented on GitHub (Dec 8, 2019):

For anyone else having this issue, see https://github.com/openssl/openssl/issues/7754.

TLDR, comment or remove the RANDFILE variable from your openssl config file, at /usr/lib/ssl/openssl.cnf in Ubuntu.

@propointaws commented on GitHub (Dec 8, 2019): For anyone else having this issue, see https://github.com/openssl/openssl/issues/7754. TLDR, comment or remove the `RANDFILE` variable from your openssl config file, at `/usr/lib/ssl/openssl.cnf` in Ubuntu.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#447