]> git.ipfire.org Git - thirdparty/haproxy.git/commit
ADMIN: dump-certs: create files in a tmpdir
authorWilliam Lallemand <wlallemand@irq6.net>
Sun, 28 Sep 2025 15:16:43 +0000 (17:16 +0200)
committerWilliam Lallemand <wlallemand@irq6.net>
Sun, 28 Sep 2025 16:21:25 +0000 (18:21 +0200)
commit172ac6ad038e4b571ae2643de3c83bd6759e62f0
treee9369d382d4a14d6a6c331585fe6a11cdd6cef15
parent8781c65d8afb0ac187416f0a4732018d5a6ace00
ADMIN: dump-certs: create files in a tmpdir

Files dumped from the socket are put in a temporary directory, this
directory is then removed upon exit.

Variable were cleaned to be clearer:
- crt_filename -> prev_crt
- key_filename -> prev_key
- ${crt_filename}.${tmp} -> new_crt
- ${key_filename}.${tmp} -> new_key
admin/cli/haproxy-dump-certs