<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: rsa-keygen prob by make
From: Olaf Titz <olaf,AT,bigred,DOT,inka,DOT,de>
Date: Sat, 26 Jan 2002 17:19:29 +0100
In-reply-to: <00bd01c1a66b$f488c4c0$fe0aa8c0@chucks>

> 3131:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
> seeded:md_rand.c:501:You n
> eed to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html
> 3131:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182:
> make[1]: *** [install] Error 1

According to the referenced FAQ item (and according to running strace
on openssl), openssl needs a file $HOME/.rnd for storing random number
generator seed material. You can initialize it with
  umask 077; dd if=/dev/urandom of=$HOME/.rnd bs=1024 count=1
(make sure to use the right $HOME if using su)

I've no idea why openssl doesn't do this by itself.

Olaf





<< | Thread Index | >> ]    [ << | Date Index | >> ]