Skip to end of metadata
Go to start of metadata
<VirtualHost *:80 *:443>
        ServerName qsok.com
        ServerAlias *.qsok.com

        SSLEngine on
        SSLProtocol all -SSLv2 -SSLv3
        SSLCipherSuite HIGH:MEDIUM:!SSLv2:!PSK:!SRP:!ADH:!AECDH
        SSLCertificateKeyFile "/opt/ssl/qsok.key"
        SSLCertificateFile "/opt/ssl/STAR_its-qsok.com.crt.pem"
        SSLCACertificateFile "/opt/ssl/STAR_its-qsok.com.ca-bundle"

        DocumentRoot "/pub/qsok.com/"
        CustomLog /var/log/httpd/qsok.com-access.log combined
        ErrorLog /var/log/httpd/qsok.com-error.log
</VirtualHost>


Note that STAR_its-qsok.com.crt.pem = STAR_its-qsok.com.crt + STAR_its-qsok.com.ca-bundle


Blow is for forwarding all the connections from HTTP to HTTPS by the given domain name

<VirtualHost *:80>
        ServerName qsok.com
        ServerAlias *.qsok.com

        RewriteEngine On
        RewriteCond %{HTTPS} off
        RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>