Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Disable ssl via ssh (unable to login into WHM)  (Read 9793 times)

0 Members and 1 Guest are viewing this topic.

nidhinjo

  • Guest
Disable ssl via ssh (unable to login into WHM)
« 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.
=================================== ;)==================================