Simply add the following codes anywhere under RewriteEngine On
RewriteCond %{HTTPS} offRewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Save and upload it to server.
No cpanel setting required at all.
Done