]> git.ipfire.org Git - thirdparty/haproxy.git/commit
ADMIN: dump-certs: don't update the file if it's up to date
authorWilliam Lallemand <wlallemand@irq6.net>
Sun, 28 Sep 2025 14:33:37 +0000 (16:33 +0200)
committerWilliam Lallemand <wlallemand@irq6.net>
Sun, 28 Sep 2025 16:21:20 +0000 (18:21 +0200)
commit8781c65d8afb0ac187416f0a4732018d5a6ace00
treef07ed067ee1554f447ad07c901fc5dd53ab6dac1
parent3a6ea8b959d5a05063fd5836c855fdba590db37a
ADMIN: dump-certs: don't update the file if it's up to date

Compare the fingerprint of the leaf certificate to the previous file to
check if it needs to be updated or not

Also skip the check if no file is on the disk.
admin/cli/haproxy-dump-certs