I am trying for the fisrt time to build my Apache server with mod_ssl and this is what 
I get

[Thu Mar 23 12:28:08 2000] [error] mod_ssl: Init: Failed to generate temporary 512 bit 
RSA private key

The steps I used were very basics and based on the example on 
http://www.modssl.org/example/.

$ gzip -d -c apache_1.3.12.tar.gz | tar xvf -
$ gzip -d -c mod_ssl-2.6.2-1.3.12.tar.gz | tar xvf -
$ gzip -d -c openssl-0.9.5.tar.gz | tar xvf -
 
Build OpenSSL

$ cd openssl-0.9.5
$ ./config --prefix=/space/openssl-0.9.5 --openssl-dir=/space/openssl-0.9.5
$ make
$ cd ..


Build and install the SSL-aware Apache 
$ cd mod_ssl-2.6.2-1.3.12
$ ./configure \
    --with-apache=/space/apache_1.3.12 \
    --with-ssl=/space/openssl-0.9.5 \
    --prefix=/space/apache_1.3.12
$ cd ..
$ cd apache_1.3.12
$ make
$ make certificate TYPE=custom
$ make install
 
I get to this point without any error. 

I then issue

/space/apache_1.3.12/bin/httpd -DSSL

which produce no error but did not start as expected except producing the error above 

[Thu Mar 23 12:28:08 2000] [error] mod_ssl: Init: Failed to generate temporary 512 bit 
RSA private key

in the /space/apache_1.3.12/logs/error_log file

Does that mean it is looking for the rsaref20 package that I have not install?

Please any suggestions will be welcome

Thanks to all

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

Reply via email to