Monday, February 1, 2010

Apache 2.2.14 Configuration on RHEL 4.8

Down load the tar File from the site and run the below mentioned commands
1) tar -xvf httpd-2.2.14.tar
we will get the the Directory httpd-2.2.14
2) cd httpd-2.2.14
a) ./configure --prefix=/usr/local/apache2 --enable-proxy --enable-ssl --enable-module=all --enable-so --enable-deflate
( This command will compile with all the required modules with ssl enabled)
b) make
c) make install
d) PREFIX/bin/apachectl start
Check for any errors while compiling if there is any errors it has to be fixed.
Process for Creating the ssl Key

2) openssl genrsa -des3 -rand file1:file2:file3:file4:file5 -out server.key 2048
openssl rsa -in server.key -out server.pem
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 60 -in server.csr -signkey server.key -out server.crt

No comments:

Post a Comment