Quote from: le_top on January 04, 2025, 01:12:53 AMOn multiple occasions I've been observing that even thought a certificate has been renewed, the previous version is still being serviced.Do you use now both automations or only the new one to snyc only haproxy certificate without restart haproxy ?
I then manually trigger the HAProxy restart action directly from the "Run automations" symbol under Services>ACME Client>Certificates>Certificate Entry>Commands .
The certificate being served then becomes correct, but some time later I get the old one back.
I now find that 2 certificates listed as "Update Certificates" under Services>HAProxy>Maintenance>SSL Certificates.
There is an entry for 1_HTTPS_frontend and on that line under Commands, an "Apply Changes" icon is available.
Clicking that and confirming the operation also gets rid of the use of the old certificate. Hopefully this stays permanent, now I only need to find a way to automate this after a certificate renewal as restarting the HAProxy does not seem to permanently affect this.
EDIT:
It is possible to create another automation (Service>ACME>Automations) for this. When selecting "System or Plugin Command" under "Run command", "Sync SSL certificate changes into running HAProxy service" can be selected as a system command. I think this is the permanent fix.
EDIT2:
Tested the automation on a 2nd setup where 5 was shown under "Update certificates". Running the automations that now include the sync commande made that go away ;-).