Disable SSL redirect in Cpanel/Webmail Logins




Disable SSL redirect in Cpanel/Webmail Logins



You can disable the SSL redirection in cpanel logins by changing the folllowing configurations in /var/cpanel/cpanel.config.

requiressl=1
alwaysredirecttossl=1

Change the "1" to a "0" for the above two settings, and save the changes.


To make the above changes in effect, using the following command.

# /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings


The above settings in /var/cpanel/cpanel.config correspond to the following settings in the WebHost Manager in Main >> Server Configuration >> Tweak Settings:

Always redirect to SSL off
Require SSL off