Sometimes you want to disable automatic SSL connection when accessing WHM, cPanel, Webmail, so that you can access cPanel / WHM through the standard ports 2082 and 2086, this is very useful if you have an SSL problem that prevents you from logging in to your server or cPanel account because it will not be able to decrypt your saved password.
Logging into WHM β Configuring Settings β Uncheck the following options in the Redirection section
Always redirect users to ssl / tls ports when visiting / cpanel, / webmail, etc.
You should also disable the following option in the "Security Settings in Settings" section.
Require SSL for all remote logins for cPanel, WHM and Webmail. This option is recommended.
If you cannot log into the WHM server, you can disable these options from the shell. SSH to the server with root privileges.
SSH to your server with root privileges
Open
# nano /var/cpanel/cpanel.config and set the following parameters: 0 (zero).
alwaysredirecttossl requiressl
-
alwaysredirecttossl=0 requiressl=0
-
Save the file and exit.
source share