From 7fd23f82ab33d45a43eef879e87f4b40d6c37d89 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 30 Nov 2021 15:57:05 +0000 Subject: [PATCH] * mod_md: install the early config hook with _FIRST, so that they run before any ssl modules runs get_certificates hooks. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895428 13f79535-47bb-0310-9956-ffa450edef68 --- modules/md/mod_md.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/md/mod_md.c b/modules/md/mod_md.c index 6387e4dd20..6947e05328 100644 --- a/modules/md/mod_md.c +++ b/modules/md/mod_md.c @@ -1496,7 +1496,7 @@ static void md_hooks(apr_pool_t *pool) /* Run once after configuration is set, before mod_ssl. * Run again after mod_ssl is done. */ - ap_hook_post_config(md_post_config_before_ssl, NULL, mod_ssl, APR_HOOK_MIDDLE); + ap_hook_post_config(md_post_config_before_ssl, NULL, mod_ssl, APR_HOOK_FIRST); ap_hook_post_config(md_post_config_after_ssl, mod_ssl, mod_wd, APR_HOOK_LAST); /* Run once after a child process has been created.