Installing Apache with SSL support

| | Comments (0) | TrackBacks (0)

1. Download openssl source from http://www.openssl.org.
2. untar the source into /usr/local/src
3. cd /usr/local/src/openssl-0.9.7b
4. ./config --prefix=/usr/local/openssl
5. make
6. make install
7. Download apache 1.3.x from http://httpd.apache.org/dist/
8. untar in /usr/local/src/
9. Download modssl from http://www.modssl.org
10. untar the source into /usr/local/src
11. cd /usr/local/src/mod_ssl-2.8.14-1.3.27
12. ./configure --with-apache=../apache_1.3.27/ --prefix=/usr/local/apache --enable-module=so --enable-module=expires --enable-module=rewrite --enable-suexec --suexec-caller=nobody --suexec-docroot=/usr/local/apache/htdocs/ --suexec-logfile=/var/log/suexec_log --with-ssl=/usr/local/openssl
13. cd ../apache_1.3.27
14. make
15. make certificate TYPE=custom
14. make install
16. cd /usr/local/apache/conf/
17. cd ssl.key
18. cp server.key server.key.old
19. /usr/local/openssl/bin/openssl rsa -in server.key.old -out server.key
20. /usr/local/apache/bin/apachectl startssl

0 TrackBacks

Listed below are links to blogs that reference this entry: Installing Apache with SSL support.

TrackBack URL for this entry: http://www.megalinux.net/cgi-bin/mt/mt-tb.fcgi/23

Leave a comment

About this Entry

This page contains a single entry by Ram Prasad published on June 16, 2003 3:09 PM.

Process Scheduling was the previous entry in this blog.

Security: Basic Hardening Linux is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by
Movable Type 4.01