GENRSA error!!

2002-01-16 Thread Marco Boccioli


 
Hi all,
I would like to know why I have this type of error, during key generating...
My action is:
/opt/apache/ssl/bin/openssl genrsa -des3 -out  vpn.key 1024
and I receive:
warning, not much extra random data, consider using the -rand option
Generating RSA private key, 1024 bit long modulus
23897:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG
not seeded:md_rand.c:538:
23897:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182:
Can you help me???
Thanks in advance,
Marco.


genrsa not recognized

2000-05-21 Thread Mocha

openssl genrsa -des3 -out server.key 1024

gave me an error saying that 'genrsa' isn't a recognized command of 
openssl. did i miss something during the build process?

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: genrsa...

1999-05-03 Thread Martin Kraemer

On Sun, May 02, 1999 at 01:04:17PM +0200, Ralf S. Engelschall wrote:
> On Sat, May 01, 1999, Michael J. Pape wrote:
> 
> > How long should it take to generate an rsa key? 
> 
> Usually between a few seconds and up to a minute. But usually not longer.
> 

I had a looping problem with SSLeay and OpenSSL which was clearly a
compiler (optimizer) error of the SGI Irix cc and its descendants
(The CDS compiler of Siemens Nixdorf used to suffer from this bug
until V2.0Bsomething.

If this holds for the Alpha compiler as well, openssl should behave
normally if you recompile with the "-g" switch (and no -O switches).

Martin
-- 
<[EMAIL PROTECTED]>  |Siemens Information and
Phone: +49-89-636-46021   |Communication  Products
FAX:   +49-89-636-47816   |81730  Munich,  Germany
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



Re: genrsa...

1999-05-02 Thread Ralf S. Engelschall

On Sat, May 01, 1999, Michael J. Pape wrote:

> How long should it take to generate an rsa key? 

Usually between a few seconds and up to a minute. But usually not longer.

> A "make certificate" or
> an explicit openssl command (openssl genrsa -des3 -out server.key 1024)
> create a process that runs forever (at least for 24 hours before I
> killed it...).
> [...]
> DEC Unix 4.0e
> [...]

I'm sure you've not configured OpenSSL correctly for your Alpha platform. Make
sure you use the correct platform id on the "perl Configure" command line.
Check this first.
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



genrsa...

1999-05-02 Thread Michael J. Pape


How long should it take to generate an rsa key? A "make certificate" or
an explicit openssl command (openssl genrsa -des3 -out server.key 1024)
create a process that runs forever (at least for 24 hours before I
killed it...).

I've read some postings that indicated that bn recursion should be
undefined. I've done that and recompiled without success. I'm not trying
to create a large key, i.e., just 1024 bit.

Is there something wrong here, or do I need to let the process run until
it completes -- possibly days...

running:
DEC Unix 4.0e
OpenSSL 0.9.2b 22 Mar 1999

with "make certificate":

SSL Certificate Generation Utility (mkcert.sh)
Copyright (c) 1998 Ralf S. Engelschall, All Rights Reserved.
 + finding random files on your platform

Generating test certificate signed by Snake Oil CA [TEST]
WARNING: Do not use this for real-life/production systems
__

STEP 1: Generating RSA private key (1024 bit) [server.key]
1117857 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
..

..



on and on ...


or

# apps/openssl genrsa -des3 -out server.key 1024
80 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
.

on and on...
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]