Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2008
    Posts
    9

    Default Wildcard SSL Problem

    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 *.backendlabs.com that uses public_html (Needed to install Wildcard SSL)
    2) Used WHM to install SSL certificate to *.mydomain.com

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

    https://mydomain.com/ - Works
    https://www.mydomain.com/ - 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.

    https://clients.mydomain.com/ - Loads content of https://www.mydomain.com/

    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....

    http://forums.cpanel.net/f34/proble-...sl-201481.html

    You'd simply copy the existing wildcard SSL domain at /var/cpanel/userdata/username/*.domain.com_SSL to each subdomain at /var/cpanel/userdata/username/sub.domain.com_SSL and then change the paths and domain name as indicated. Please note that username would be the cPanel username and domain.com would be the domain name.
    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. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Wildcard SSL Problem

    Did you copy the SSL to those locations and change the paths, then run the scripts:

    Code:
    cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak110415
    /scripts/rebuildhttpdconf
    /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 proxify.net or kproxy.com after performing the steps.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    d_t
    d_t is offline
    Member
    Join Date
    Sep 2003
    Location
    Bucharest
    Posts
    239

    Default Re: Wildcard SSL Problem

    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.

Similar Threads & Tags
Similar threads

  1. Wildcard SSL install problem
    By sassou2009 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-12-2012, 04:17 PM
  2. Wildcard SSL problem
    By matins007 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-10-2009, 08:41 AM
  3. Wildcard SSL problem
    By alpiroom in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 05-28-2008, 02:52 AM
  4. wildcard SSL problem with easyapache3
    By jayronc in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-25-2008, 08:06 PM
  5. Wildcard SSL + Redirection Problem
    By skina in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-21-2008, 04:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube