On 04 Feb AD 2003, "Leland T. Snyder" <[EMAIL PROTECTED]> wrote:
> I'm executing the command to generate a server key according to the RedHat
> linux manual, my system is as follows:
[...]
 
> ==========================================================================
> [root@basea1 tmp]#
> [root@basea1 tmp]#
> [root@basea1 tmp]# nohup time /usr/bin/openssl genrsa -rand /dev/urandom
> 1024 > /tmp/server.key &
> ==========================================================================
> 
> While the manual says this might take a long time, it has been running all
> night, are athalon processors slow? or did I phrase my command incorrectly?
> CPU time is being consumed like crazy.
> 
> ==========================================================================
[...]

Hello 

Openssl needs a finite file.

If you really want to use /dev/urandom then try something like this:
~ # dd if=/dev/urandom of=/tmp/random.data bs=1024 count=1024
1024+0 records in
1024+0 records out
~ # time /usr/bin/openssl genrsa -rand /tmp/random.data 1024 > server.key
1048576 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
[...]
real    0m0.766s
user    0m0.680s
sys     0m0.000s
~ #


Best regards
                Michal Luczak
-- 
warf
# vim: noai tw=78 ts=2
                                                  WP - PTI - DIP - ZAS - SA

Reply via email to