After upgrading from OpenSSL 0.9.4 to 0.9.5, I get this error when trying to
start apache:
[error] mod_ssl: Init: Failed to generate temporary 512 bit RSA private key

I can't find any information about this error.

Here's some info about my webserver:
[notice] Apache/1.3.12 (Unix) PHP/3.0.15 mod_ssl/2.6.0 OpenSSL/0.9.4

BSD/OS xenon 4.0.1 BSDI BSD/OS 4.0.1 Kernel #2: Tue Feb 22 22:50:55 PST 2000
pavalos@xenon:/usr/src/sys/compile/XENON  i386

How I upgraded to OpenSSL 0.9.5:

xenon:/usr/src/openssl-0.9.5#> ./config
xenon:/usr/src/openssl-0.9.5#> make
xenon:/usr/src/openssl-0.9.5#> make test
xenon:/usr/src/openssl-0.9.5#> make install
xenon:/usr/src/openssl-0.9.5#> cp /usr/local/ssl/bin/openssl /usr/bin
xenon:/usr/src/openssl-0.9.5#> cd ../mod_ssl-2.6.0-1.3.12
xenon:/usr/src/mod_ssl-2.6.0-1.3.12#>
./configure --with-apache=../apache_1.3.12
xenon:/usr/src/mod_ssl-2.6.0-1.3.12#> cd ../apache_1.3.12
xenon:/usr/src/apache_1.3.12#> ./configure --prefix=/var/apache
xenon:/usr/src/apache_1.3.12#> cd ../php-3.0.15
xenon:/usr/src/php-3.0.15#>
./configure --with-apache=../apache_1.3.12 --with-mysql --with-config-file-p
ath=/var/apache/conf --enable-track-vars
xenon:/usr/src/php-3.0.15#> make
xenon:/usr/src/php-3.0.15#> make install
xenon:/usr/src/php-3.0.15#> cd ../apache_1.3.12
xenon:/usr/src/apache_1.3.12#> SSL_BASE=../openssl-0.9.5
./configure --enable-module=ssl --prefix=/var/apache --activate-module=src/m
odules/php3/libphp3.a --enable-module=mime_magic --enable-module=speling
xenon:/usr/src/apache_1.3.12#> make
xenon:/usr/src/apache_1.3.12#> make install

After all of that (I had no errors), I stopped the current httpd, and
started a new one with -DSSL. Apache failed to load, and this line was in my
error_log:
[error] mod_ssl: Init: Failed to generate temporary 512 bit RSA private key

If anyone has any insight, I'd be grateful.

Peter Avalos
TheShell Administrator

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/ED/B d-(+) s:+> a-- C++$ UBLO++++$ P+ L++++ E- W+ N+ o? K? w(++) !O M-
V- PS+ PE++ Y+ PGP++ t+@ 5 X- R- tv+ b++ DI- D-- G e>+++ h-- r++ y++
------END GEEK CODE BLOCK------

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

Reply via email to