Mediawiki/Force SSL
From r00tedvw.com wiki
(Difference between revisions)
| Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
'''All instructions done on Oracle Linux 6.5'''<br> | '''All instructions done on Oracle Linux 6.5'''<br> | ||
| − | + | http://www.rackspace.com/knowledge_center/article/serving-secure-sites-with-sni-on-apache | |
==install mod ssl== | ==install mod ssl== | ||
Revision as of 01:52, 29 April 2014
Overview
All instructions done on Oracle Linux 6.5
http://www.rackspace.com/knowledge_center/article/serving-secure-sites-with-sni-on-apache
install mod ssl
~$ sudo yum install mod_ssl
If you cannot find the package, update your cache and search
~$ sudo yum check-update ~$ sudo yum search ssl ... =============================== N/S Matched: ssl =============================== ... mod_ssl.x86_64 : SSL/TLS module for the Apache HTTP Server
apache config
comment NameVirtualHost *:443 from /etc/httpd/conf/httpd.conf
#NameVirtualHost *:443
Add new NameVirtualHost to /etc/httpd/conf.d/ssl.conf
#SNI config - tells apache to use named virtual hosts on the secure port NameVirtualHost *:443