Configuring and installing Apache Web Server 2.0.x SSL

First: You need source of Apache 2.0.x Web Server from

Second: You need distribution packets OpenSSL and OpenSSL-devel installed on your system

# cd /usr/src/

# wget

# tar xfj httpd-2.0.59.tar.bz2

# cd httpd-2.0.59

Comment: You need openssl and openssl-devel packets from you Linux distribution

# ./configure --prefix=/usr/local/apache --enable-ssl --enable-info --enable-rewrite --enable-so

# make

# make install

Now make our certificate to start Apache + SSL

# cd /usr/local/apache

# openssl req -nodes -new -keyout server.key -out server.csr

# openssl x509 -in server.csr -out server.crt -req -signkey server.key

Now edit /usr/local/apache/conf/ssl.conf

SSLCertificateFile  /usr/local/apache/server.crt

SSLCertificateKeyFile /usr/local/apache/server.key

Now we can start Apache SSL

# /usr/local/apache/bin/apachectl startssl

That is all



No comments yet

Back to articles list

This page was last modified on 2019-02-22 16:07:41