-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've been hammering on this problem all day. I've been through all the
installation docs etc. and I can't fix it. When I start apache with an SSL
certificate, it logs an error of "[Fri Apr 14 16:26:20 2000] [error]
mod_ssl: Init: Failed to generate temporary 512 bit RSA private key"
Here's my openssl config:
./config --prefix=/opt/openssl-0.9.5a \
--openssldir=/opt/openssl-0.9.5a \
-L`pwd`/../rsaref-2.0/local/ rsaref \
no-idea -fPIC
I'm using the "-fPIC" parameter since I'm on Solaris 7. Openssl seems to
be working just fine.
Here's my mod_ssl config:
./configure \
--with-apache=../apache_1.3.12 \
--with-ssl=../openssl-0.9.5a \
--with-rsa=../rsaref-2.0/local \
--prefix=/opt/apache-1.3.12 \
--enable-shared=ssl
My apache config:
SSL_BASE=../openssl-0.9.5a
RSA_BASE=../rsaref-2.0/local
export SSL_BASE RSA_BASE
./configure \
--prefix=/opt/apache-1.3.12 \
--enable-rule=SHARED_CORE \
--enable-module=ssl \
--enable-module=unique_id \
--enable-module=rewrite \
--enable-module=expires \
--enable-module=info \
--enable-module=so \
--enable-module=status \
--enable-module=vhost_alias \
--enable-shared=max \
--disable-shared=vhost_alias \
--disable-module=userdir \
--disable-module=autoindex \
--disable-module=imap
I'm also running Jserv. Just in case, here's the Jserv config:
./configure \
--prefix=/opt/ApacheJServ-1.1 \
--with-apxs=/opt/apache-1.3.12/bin/apxs \
--with-JSDK=/opt/jsdk/lib \
--enable-EAPI \
--disable-debugging
mod_perl is also giving me some problems, so I'm not loading the module.
Here's the mod_perl config just to complete the whole picture. :-)
perl Makefile.PL \
NO_HTTPD=1 \
WITH_APXS=/opt/apache-1.3.12/bin/apxs \
USE_APXS=1 \
EVERYTHING=1
Apache starts up fine and even asks me for my certificate password, then
it just dies...
Any help would be GREATLY appreciated.
Thanks,
js.
- - --
Jean-Sebastien Morisset, Sr. UNIX Admin <[EMAIL PROTECTED]>
Personal Homepage <http://www.jsmoriss.dyndns.org/>
UNIX, Internet, Homebrewing, Cigars, PCS, CP2020 and other Fun Stuff...
This is Linux Country. On a quiet night you can hear Windows NT reboot!
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1i
Comment: Personal Home Page <http://jsm.montreal.qc.ca/>
iQA/AwUBOPeGoJxsiDnGGop4EQLRNACgqWkWhJapCCkDz1x507TLL4YO+e0AoMtH
HLTQzubmt9OMWEuqRN9uGkOT
=Ec/m
-----END PGP SIGNATURE-----
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]