Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mail SSL with AutoSSL gives wrong cert on shared ip

Discussion in 'E-mail Discussion' started by karlog, Feb 18, 2018.

Tags:
  1. karlog

    karlog Registered

    Joined:
    Jan 26, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
    Hello

    This must be a problem that other users have been having, but I have been unable to solve it my self and spend a lot of time trying to google it.

    I have a VPS with WHM on, on the server I have multiple domains on a shared IP and everything is great. (At least I thought so) One of my users told me that everyone in his domain got a certificate warning while connecting to their SMTP server. Therefore I started digging around some more and noticed that this was a general problem for all the domains on the shared IP and a few of the domains on a dedicated IP.
    I am unable to make my server return the correct SSL certificate when connecting to a domain on a shared IP. Even when SNI is set to "Yes" I get the wrong certificate listed when connecting.
    If we say that the host is using "whmhost1.somedomain.dk" and the domain on the shared IP is mydomain.dk, then I want to be able to use the "Secure SSL/TLS settings" configuration that cPanel recommends.
    The settings cPanel shows me (and my customers) is something like:
    Username: test@mydomain.dk
    Password: ***********
    Incoming server: mail.mydomain.dk (Imap port: 993, POP3 port: 995)
    Outgoing server: mail.mydomain.dk (SMTP Port: 465)

    The settings work fine, except that many mail clients will show a warning while connecting, the reason for the warning is that the certificate for the host server (whmhost1.somedomain.dk) is returned instead of the certificate for mail.mydomain.dk.
    When I look at "Manage SSL Hosts" I can see that there is a certificate for the domain at "mail.mydomain.DK" (Along with cpanel, webdisk webmail subdomains.)


    My server is running
    CENTOS 6.9
    WHM v68.0.29
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Can you open a support ticket using the link in my signature so we can take a closer look?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. karlog

    karlog Registered

    Joined:
    Jan 26, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Denmark
    cPanel Access Level:
    Root Administrator
    The issue was solved by cPanel support.

    The reason for the issue was that the server was using a newer version of SSL than what was supported by Outlook and Thunderbird.
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice