Re: problem with Apache certificate (56 Views)
Reply
Occasional Visitor
Carla Covizzi
Posts: 1
Registered: ‎03-12-2002
Message 1 of 2 (56 Views)

problem with Apache certificate

Hi,
I'm trying to create a certificate in order to test ApacheSSL.
When I use
/opt/apache/ssl/bin/openssl genrsa -des3 -out server.key 1024
(following FAQ instructions)
I get the message:
warning, not much extra random data, consider using the -rand option
Generating RSA private key, 1024 bit long modulus
4794:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:538:
4794:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182:

I'm not able to use the rand option because I don't have /dev/random or /dev/urandom file.

What can I do?

Many thanks in advance.
Make love not war
Occasional Visitor
Jeff Wolfe
Posts: 1
Registered: ‎01-14-2002
Message 2 of 2 (56 Views)

Re: problem with Apache certificate

I had the same problem. Unfortunately, I was never able to generate a CSR using the line above (They are the same lines from the book "Professional Apache" by Wainwright)

I ended up following the instructions on Verisign's Site (http://www.verisign.com/support/csr/apache/v01.html)

I used the command:

# openssl req -new -nodes -keyout private.key -out public.csr

to create the public & private keys. Then to encrypt my private key:

# openssl rsa -in private.key -des3 -out secureprivate.key
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.