Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: nidhinjo on December 18, 2018, 08:19:19 am

Title: Disable ssl via ssh (unable to login into WHM)
Post by: nidhinjo on December 18, 2018, 08:19:19 am
If you are unable to login into WHM because of ssl error  (An error occurred during a connection to. Peer's Certificate has been revoked. (Error code: sec_error_revoked_certificate)



You would be able to disable those options from the shell.  Please follow the steps provided below for the same,

1.) SSH to your server as root

2.) Open

# vi /var/cpanel/cpanel.config and set the following options to 0 (zero).

alwaysredirecttossl
requiressl

Code: [Select]
—-
alwaysredirecttossl=0
requiressl=0
—–

3.) Save the file and exit.
=================================== ;)==================================