Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User Korske's Avatar
    Join Date
    Nov 2004
    Posts
    2

    Default WHM/CPanel SSL ports setup

    Hello,
    Could someone please direct me to a post that explains how to setup secure cpanel and whm.
    (I am assuming that some one has already asked this). I can only find posts on how to fix, not setup.

    Thanks!

  2. #2
    Member
    Join Date
    Sep 2005
    Posts
    21

    Default

    Hello!
    I also have problem with it.

    it`s work perfectly with http://hostname:2086 , but doesn`t work with https://hostname:2087
    I generated SSL via SSL/TLS -> Reset Server Certificates.

    https://hostname - it`s works.

    when I restart cpanel ( service cpanel restart ) - it write:
    Starting cPanel ssl services: [FAILED]

    netstat show, that secure ports (2087, 2083, 2096) doesn`t open.

    I try to reinstall cpanel (./upcp -force) - doesn`t help

    In cpanel logs show nothing about it.

    What I can try else? I need your help, please!!

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Check for stunnel logs in /var/log/messages when you restart cpanel
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Sep 2005
    Posts
    21

    Default

    Quote Originally Posted by chirpy
    Check for stunnel logs in /var/log/messages when you restart cpanel

    Sep 28 17:40:10 russia stunnel[9122]: stunnel 4.04 on i686-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.7a Feb 19 2003
    Sep 28 17:40:10 russia stunnel[9122]: FD_SETSIZE=16384, file ulimit=4096 -> 2000 clients allowed
    Sep 28 17:40:10 russia stunnel[9122]: Error binding pop3s to 0.0.0.0:995
    Sep 28 17:40:10 russia stunnel[9122]: bind: Address already in use (98)
    Sep 28 17:40:10 russia cpanel: startstunnel startup failed


    anybody understand it?

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Yup. You have some other imap daemon running on the imaps port. Have a look for a file in /etc/xinetd.d/ probably called /etc/xinetd.d/imaps and set disable = yes in the file (do this for any imap service there apart from cpimap) and then restart xinetd:

    /etc/init.d/xinetd restart

    Then restart cPanel and check whether stunnel is now working.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    Member
    Join Date
    Sep 2005
    Posts
    21

    Default

    Quote Originally Posted by chirpy
    Yup. You have some other imap daemon running on the imaps port. Have a look for a file in /etc/xinetd.d/ probably called /etc/xinetd.d/imaps and set disable = yes in the file (do this for any imap service there apart from cpimap) and then restart xinetd:

    /etc/init.d/xinetd restart

    Then restart cPanel and check whether stunnel is now working.

    Great! Thanks a lot for help!
    How I find, it was file popa3ds, when I disable it - cpanel ssl start to work.
    But now I cannot use SSL pop3 mail connection, how I understand...

  7. #7
    Member
    Join Date
    Sep 2005
    Posts
    21

    Default

    em...
    now doesn`t work IMAP on server at all. After that story with disabling

  8. #8
    Member
    Join Date
    Sep 2005
    Posts
    21

    Smile

    ok. i fixed it.
    thank you, chirpy for your very usefull help!

Similar Threads & Tags
Similar threads

  1. ssl ports wont work for whm/cpanel
    By edenent in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-06-2009, 02:35 PM
  2. How to install SSL with WHM 2087 or 2083 ports
    By xcoder in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-16-2008, 01:48 PM
  3. Cpanel and WHM SSL access ports (2083 and 2087)
    By rfrench10 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-24-2004, 06:45 PM
  4. WHM SSL/SSH ports not responding
    By SupermanInNY in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-19-2003, 11:13 PM
  5. NICK ..how about chained ssl for the WHM ports.
    By rpmws in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-26-2002, 05:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube