Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    8

    Default Force SSL login to /whm and /cpanel

    I want to force all resellers and their customers to use SSL login to /whm and /cpanel (ie. non-SSL login not allowed).


    Is there any way to redirect an ordinary login (non-SSL) to become a secure login for both?

    eg.
    http://www.reseller.com/whm redirects to
    https://www.reseller.com:2087 automatically

    - and -

    http://www.customer.com/cpanel redirects to
    https://www.customer.com:2083 automatically

    If above is possible, what scripts would I have to create for both resellers and their customers and where would they reside?



    I'm thinking it would be similar to the following, which was created to force all non-SSL webmail logins to default to an SSL login:

    1) I created a folder called swebmail inside the www folder of a customer account.
    2) Created an empty file called index.php
    3) Added the following four lines to this file
    <?PHP
    header("location https://customer.com:2096");
    exit;
    ?>

    This forced all www.domain.com/webmail logins to SSL login.

    I don't want to lose the 'forced' SSL login to webmail when implementing SSL login to /whm and /cpanel.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,931

    Default

    WHM
    Tweek Setting
    System
    Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc.

Similar Threads & Tags
Similar threads

  1. How to have a root SSL for cPanel/whm login
    By victomeyezr in forum Security
    Replies: 2
    Last Post: 12-06-2010, 11:13 AM
  2. How to force cpanel.* and whm.* to use SSL ?
    By wonker in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-07-2009, 09:30 AM
  3. Problem with non SSL login to WHM, CPANEL and WEBMAIL
    By mailo in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-15-2008, 01:27 PM
  4. cPanel / WHM SSL login issue
    By compunet2 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-07-2007, 08:39 AM
  5. SSL for cpanel/WHM login
    By s3kk3y in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 02-17-2003, 10:15 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube