Hi,

I'm having trouble with a new Apache-SSL install. Whenever I attempt to
start the web server vis "./apachectl startssl" I get the error:

./apachectl startssl: httpd could not be started

When I check my Apache error log, I see the following entry:
[Mon Mar 26 17:39:14 2001] [error] mod_ssl: Init: Failed to generate
temporary 512 bit RSA private key

I checked through the archives of this mailing list as well as at modssl.org
and openssl.org. Somebody had a similar problem with Solaris 2.6 and 7, but
they had the additional problem that they were unable to manually generate
keys via openssl command line. I can succesfully generate a key as well as a
self-signed certificate via the following commands:

bash-2.03# openssl genrsa -des3 1024 > /apache/conf/ssl.key/server.key 
Generating RSA private key, 1024 bit long modulus
.................................................................++++++
....++++++
e is 65537 (0x10001)
Enter PEM pass phrase:
Verifying password - Enter PEM pass phrase:
bash-2.03# openssl req -new -key /apache/conf/ssl.key/server.key  -x509
-days 365 -out /apache/conf/ssl.crt/server.crt

<omitted output here, but it asked me for my information, took it, and
created the server.crt file>

So, I'm wondering, if I have the server.key and server.crt in place, why
does Apache try to generate a temporary RSA key when it starts up? Shouldn't
it use the server key that already exists? Any ideas on how I can fix this?
Thanks!

Rob Egan
Senior Streaming Media Consultant
Exodus Communications, Inc.
Phone: 310.955.2628
Fax: 310.955.2616
[EMAIL PROTECTED]
http://www.exodus.net   NASDAQ: EXDS


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

Reply via email to