Skip to content

letsencrypt bug on multihost system

short description

If you accidentally enable let's encrypt on second host, it probably fail (because domain is not pointing to that server) and it will disable ssl on all host (even with valid ssl).

correct behaviour

https://git.ispconfig.org/ispconfig/ispconfig3/blob/master/server/plugins-available/apache2_plugin.inc.php#L1224 The WHERE should only affect the currect vhost on this server, not any vhost with the same domain.

environment

Server OS: debian Server OS version: Jessie ISPConfig version: git

proposed fix

Change WHERE condition from "domain" to "domain_id"

Thanks :)