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.

SSL certificate doesnt work if using "www".domain.com

Discussion in 'General Discussion' started by sh4ka, Nov 9, 2006.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    Hello everybody...

    I need some help with an SSL Cert I installed on a site that is hosted on a cPanel server.
    Everythings to be OK if I use https://domain.com, but if I browse using https://www.domain.com (Internet Explorer only, Firefox doesn't have any problem) an invalid certificate alert appears.. Should I have to buy another SSL for www.domain.com, or this is a problem ? I mean, i wanna use the same certificate for both ways, www.domain.com and domain.com.

    Thanks
     
  2. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    AFAIK, you can't. Certificates are very specific. www.domain.com is not the same as domain.com. The cert will only work for the one that you purchased the cert for.
     
  3. chris8lunch

    chris8lunch Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    16
    What if you order for both? How do you do this?? I tried making certs in WHM and can only get one to work.
     
  4. richy

    richy Well-Known Member

    Joined:
    Jun 30, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    16
    I don't think this is possible (unless you purchase a "wildcard" certificate which would protect *.example.com ).

    Each individual SSL "host" (such as www.example.com or example.com) needs it's own dedicated IP address: and cPanel/WHM can only allocate a single IP address to a single account. For multiple SSL certificates under the same account/domain name, you'll need multiple IPs for that account - which WHM/cPanel can't "do".
     
  5. claudio

    claudio Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    or you may need to assign a port such as cpanel use :2095 :2086 just to the other ssl roots...

    obvious this is not elegant and having a own ip address is the correct and functional solution

    if you brought this ssl a week ago or less you may cancel and refund this and issue another one using www.domain.com

    by the way ssl will never show www. in the certificated if it was not issued this way...

    regards

    claudio
     
Loading...

Share This Page