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.

shared SSL redirect issue

Discussion in 'General Discussion' started by andrew green, Apr 5, 2009.

  1. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Just trying to install shared SSL through WHM.
    Generated the certificate for xxx.com, which works fine, marked the certificated as shared, however whenever I goto https://www.yyy.com I am redirected to https://www.xxx.com

    Any idea what I'm missing,

    Thanks
     
  2. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
  3. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    A shared SSL needs to be accessed using the account user name, for example, if you installed a cert on https://xxx.com, and wish to share this throughout your server, you would need to access https://yyy.com through https://xxx.com/~yyy(account user name), otherwise, you will receive ssl errors with your browser, as the ssl cert will be for xxx.com.
     
    #3 ChrisRHS, Apr 6, 2009
    Last edited: Apr 22, 2009
  4. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    fixed

    Thanks ChrisRHS,

    Hit that nail right on the head
     
  5. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Must be a typo, otherwise, this makes no sense.

    If the cert was purchased for xxx.com, then the users would access it via https://xxx.com/~yyy -- not https://www.com/~yyy.

    Right?

    - Scott
     
  6. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    Correct, it was a typo, and is now fixed :)
     
  7. StevenD

    StevenD Member

    Joined:
    Jan 17, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Odd question time, but Is there anyway to access the ~xxxx/ accounts as subdomains of the main domain with the shared ssl

    so that if the domain with the shared ssl was

    https://xxxxxx.com

    that the accounts on the srever could use

    https://yyyy.xxxxxx.com

    instead of

    https://xxxxxx.com/~yyyy/

    I just hate that ~ in the shared ssl url

    Steven
     
  8. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Unless you get a wildcard SSL certificate (can you say EXPENSIVE?), then your proposal of using the subdomain will not work. When you get a cert, you have to specify if you want it for www.example.com, or just example.com, or maybe secure.example.com. Once you specify the correct FQDN, you cannot then just use it for yyyy.example.com, without throwing up SSL errors.

    The point is... even if you could devise a way for it to function like you want, the SSL cert would still throw up errors because the FQDN doesn't match what your ordered the cert for.

    - Scott
     
  9. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Wildcards have come down in price: http://www.rapidssl.com/ssl-certificate-products/rapidssl/usd/wildcard-ssl-certificate.htm
    $199 there

    I really thought I have seen them cheaper elsewhere I just cannot remember off hand. They are not that unreasonable anymore though.
     
Loading...

Share This Page