Setup Lets Encrypt for Aliasdomain

Discussion in 'Installation/Configuration' started by Poliman, Jul 18, 2017.

  1. Poliman

    Poliman Member

    I created example.com. For it I have created aliasdomain - aliasdomain.com. I would like to know is it possible to setup LE SSL cert for aliasdomain? Under DirectAdmin I have to create two separate domains, add LE for each and for this one which will be an alias create symbolic link to public_html directory of second domain, which is main. After this when I put in browser https://example.com I have nice green padlock and when I put https://aliasdomain.com I have separate LE certificate and I see this same content which is from example.com.

    PS
    Currently when I check LE SSL and SSL options for example.com I have strange thing. Browser shows part of another website under https://example.com and this is without green padlock. Is it possible that LE certiificate generated for this domain on another server before changing dns provide this strange problem? Without checked LE SSL and SSL example.com shows what should show.
     
    Last edited: Jul 18, 2017
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    ISPConfig will correctly handle a domain with another alias domain (it will request a single certificate with both names in it).

    The "PS" issue you mention might be due to a recent bug in 3.1.5, I'm not certain of the details, but if you're running 3.1.5, try running ispconfig_update.sh and updating from git-stable, then see if it's fixed.
     
    Poliman likes this.
  3. Poliman

    Poliman Member

    Hmm, unfortunately few days ago I did update from 3.1.4 and from 3.1.3 on another server to newest version of ISP. But two another websites, which were done before update to 3.1.5, have nice https with green padlock.

    PS
    I have warning after execute ispconfig_update.sh:
    WARNING: The update from GIT is only for development systems and may break your current setup. Do not use the GIT version on servers that host any live websites!
    Should I really update it from git-stable, I am pretty sure I won't have system broken. ;)
     
    Last edited: Jul 19, 2017
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. git-stable, not git-master!
     
  5. Poliman

    Poliman Member

    Yes, of course, only stable or git-stable version. :)
     

Share This Page