From 071e5063d8070672a7afe7c6bb630da9eb7fbe39 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 13 Nov 2025 11:44:26 +0100 Subject: [PATCH] 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. --- src/acme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acme.c b/src/acme.c index 7f7a4c649..791178ba7 100644 --- a/src/acme.c +++ b/src/acme.c @@ -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; } -- 2.47.3