How to add multiple ssl certificate on the same site in ISPConfig 3

Discussion in 'Installation/Configuration' started by tonytroy, Nov 8, 2017.

  1. tonytroy

    tonytroy Member

    Hi there,

    I've installed a Wordpress MU (multisite) with the sub-domain settings + domain mapping to have a specific domain name for each sub-sites. In the ISPConfig 3 sites settings, i have only 1 website for the Wordpress MU, all domains names are added as aliasdomains.

    I have now to register ssl certificates for each domain name but don't know how to do this. When i go to the site settings on ISPConfig 3, i can only add one certificate.

    Does someone have any clue of how i can go through this ?

    Thx,

    Tony.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    An apache or nginx vhost has just one ssl cert and not multiple certs, that's not ISPConfig specific. What you need for a multi-domain site is a multi-domain SSL cert, the easiest way is to use lets encrypt here, as an LE SSL cert contains all alias domains automatically in ISPConfig.
     
  3. tonytroy

    tonytroy Member

    Thank you for your answer Till.
     
  4. tonytroy

    tonytroy Member

    As they already have a SSL certificate for each domain name, i have to find another way to go with this problem, let's encrypt won't solve it.

    So i'm thinking of create one virtual host for each domain name, in this way it should work. Is it possible to do that with ISPConfig 3 ? By creating a new site ? Or manually in the apache conf ?
     
  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Yes. Virtual host is very much possible.

    1. Enable ISPC > System Config > Create aliasdomains as web site.
    2. Use ISPC > Sites > AliasDomain (Vhost).
     
    Sotmlac likes this.
  6. tonytroy

    tonytroy Member

    Thanks Ahrasis, but i have other websites on the same server that use real aliasdomain, so if i enable "create aliasdomains as web site", will those others still work the same ? Will i be able to choose how it works when i create a new alias ?
     
  7. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Yes and yes.
     
  8. tonytroy

    tonytroy Member

    Thanks a lot Ahrasis.

    When i create the aliasdomain vhost, i have this error : The web folder is invalid, please choose a different one.
    I tried with "/" but it doesn't work and don't know what to put in it as i work with Wordpress MU so i don't have a specific folder for all domains names.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Use /web as that's the web folder of the default site.
     
    Sotmlac likes this.
  10. tonytroy

    tonytroy Member

    Thank you Till, it seems to work like this, i'll have the domains names next week and i'll come back here to tell you if this solution works for the SSL certificates.

    Anyway, aliasdomains vhost is a great functionnality !
     
    ahrasis likes this.
  11. tonytroy

    tonytroy Member

    Vhost aliasdomain works perfectly.

    Thanks again guys.
     
    ahrasis likes this.

Share This Page