Looks like you didn't 'turn on' the rewrite engine also make sure it is first entry in .htaccess.
Code:
# Force SSL - Always first!
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]