[Locked out of whm] Peer's Certificate has been revoked Problem

wired420

Active Member
Nov 17, 2005
35
2
158
Peer's Certificate has been revoked.

Ok. I re-keyed my SSL Cert and hadn't removed it from all servers yet. Had left it on one. I get this error every time I try to login to https://www.cpaneldomain.com:2087.

Now normally I would just goto http://www.cpaneldomain.com:2086 -- But ConfigServer Firewall decided to tell me that it would be good to require SSL on All interfaces. Being the big dummy and noob I am I nodded and agreed. It probably is much more secure but I didn't think of an issue like this when I did it.

I've fixed my normal apache certs by installing them manually. But I can't seem to figure out where cpanel stores its links to the cert files. So all my customers sites are running. cPanel is just brokedidid.

How can I go about manually turning Require SSL On All Interfaces off from Tweak Settings?

CentOS 5, cPanel 11-RELEASE
 

wired420

Active Member
Nov 17, 2005
35
2
158
Solution Found: To my own problem

So I went to cPanel on another server. Went to the Tweak Settings Page and right clicked and viewed frame source.

I found the following:
Code:
<tr id="requiressl_container" class="tdshade2_noborder"><td width="99%">  Require SSL for all remote logins to cPanel, WHM and Webmail.  This setting is recommended.</td><td style="text-align:center;" align="center"><input onClick="checktweaks(this);"  id="requiressl" type="checkbox" name="requiressl" value="1"  /></td></tr>
So I searched for a cpanel config and came up with the file name cpanel.config

locate cpanel config

Mine was located in /var/cpanel/cpanel.config

Opened it with an editor. Changed requiressl from 1 to 0.

service cpanel restart

Fixed. Was able to login on non secure port.

Not sure that anyone will ever have this problem again, but heres the fix if you do.