ssl_apache_centos
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ssl_apache_centos [2015/04/02 17:13] – created luke7858 | ssl_apache_centos [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
<sxh bash> | <sxh bash> | ||
https:// | https:// | ||
+ | </ | ||
+ | \\ | ||
+ | ==== Install === | ||
+ | |||
+ | <sxh bash> | ||
+ | yum install mod_ssl | ||
+ | </ | ||
+ | \\ | ||
+ | ==== Vhost ==== | ||
+ | |||
+ | |||
+ | <sxh bash> | ||
+ | < | ||
+ | ServerName lukeslinux.co.uk | ||
+ | ServerAlias www.lukeslinux.co.uk | ||
+ | DocumentRoot / | ||
+ | |||
+ | < | ||
+ | Options Indexes FollowSymLinks | ||
+ | AllowOverride All | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | ServerName lukeslinux.co.uk | ||
+ | ServerAlias www.lukeslinux.co.uk | ||
+ | DocumentRoot / | ||
+ | |||
+ | < | ||
+ | Options Indexes FollowSymLinks | ||
+ | AllowOverride All | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </ | ||
+ | | ||
+ | SSLEngine ON | ||
+ | SSLCertificateFile / | ||
+ | SSLCertificateKeyFile / | ||
+ | SSLCACertificateFile / | ||
+ | |||
+ | SSLCipherSuite DEFAULT: | ||
+ | SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 +TLSv1.2 | ||
+ | |||
+ | ErrorLog / | ||
+ | CustomLog / | ||
+ | |||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | |||
+ | ==== Test SSL Install ==== | ||
+ | |||
+ | <sxh bash> | ||
+ | https:// | ||
</ | </ |
ssl_apache_centos.1427994784.txt.gz · Last modified: 2024/05/23 07:26 (external edit)