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!

Wildcard SSL Problem

Discussion in 'General Discussion' started by JacobHaug, Apr 15, 2011.

  1. JacobHaug

    JacobHaug Member

    Mar 9, 2008
    Likes Received:
    Trophy Points:
    Alright, so I'm trying to install a wildcard SSL certificate that I purchased, and am having horrible luck with cPanel/WHM. I'm running on WHM 11.28.87, and have been working at this for a few days now with no luck. Here's what I've done....

    1) Created a wildcard subdomain * that uses public_html (Needed to install Wildcard SSL)
    2) Used WHM to install SSL certificate to *

    After doing the above, the certificate begins working but only for my main domain. - Works - Works

    However, when accessing any other subdomain on the site, instead of getting the contents of the subdomain like I'm supposed to, I just get the root of public_html. E.g. - Loads content of

    This happens for all the subdomains.

    Once I relized things weren't working properly, I searched around and found a few solutions that I thought might work. I tried what was suggested in the second post of this thread....

    No luck! What am I missing? I thought cPanel support wildcard SSL certificates now. What else needs to be changed? Is the problem because of the subdomain I created?
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Did you copy the SSL to those locations and change the paths, then run the scripts:

    cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak110415
    /etc/init.d/httpd restart
    Simply changing the files does not actually rebuild the Apache configuration. You have to rebuild it and restart it. Additionally, you could be cached to the old location and should check a proxy such as or after performing the steps.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. d_t

    d_t Well-Known Member

    Sep 20, 2003
    Likes Received:
    Trophy Points:
    You don't need to create * wildcard subdomain from step 1) to generate CSR. In fact, this invalidate any other subdomain you've already created. Remove it then old subdomains will work again.

    Then you need to setup SSL certificate for each subdomain. One way is to create a distinct account for each subdomain but maybe there are other better ways, I don't know.

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