Whole Site HTTPS on 4.0.3

Has anybody managed to make 4.0.3 HTTPS site-wide with a self signed certificate?

I'm not looking for “i don't recommend it, it will slow you down” “why would you do it?”.

It's a requirement. period.

Anybody figured it out how?



DocumentRoot "/var/www/html"
ServerName serverldomain.com:443
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/certs/server.key

cs-cart is installed in /var/www/html after activating the 4 ticks in admin settings regarding SSL the site simply won't load.