Thursday, March 11, 2010

Disallow /cpanel, /webmail to be redirected to ssl/tls ports (2083, 2096)

December 4, 2009 by admin  
Filed under cPanel

If you are getting certificate errors while you are trying to visit http://domain/cpanel, the most probable reason is that the error is regarding the issuer. That is most people usages self-signed SSL certificates for the services. The error is not a big issue comparing to the benefits of using secured over Non-secured connections.  However, for some reason, if you need to skip this page and you don’t want to redirect to SSL connection, you can do so by simple modification in WHM’s tweak settings.


  • Login to WHM as root
  • Click Tweak Settings from leftside menu
  • Go to Redirection section of the tweak settings page.
  • Uncheck the check box beside the line:
    Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc.
  • Hit the Save button at the end of the page.

That’s it.You will no more be redirected to secure connection and won’t the see the certificate error anymore.

From Shell:

You can do the same from shell.

  • SSH to server as root
  • Open the file /var/cpanel/cpanel.config in your favorite command line editor. For example:
    vi /var/cpanel/cpanel.config
  • Find the line alwaysredirecttossl
  • Set its value to 0 that is alwaysredirecttossl=0
  • Save and exit (:x)

You are done.


Additional Tips:

If you are always redirected to hostname of server while you are trying to login to cPanel and whm, you may also stop that from happening by selecting Original Domain Name under the label of When visiting /cpanel or /whm or /webmail WITHOUT SSL, you can choose to redirect to:


  • Share/Bookmark

Related posts:

  1. Using Webmail in cPanel control panel Webmail stands for web-based e-mail and is an application that...
  2. How to enable stats from WHM? To enable the stats you need root login details. Once...
  3. cPanel-WHM Packages :: Modify default dedicated IP setting When you setup a new package in cPanel/WHM, you can...
  4. Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings. Today I found this error while trying to open Fantastico...
  5. SSL Certificate Installation, Step by Step First of all one must understand if your website needs...

Related posts brought to you by Yet Another Related Posts Plugin.

Comments

One Response to “Disallow /cpanel, /webmail to be redirected to ssl/tls ports (2083, 2096)”
  1. payday loans says:

    I am very impressed with the article I have just read. I wish the author of controlpanelblog.com can continue to provide so much useful information and unforgettable experience to controlpanelblog.com readers. There is not much to say except the following universal truth: Everyone had an uncle who tried to steal their nose. I will be back.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!