Re: openSSL Key generation
From: Michal Luczak (warf) (warf@wp-sa.pl)
Date: 02/10/03
- Previous message: Toby Miller: "RE: LKM Trojan installed"
- In reply to: Leland T. Snyder: "openSSL Key generation"
- Next in thread: Stephen Samuel: "Re: openSSL Key generation"
- Reply: Stephen Samuel: "Re: openSSL Key generation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 10 Feb 2003 11:00:37 +0100 From: "Michal Luczak (warf)" <warf@wp-sa.pl> To: focus-linux@securityfocus.com
On 04 Feb AD 2003, "Leland T. Snyder" <ltsnyder@x3ci.com> 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
- Next message: Peter Kirby: "Re: LKM Trojan installed"
- Previous message: Toby Miller: "RE: LKM Trojan installed"
- In reply to: Leland T. Snyder: "openSSL Key generation"
- Next in thread: Stephen Samuel: "Re: openSSL Key generation"
- Reply: Stephen Samuel: "Re: openSSL Key generation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|