mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-12-02 00:01:37 +01:00
BUG/MINOR: acme: more explicit error when BIO_new_file()
Replace the error message of BIO_new_file() when the account-key cannot be created on disk by "acme: cannot create the file '%s'". It was previously "acme: out of memory." Which is unclear. Must be backported to 3.2.
This commit is contained in:
parent
1b19e4ef32
commit
071e5063d8
@ -712,7 +712,7 @@ static int cfg_postsection_acme()
|
||||
}
|
||||
|
||||
if ((bio = BIO_new_file(store->path, "w+")) == NULL) {
|
||||
ha_alert("acme: out of memory.\n");
|
||||
ha_alert("acme: cannot create the file '%s', check your permissions.\n", cur_acme->account.file);
|
||||
err_code |= ERR_ALERT | ERR_FATAL | ERR_ABORT;
|
||||
goto out;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user