How to Disable Mandatory SSL (Web Login to WHL)

You can do this by editing /var/cpanel/cpanel.config with your favorite shell text editor and changing the following entry:

Change the "1" to a "0", and save the changes. You may also need to edit the following entry:

If the value is a "1", change to a "0". Next, make sure to run the following command:

# /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
This command will put any changes made to the /var/cpanel/cpanel.config file into effect.

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
  • Require SSL

Was this answer helpful?

 Print this Article