Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 34
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    147

    Default How to: install chained SSL to work WHM/Cpanel, exim, courier.

    Hello

    I read many topics on the forum but i dont find all on one thread.

    If you buy low cost SSL that have cabundle file you can install it propertly to work with WHM, cPanel, smtp-ssl, pop3-ssl, imap-ssl and it will work od 99% explorers and email clients.

    You should have key, SSL cert and cabundle.

    First step go to the WHM/SSL/TLS/Change Server Certificates and install it.

    Next go to the SSH root login:

    cd /usr/local/cpanel/etc/
    vi mycpanel.pem and delete key, cert and put manually key, certificate, cabundle
    vi cpanel.pem and delete key, cert and put manually key, certificate, cabundle
    vi mycpanel.cabundle delete cabundle and put it manually

    service cpanel restart

    cd /usr/lib/courier-imap/etc
    vi pop3d-ssl

    And change:
    TLS_CERTFILE=/usr/lib/courier-imap/share/pop3d.pem

    to:
    TLS_CERTFILE=/usr/local/cpanel/etc/cpanel.pem
    TLS_TRUSTCERTS=/usr/local/cpanel/etc/mycpanel.cabundle

    the same change in imapd-ssl

    service courier-imap restart

    copy cpanel.pem to the /etc/ssl/private/pure-ftpd.pem and restart pure-ftpd

    next go to the /etc

    vi exim.crt, delete cert and put manualy certificate and cabundle
    vi exim.key delete key and put manually key

    service exim restart


    And you hav fully working low cost SSL certificate


    key words:
    cpanel ssl
    ssl exim
    ssl courier
    chained ssl
    ssl install whm
    install ssl

  2. #2
    cyo
    cyo is offline
    Member
    Join Date
    Oct 2001
    Posts
    35

    Default

    Thank you this is what I was looking for.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    3

    Default

    Is that what needs to be donbe if you want to have /whm , /cpanel url access using https ?

    Im trying to find on which of my domain should I install a certificate in order for :

    https://mydomain.com/whm or /cpanel to login using ssl.

    Thanks

  4. #4
    Registered User
    Join Date
    Dec 2004
    Posts
    2

    Default

    Thanks! This worked for me after spending countless hours figuring out why my WHM cert would work fine in IE but Firefox wouldnt follow the CA bundle and kept giving validation errors.

    Appreciate the post!

  5. #5
    Member
    Join Date
    May 2003
    Location
    Texas
    Posts
    106

    Default

    This is a helpful post. However, in my experience, there is no longer any need to do this in recent versions of cPanel:

    vi mycpanel.pem and delete key, cert and put manually key, certificate, cabundle
    vi mycpanel.cabundle delete cabundle and put it manually

    Someone please correct me if I'm wrong, but I do not think cPanel uses mycpanel.pem and mycpanel.cabundle files any longer.

  6. #6
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    This is all handled for you now in WHM's service certificate manager in whm. (in EDGE & CURRENT)

  7. #7
    Member
    Join Date
    Jan 2007
    Posts
    170

    Default

    So in order to secure, /whm, /cpanel, and email for ALL of my domains, I only need to buy one ssl cert for server.mainhostdomain.com?

  8. #8
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by norelidd View Post
    So in order to secure, /whm, /cpanel, and email for ALL of my domains, I only need to buy one ssl cert for server.mainhostdomain.com?
    You can buy just one.

    They will still be secure without the cert though. You will just get a warning that the crt is not trusted.

  9. #9
    Member
    Join Date
    Jan 2007
    Posts
    170

    Default

    I understand that it's still secure, I'm just looking to get outlook to stop bothering me and my clients every time we check our mail

    I have never worked with SSL before. Would I purchase the cert for the main domain (serverdomain.com) or the server's hostname (server.serverdomain.com)?

  10. #10
    Member
    Join Date
    Jul 2005
    Posts
    24

    Wink Hostname I believe

    I believe it would be the Hostname, since that's the actual name of the server, but I've never done this before so I think somebody who has should reply with a confirmation :-).

    -Omar

  11. #11
    Member
    Join Date
    May 2003
    Location
    Texas
    Posts
    106

    Default

    Quote Originally Posted by norelidd View Post
    I understand that it's still secure, I'm just looking to get outlook to stop bothering me and my clients every time we check our mail

    I have never worked with SSL before. Would I purchase the cert for the main domain (serverdomain.com) or the server's hostname (server.serverdomain.com)?
    Yes, purchase it for the server's hostname.

  12. #12
    Member
    Join Date
    Nov 2004
    Location
    Earth
    Posts
    151

    Default

    I'm trying to get all this setup, but I don't have this file? My cert seem fine and I did not get a cabundle with it.
    What to use for the TLS_TRUSTCERTS=?
    TLS_TRUSTCERTS=/usr/local/cpanel/etc/mycpanel.cabundle

    I'm getting this in Outlook
    The server you are connecting to is using a security cert that cannot be verified.
    The certificate's CN name does not match the passed value

    This cert seems fine on cpanel and whm.
    Last edited by bornonline; 05-06-2007 at 11:15 PM.

  13. #13
    Member
    Join Date
    Jul 2005
    Posts
    24

    Wink Where to buy?

    Hi, I was just wondering...where would I buy an SSL certificate that comes with a CA Bundle?

    Or they all come with one?

    I've only done the SSL stuff a few times and I always wondered about that SSL issue with cPanel and IE (especially IE7 which really makes it look like the page did not load unless you read the words).

    Thanks!

    -Omar

  14. #14
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    As far as I know, they all do. I know GoDaddy SSL certs come with a CA bundle.

  15. #15
    Member
    Join Date
    Nov 2004
    Location
    Earth
    Posts
    151

    Default

    I can tell you that the rapid ssl cert I got through namecheap from Geotrust does not come with the bundle. That is why I asked the question above. Everything seems fine I think...lol

Similar Threads & Tags
Similar threads

  1. Getting very frustrated with chained SSL
    By jez9999 in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 02-16-2008, 03:12 AM
  2. Chained cert for WHM/cPanel
    By smoresandjiffyp in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 11-14-2006, 08:06 AM
  3. Glitch in Cpanel? SSL Install, chained ssl
    By bmcpanel in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-18-2006, 03:28 PM
  4. Chained SSL?
    By Loball in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-16-2004, 12:29 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, 04:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube