Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member morissette's Avatar
    Join Date
    May 2009
    Location
    Austin, TX
    Posts
    79
    cPanel/Enkompass Access Level

    Root Administrator

    Question Force SSL/HTTPS for Mailman (PCI Compliance feature) [Case 39553]

    Hey,

    I just spent about two hours trying to research how to force SSL on mailman on a cPanel server.

    Anyone know if this is possible?

    Thanks

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    You need to install the SSL certificate on the services as well which you can do it from

    WHM >> Service Configuration >> Manage Service SSL Certificates
    not sure, if it will work on mailman as expected but that's the way to install SSL on the services. BTW, make sure you have purchased the SSL certificate for the hostname instead of using a domain's SSL certificate.

  3. #3
    Member morissette's Avatar
    Join Date
    May 2009
    Location
    Austin, TX
    Posts
    79
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Unfortunately from what I can see there is no way to force mailman to run over https - I first looked at the services; however mailman is running over the domain name and loads without issue with https://domain/mailman however by default it goes through http.

    Thank you for the advice though

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    378
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    This is urgently needed as some PCI scanning "authorities" are flagging MailMan accepting logins over HTTP as high risk which prevents PCI compliance.

    The following is an example alert:

    "The remote host appears to allow logins over unencrypted (HTTP) connections. This means that a user's login information is sent over the internet in clear text. An attacker may be able to uncover login names and passwords by sniffing network traffic."

    Can anyone please provide a method to force HTTPS for MailMan server-wide or per site?

  5. #5
    Member matins007's Avatar
    Join Date
    Jan 2009
    Posts
    18

    Default

    Hi,

    did you find a solution for this? I'm getting the exact same problem.

    Tx

  6. #6
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default

    An internal case for this issue has been submitted to our developers. While there is no timeframe for when this behavior may be changed, we do recognize that this causes issues with PCI scans, and development will consider the best way to provide a fix to this.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    378
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Unfortunately for now we have had to use a custom addition like:

    /usr/local/apache/conf/userdata/std/2/username/domain.tld/mailman.conf:

    ScriptAlias /mailman/ /home/username/public_html/index.cgi


    This just forces a page not found (404) error for attempts to visit domain.tld/mailman

  8. #8
    Member cwalke32477's Avatar
    Join Date
    Mar 2010
    Location
    Atlanta, Georgia
    Posts
    94
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    How do you do that for the entire server, not just one user account?
    I'm still learning cpanel and linux in general.
    However, it is the last step I need to secure for PCI compliance serverwide.

    I don;t see much use in the mailman url, so disabling it may be the best option.
    Last edited by cwalke32477; 09-21-2010 at 01:40 PM.
    Chris Walker
    http://www.siterack.net
    Reseller Hosting - HostReady® VPS Servers - Dedicated Servers

  9. #9
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Redirect non-SSL/HTTP requests for Mailman to SSL/HTTPS using a custom .htaccess file

    I would consider using a custom Apache ".htaccess" file to redirect non-SSL HTTP requests to HTTPS (via SSL); please be aware this requires the domain or host address entered in the requested URL for mailman to have an installed SSL certificate. The following steps may be used to setup the aforementioned .htaccess file via root SSH access:
    1. Create a custom .htaccess file for Mailman, as seen below:
      Code:
      # touch /usr/local/cpanel/3rdparty/mailman/cgi-bin/.htaccess
      # chown -vv mailman:mailman /usr/local/cpanel/3rdparty/mailman/cgi-bin/.htaccess
    2. Enter the following contents into the custom .htaccess file:
      Code:
      RewriteEngine On
      RewriteCond %{HTTPS} off
      RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    Please keep in mind that if mailman is forcefully reinstalled you may also need to re-add the custom .htaccess file.

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    378
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Thanks Don, that sounds like a better solution.
    Anyone who tries it, please confirm if it works well for sites with and without their own SSL.

  11. #11
    Member cwalke32477's Avatar
    Join Date
    Mar 2010
    Location
    Atlanta, Georgia
    Posts
    94
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I'll be trying it tommorrow afternoon. It's too late for me now, but I will keep you posted.
    Great suggestions thanks
    Chris Walker
    http://www.siterack.net
    Reseller Hosting - HostReady® VPS Servers - Dedicated Servers

  12. #12
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Arrow Friendly Moderator Note

    I have revised the thread title and relocated the discussion topic so that it is organized along with all other Feature Requests for cPanel and WHM.

  13. #13
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Reference Case ID #39553 via the cPanel/WHM Change Log

    Quote Originally Posted by cPanelJared View Post
    An internal case for this issue has been submitted to our developers. While there is no timeframe for when this behavior may be changed, we do recognize that this causes issues with PCI scans, and development will consider the best way to provide a fix to this.
    For reference and tracking purposes, this request was assigned case number 39553; this case ID number may be used in the official cPanel/WHM change log to help identify the specific feature request in future updates.

  14. #14
    Registered User
    Join Date
    Jan 2005
    Posts
    2

    Default Re: [Case 39553] Force SSL/HTTPS for Mailman (PCI Compliance feature)

    One year ago, cPanelJared wrote in this thread:

    An internal case for this issue has been submitted to our developers. While there is no timeframe for when this behavior may be changed, we do recognize that this causes issues with PCI scans, and development will consider the best way to provide a fix to this.

    Has the feature been added to cPanel, or will it be added soon?

  15. #15
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,289
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [Case 39553] Force SSL/HTTPS for Mailman (PCI Compliance feature)

    This feature has not yet been implemented. You can review any cases in our changelog at Change Logs to see if they have been incorporated into cPanel for your version. You can obtain your existing version by running the following command:

    Code:
    cat /usr/local/cpanel/version
    Additionally, the latest versions for each tier can be viewed at Downloads - cPanel Inc.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Planned for 11.34 Unified PCI Compliance Screen [Case 43812]
    By cPanelDavidG in forum Feature Requests for cPanel/WHM
    Replies: 8
    Last Post: 05-16-2012, 03:12 AM
  2. [Case 35876] cpdavd via http PCI compliance issue
    By Serra in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 03-12-2012, 07:40 AM
  3. PCI Compliance questsion. Hostname SSL required?
    By kingpin12 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-13-2012, 02:36 PM
  4. PCI compliance re. SSL
    By jack01 in forum Security
    Replies: 15
    Last Post: 12-06-2010, 08:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube