Apache is the most popular web server across the entire World Wide Web, currently used by around 60% of web domains. Its released under an Apache License, which requires preservation of the copyright notices and disclaimers, but doesn’t require modified versions to be distributed using the same license. Though most prevalent on Unix-like operating system, it also runs on Windows, Mac OS X, and others.
Open a terminal, and type yum install httpd and follow on screen instruction to install Apache web server.
[root@linuxbox ~]# yum install httpd
Mod_ssl combines the flexibility of Apache with the security of OpenSSL.
This module provides strong cryptography for the Apache 1.3 webserver via the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols by the help of the Open Source SSL/TLS toolkit OpenSSL.
This module provides strong cryptography for the Apache 1.3 webserver via the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols by the help of the Open Source SSL/TLS toolkit OpenSSL.
[root@linuxbox ~]# yum install mod_ssl
This will automatically configured Apache to use SSL when it will restart, by adding the file /etc/httpd/conf.d/ssl.conf which contains the necessary stuff to enable SSL. I restarted Apache with the following command and was good to go:
[root@linuxbox ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@linuxbox ~]#
Now check your ssl.conf file and mod_ssl.so file will be there.
[root@linuxbox ~]# ll /etc/httpd/conf.d/ssl.conf
-rw-r–r– 1 root root 9677 Aug 30 22:07 /etc/httpd/conf.d/ssl.conf
[root@linuxbox ~]# ll /etc/httpd/modules/mod_ssl.so
-rwxr-xr-x 1 root root 171184 Aug 30 22:07 /etc/httpd/modules/mod_ssl.so
[root@linuxbox ~]#
0 comments:
Post a Comment