if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

Apache Encrypted Web Server How To Configure Encrypted Web Server

System1: Encrypted apache web server
Step 1:install mod_ssl and httpd package
#yum install httpd mod_ssl Step 2:Create html file
#vim /var/www/html/main.html
<head><title>Sample Web Page</title></head>
<font size=”40” color=”FF0000”>
<marquee>This is Home Page of Rhel5.com</marquee>
Step 3:Add html page to http configuration file
#vim /etc/httpd/conf/httpd.conf
Line no: 390
Directory Index main.html index.html index.html.var
Line no:last line
Apache Encrypted Web Server
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
these three entries are specified in /etc/httpd/conf.d/ssl.conf
Line no:95
Line no:112
Line no:119
Step 4:restart the http service
#chkconfig httpd on
#service httpd restart
add dns entries in /etc/resolv.conf
#vim /etc/resolv.conf
search rhel5.com
Step 5:open firefox and type the following url in address bar
the error occurs then type the url
Finally apache encrypted Web server configures successfully.

Related post