SSLEngine on SSLProtocol All -SSLv2 -SSLv3 SSLHonorCipherOrder on SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!SEED:!IDEA:!PSK:!RC4:!3DES SSLCertificateFile /var/sentora/hostdata/admin/ssl_certs/elektrospektar_rs/certificate.crt SSLCertificateKeyFile /var/sentora/hostdata/admin/ssl_certs/elektrospektar_rs/certificate.key SSLCertificateChainFile /var/sentora/hostdata/admin/ssl_certs/elektrospektar_rs/certificate.ca-bundle ServerName elektrospektar.rs ServerAlias www.elektrospektar.rs RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]