Alias name for Panel access

Discussion in 'Installation/Configuration' started by wwweiss, Nov 24, 2021.

  1. wwweiss

    wwweiss Member HowtoForge Supporter

    I have made a new multiserver setup based on the newest tutorial with the autoinstaller. The cert for the panel was created during installation, lets say https://panel.firstdomain.tld:8080. Now I want to have a second name https://panel.seconddomain.tld:8080 to access the panel.
    How can I add this name to the letsencrypt cert, so that it stays with all ISPConfig updates that are comming? Should I just run certbot manually?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. wwweiss

    wwweiss Member HowtoForge Supporter

    This is not working, because the ISPConfig Website already has a cert assigned (can be seen in the apache config). Creating a new website just assigns the cert to this new website. The site can be accessed with https://panel.seconddomain.tld but when I add :8080 to get to the Administration of course it takes the cert from this side and then complains about the name not matching the cert.
    I think this was different in the past, but now the new auto installer directly creates the cert.
    Any other ideas?
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You can reverse proxy from your second domain on port 443 to the actual panel on port 8080. You could setup a single certificate that includes all secondary domains and change symlinks so port 8080 uses it, but you are limited to 100 names in a certificate, at which point you have to use a reverse proxy setup to configure more.
     
  5. wwweiss

    wwweiss Member HowtoForge Supporter

    Because I only need one additional name not reverse proxy is needed. But now I got another problem. Seems that ISPConfig now is no more using certbot. On my single server installation this was the case. Certbot was installed and the certs were all inside /etc/letsencrypt.
    Now in this new multiserver setup certbot is not available, also no /etc/letsencrypt. But certs are done without problem.
    Seems that ISPConfig now uses another tool to create the certs - can you tell me how certs are done now?
     
  6. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    acme.sh
    in /root/.acme.sh/
    and actual certs are created in /root/.acme.sh/<domainname>/
    certs are copied to expected ssl file locations, not symlinked back to the original files.
     
    wwweiss likes this.
  7. wwweiss

    wwweiss Member HowtoForge Supporter

    Thank you very much - this helped me out:)
     

Share This Page