Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member Astral God's Avatar
    Join Date
    Sep 2010
    Location
    127.0.0.1
    Posts
    66
    cPanel/Enkompass Access Level

    Root Administrator

    Exclamation Problem installating Wildcard from StartSSL

    Hello all!!

    I've requested à Wild card from StartSSL (https://www.startssl.com/). This wild card is delivered for *.example.com.

    So, i h'ave my .CRT, .KEY and CABUNDLE

    On cPanel, under SSL/TLS Manager > Activate SSL on Your Web Site (HTTPS), i've pasted the content of my 3 files there, but i must chose a domain for the certificate. So, my choice is "example.com", because i can't chose (*).example.com.

    The certificate installs without problem, but only www.example.com is SSL protected and if i request "https://subdomain.example.com", I'm automatically redirected to "http://www.example.com" (without "s").

    Only "https://www.example.com" works and even https://example.com is reditected to ""http://www.example.com" (without "s").

    And i don't know what to do to make my wild card works...

    Thanks.
    Last edited by Astral God; 04-04-2011 at 04:46 AM.

  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: Proble installating Wild car from StartSSL

    You would need to create a wildcard subdomain on that account that has the main domain in the subdomain area, then install the SSL onto the wildcard subdomain itself. After that, each additional SSL for each subdomain must be manually configured. I have a discussion on configuring a wildcard SSL when it was using the main IP:

    http://forums.cpanel.net/f34/ssl-cer...tml#post701022

    This is similar to what you would need to do, but you appear to have a dedicated IP for the domain, so 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.
    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
    Member Astral God's Avatar
    Join Date
    Sep 2010
    Location
    127.0.0.1
    Posts
    66
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Re: Proble installating Wild car from StartSSL

    Ok thanks for your answer.

    I'm trying to solve this with .htaccess files.

    So, my IANA — Example domains domain points to:

    Code:
    /home/username/public_html/www.domain.com
    and my subdomain points to:

    Code:
    /home/username/public_html/subdomain.domain.com
    I've found this rule, but i don't know how to rewrite it to fit my needs:

    Code:
    RewriteCond %{SERVER_PORT} ^443$
    RewriteCond %{HTTP_HOST} ^sub\.domain\.com$ [NC]
    RewriteCond %{REQUEST_URI} !^/subdomains/sub/
    RewriteRule ^(.*) /subdomains/sub/$1
    Can someone helps me?
    Thanks.

Similar Threads & Tags
Similar threads

  1. Proble con whm y dominios
    By alexisg_2007 in forum Discusión en Español
    Replies: 0
    Last Post: 06-16-2009, 04:32 PM
  2. problem with SMTP over SSL, STARTSSL
    By myweb in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-25-2004, 11:27 PM
  3. Older buildapache.sea for people having segment fault proble
    By Elliot in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-31-2002, 01:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube