Hi,

I am trying to generate the key pair using the "openssl genrsa" command.

Initially I got a problem with using this -
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
openssl genrsa -out testkey.pem -3 1024
warning, not much extra random data, consider using the -rand option
Generating RSA private key, 1024 bit long modulus
4647:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:md_rand.c:501:You
 need to read the OpenSSL FAQ, http://www.openssl.org/support/faq.html
4647:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

To resolve this, I am trying to run this command, where in the random seed
is provided by the /dev/random file
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
openssl genrsa -rand /dev/random -out testkey.pem -3 1024
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This just hangs with out doing any thing. Am I missing something or any
other work around?

thanks in advance.

Vignesh



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to