The following keywords are usable in the ACME section:
-account <filename>
+account-key <filename>
Configure the path to the account key. The key need to be generated before
launching HAProxy. If no account keyword is used, the acme section will try
to load a filename using the section name "<name>.account.key"
acme LE1
directory https://acme-staging-v02.api.letsencrypt.org/directory
- account /etc/haproxy/account.key
+ account-key /etc/haproxy/letsencrypt.account.key
contact john.doe@example.com
challenge HTTP-01
keytype RSA
acme LE2
directory https://acme-staging-v02.api.letsencrypt.org/directory
- account /etc/haproxy/account.key
+ account-key /etc/haproxy/letsencrypt.account.key
contact john.doe@example.com
challenge HTTP-01
keytype ECDSA
ha_alert("parsing [%s:%d]: out of memory.\n", file, linenum);
goto out;
}
- } else if (strcmp(args[0], "account") == 0) {
+ } else if (strcmp(args[0], "account-key") == 0) {
/* save the filename of the account key */
if (!*args[1]) {
ha_alert("parsing [%s:%d]: keyword '%s' in '%s' section requires a filename argument\n", file, linenum, args[0], cursection);
static struct cfg_kw_list cfg_kws_acme = {ILH, {
{ CFG_ACME, "directory", cfg_parse_acme_kws },
{ CFG_ACME, "contact", cfg_parse_acme_kws },
- { CFG_ACME, "account", cfg_parse_acme_kws },
+ { CFG_ACME, "account-key", cfg_parse_acme_kws },
{ CFG_ACME, "challenge", cfg_parse_acme_kws },
{ CFG_ACME, "keytype", cfg_parse_acme_cfg_key },
{ CFG_ACME, "bits", cfg_parse_acme_cfg_key },