Configure SSL on Apache

The apache web server makes it possible to deploy secure web pages using ssl. In order to configure ssl on apache follow the below steps.

If your instance of apache was installed on a Red Hat base of linux using the standard repository, your apache base will most likely be /etc/httpd/. If not you’ll need to find your ssl.conf file usually in the conf.d directory of the apache base.

Your ssl.conf file will be used to configure ssl for apache.

Once you have found your ssl.conf edit the file and add the following information.

<VirtualHost <yourvirtualip>:443>
ServerAdmin [email protected]
ServerName ssl.simplespider.com
DocumentRoot /var/www/html/simplespider.com
SSLCACertificateFile /etc/pki/tls/certs/<your_cert_chain>.crt
ErrorLog logs/ssl_error_log
LogLevel warn
SSLEngine on
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/pki/tls/certs/simplespider.com.crt
SSLCertificateKeyFile /etc/pki/tls/private/simplespider.com.key
CustomLog logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

Restart your apache instance
service httpd restart