Hello,
I am using hab4_pki_tree.sh script to generate keys and certificates for imX8m mini.
openssl version returns :
OpenSSL 1.1.1 11 Sep 2018
when I run the script I get this error messages
Can't load /home/user/.rnd into RNG
140034165126976:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/home/user/.rnd
Using configuration from ../ca/openssl.cnf
Keys and certificates are anyway generated. Are they OK or should I fix what causes that error messages ?
I sought after openssl.cnf in my PC but I cannot find it.
I checked if it was permissions problem by running script with sudo, but still same error appears.
Should I change any setting on OpenSSL ?
I have seen keys and certs files are generated anyway, so can I go on with those files ?
thank you
Hi,
I have the same issue and I'm running the same version of openssl.
I managed to solve the issue by commenting out the line :
RANDFILE = $ENV::HOME/.rnd
from the file /etc/ssl/openssl.conf.
I hope this helps you too.
reference:
Can't load ./.rnd into RNG · Issue #7754 · openssl/openssl · GitHub
You may refer to this: