Tweak Settings Caused Cpanel/WHM Shutout

lanemiller

Registered
Feb 9, 2011
2
0
51
When I was changing some of the settings under tweak settings, SSL became required to login, and I keep getting an error saying, SSL encryption is required for access to this server.

This error keeps me from logging in, because I can't connect via SSL either. The only certificate that we had on any of our hosted sites, was revoked by the owner so I get this error when trying to connect via SSL

You attempted to reach ewsbuild.com, but the certificate that the server presented has been revoked by its issuer. This means that the security credentials the server presented absolutely should not be trusted. You may be communicating with an attacker. You should not proceed.

How do I change this setting? I have superuser ssh access, but how would i change it from inside there?
 

lanemiller

Registered
Feb 9, 2011
2
0
51
Fixed the problem, I edited /var/cpanel/cpanel.config and changed the line that said requiressl=1 to requiressl=0

After that I saved the file and ran
# service cpanel restart

Once that was done, the settings were back to what I wanted them to be at.