The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Really confused with SSL cert

Discussion in 'Security' started by keat63, Feb 18, 2015.

  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    For my hostname server (of which only me will have access), i'm currently using a self signed cert.
    For my main domain (the company i work for), i purchased a cert. (call this a customer)

    Now this is where i'm struggling.

    If i go to http://www.customerdomain.com/webmail, it's picking up my self signed certificate and redirecting me to https://hostname.serverdomain.com

    Thinking there was an issue with the purchased certificate, I removed them both and started again.
    Low an behold, https://www.customerdomain.com/webmail now works.

    However, when i try to log in to WHM on https://hostname.serverdomain.com:2087, it's now picking up the customer certificate and redirecting me the other way.

    This only seems to happen when i go to WHM login though.
    So If i go to https://www.serverdomain.com, it picks up the hostname self signed cert.
    As soon as I add :2087, it picks up the cert for the customer domain.


    Just to compound this.
    If i go to https://www.serverdomain.com/host/whm, it picks up the self signed cert.

    I'm well and truly confused.
     
    #1 keat63, Feb 18, 2015
    Last edited: Feb 18, 2015
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You might want to check your Redirect settings, here:
    WHM » Server Configuration » Tweak Settings, Redirection tab.
     
  3. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I've played with those settings until i'm blue in the face, tried every combination, and i can't get this to work.

    Am i correct in assuming, that if the customer domain has his own SSL, then he should be able to connect to his own Cpanel or WebMail using his own SSL certificate.
    As at the moment when he connects, he's seeing the certificate allocated to the host name.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The server (cPanel, Webmail) use the servers SSL. Customer domain and all things in it, uses customers SSL for that domain.
     
  5. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    So the customers webmail and cpanel are not in his domain. ?
     
  6. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I have a cpanel hosted plan with Host papa. When I go to domain.com/Webmail.
    This is exactly where I land.
    I'm not forwarded to hostpapa.com:2087. So how come I am on my dedicated server.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    What is currently configured under the "Redirection" tab in "WHM >> Tweak Settings"? Also, under the "Security" tab, is "Require SSL" enabled?

    Thank you.
     
Loading...
Similar Threads - Really confused SSL
  1. tryingwebman
    Replies:
    20
    Views:
    563

Share This Page