godaddy UCC ssl help needed

Discussion in 'ISPConfig 3 Priority Support' started by Turbanator, Jan 21, 2016.

  1. Turbanator

    Turbanator Member HowtoForge Supporter

    Perfect Wheezy setup apache2. ispc 3.0.5.4p8
    I've tried and tried but I'm missing something.

    I have a godaddy ucc ssl support for 10 domains.
    primary: domain1.com
    SAN www.domain2.com
    SAN www.domain3.com
    I THINK I have the primary ssl domain setup and working with the ssl checked adn ssl tab with certs filled in. I have some strange redirect issue causing a redirect loop but I think I can figure taht one out.

    The issue is how do I setup the other domains with that same ucc ssl? Everytime I try to either use ispc OR copy the /var/www/*.com/ssl files over renamed, still doesnt work and says the cert doesn't match when i go to the sites in Chrome.

    I've setup a wildcard ssl before but I'm a bit lost here I guess. Any help would be greatly appreciated.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    New domains get added to a multidomain cert by the ssl authoity, so you add them at godaddy and receive a new ssl cert from them.

    To install thie new cert in multiple websites, copy the ssl key and ssl cert and bundle certificates (from the fields of the master website were you created it) to the other website, select "save certificate" as action and press save.
     
  3. Turbanator

    Turbanator Member HowtoForge Supporter

    Thank you Till. I did that but for some reason now when I go to https://www.domain2.com it takes me to a green (good) url, but shows the default ispconfig Welcome to your Website, and not the actual valid website which still works on http://www.domain2.com. And more to that...https://domain2.com says the cert is invalid (no www).

    Could it be that the SAN should be setup for domain2.com and NOT www.domain2.com? In ispc I have it set for auto subdomain www.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please tale a look into the sites-available directory (etc/apache2/sites-available/ on Debian and ubuntu). Does the vhost file for domain2 has a .err ending?
     
  5. Turbanator

    Turbanator Member HowtoForge Supporter

    No error file. And I doublechecked that the .vhost file had the appropriate <VirtualHost *:443> section.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    And the ssl cert and key file used in the two vhost files contain the right key and cert? The default index.html file from ispconfig has precedence over a index.php file of your cms, so in case that you have index.html and index.php in the web folder of domain2, then try to remove index.html.
     
  7. Turbanator

    Turbanator Member HowtoForge Supporter

    correct, I copied all the fields from domain.com->ssl to domain2.com->ssl. the only thing changed was the ssl domain. And no index.html. The prestashop store running on http:// works fine. but https is defaulting to ispc welcome.

    Here what I just did and some results. This time, since I set the san for www.domain2.com and not domain2.com, I changed the domain2.com->ssl domain field to read www.domain2.com. NOW httpS://www.domain2.com redirects to http://www.domain.com and shows the website whereas previously it would stay as green httpS with the ispc Welcome. httpS://domain2.com still says invalid cert.
     
  8. Turbanator

    Turbanator Member HowtoForge Supporter

    I think the problem wasn't with the cert, but rather in Prestashop. It seems to be working. Thank you for the help.
     

Share This Page