How to redirect cPanel/Webmail to encrypted connection [SSL]?

When you want to transmit sensitive information over the Internet, you should use HTTPS instead of HTTP (plain-text protocol). For secure data transfer between user to web server, SSL (Secure Socket Layer) is used. SSL verifies the credentials of the user and the web server and then it redirects verified users to a secured connection (i.e. HTTPS).

You can use self-signed certificate or can purchase it from the certificate authority(CA). The certificates purchased from CA are costly, but self signed certificates are its alternatives. Both certificates provide encryption, but self-signed certificate generates a browser warning as shown below:

Self-signed Certificate Browser Warning

However, it is only one time warning, once a user accepts and installs the certificate as a trusted, no warnings will be shown from next connections.
Following are the steps to redirect cPanel/WHM or Webmail to an encrypted connection using cPanel self signed certificate:

  1. Login to your WHM

    WHM Login

  2. Select Server Configuration option

    Server Configuration in WHM


  3. Select Tweak Settings option

    WHM Tweak Settings

  4. Move to Redirection tab

  5. Set the value of Always redirect to SSL option On

  6. Select SSL redirect destination to Origin Domain Name

    Set SSL Redirection Destination from Tweak Settings

  7. Click on Save button to save your changes

  • 1 Users Found This Useful

Was this answer helpful?

Related Articles

Fix - tailwatchd service is down in WHM

One of our customers received an email from WHM that service tailwatchd is down. We have taken...

What encryption technology is used to generate the SSL certificate I have purchased?

We are providing Rapid SSL certificates with strong 256-bit encryption based on SHA256 hash...

Fix :: file open /home/user/etc/domainname/passwd failed with error no such file or directory

Problem Statement Getting error while creating an email account from cPanel. Error Message...

How to Install ClamAV plugin from WHM?

ClamAV is a one of the most popular open source antivirus plugin available for cPanel servers....

How to generate CSR key in IIS 7?

Windows VPS clients can generate the CSR key from IIS 7 at their end. This article will give you...