Their is a easiest way to enable / disable force SSL HTTPS login into WHM / cPanel rather than making changes in the files.
Quote:
1) Login to WHM
2) Go to Tweak settings > Security > Look for Required SSL option
3) Select On / Off option as per your convenience
4) Save settings
5) Log out from WHM and login again using WHM port 2086
6) Success
|
Hope this helps !