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
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
You need to install the SSL certificate on the services as well which you can do it from
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.WHM >> Service Configuration >> Manage Service SSL Certificates
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
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?
Tony Kammerer - Senior Admin, United Communications Ltd.
Proudly hosting over 50,000 customer websites since 1998!
Our lively customer community with over 70,000 posts!
Hi,
did you find a solution for this? I'm getting the exact same problem.
Tx
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
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
Tony Kammerer - Senior Admin, United Communications Ltd.
Proudly hosting over 50,000 customer websites since 1998!
Our lively customer community with over 70,000 posts!
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.
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:Please keep in mind that if mailman is forcefully reinstalled you may also need to re-add the custom .htaccess file.
- 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- Enter the following contents into the custom .htaccess file:
Code:RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
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.
Tony Kammerer - Senior Admin, United Communications Ltd.
Proudly hosting over 50,000 customer websites since 1998!
Our lively customer community with over 70,000 posts!
I'll be trying it tommorrow afternoon. It's too late for me now, but I will keep you posted.
Great suggestions thanks
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.
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
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.
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
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?
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:
Additionally, the latest versions for each tier can be viewed at Downloads - cPanel Inc.Code:cat /usr/local/cpanel/version
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