SOLVED Fix cPanel Web Services Configuration from terminal

kaplay

Registered
Nov 6, 2018
4
1
3
Turkey
cPanel Access Level
Root Administrator
Hi,

cPanel don't open after I updated cPanel Web Services Configuration TLS/SSL Protocols.

I just wants to configure TLS1.2 so I updated this field wrongly and WHM not works anymore.

Here is changed value:
SSLv23:!SSLv2:!SSLv3:!TLSv1:!TLSv1_1
to
SSLv23:!SSLv2:!SSLv3:!TLSv1:!TLSv1_1:!TLSv1_2

There is any way to restore the default settings for that or update from terminal?
 

Attachments

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
This data is stored at /var/cpanel/conf/cpsrvd/main the default values are present here: cPanel Web Services Configuration | cPanel & WHM Documentation

You can perform the following to update this back to the defaults:

Move the cpsrvd conf directory:
Code:
mv /var/cpanel/conf/cpsrvd{,.bad}
Restart the service:

Code:
/scripts/restartsrv_cpsrvd
 
  • Like
Reactions: kaplay