Author Topic: AutoSSL renewal setting wrong IP address in apache config  (Read 2164 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
AutoSSL renewal setting wrong IP address in apache config
« on: September 30, 2021, 03:27:31 PM »
I have a bunch of accounts that are set to a secondary IP.

The last few AutoSSL renewals, I was getting certificate errors on the website (wrong certificate was being served by apache). Upon further investigation, the IP address in the apache conf for those domains was reset to the server's shared IP address, instead of the IP address set for that user account.

Last time this happened, I manually changed the IP in the apache virtual host file, updated + restarted the server. But this issue just happened again, so appears to be a bug in the AutoSSL renewal script.

If I delete + re-add auto ssl manually from the user panel, it will use the correct IP address, so seems to only be affected by AutoSSL renewal.