MINOR: acme: implement "reuse-key" option

The new "reuse-key" option in the "acme" section, allows to keep the
private key instead of generating a new one at each renewal.
This commit is contained in:
William Lallemand
2025-09-27 21:41:39 +02:00
parent a9ccf692e7
commit b70c7f48fa
3 changed files with 40 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ struct acme_cfg {
char *filename; /* config filename */
int linenum; /* config linenum */
char *name; /* section name */
int reuse_key; /* do we need to renew the private key */
char *directory; /* directory URL */
char *map; /* storage for tokens + thumbprint */
struct {