]> granicus.if.org Git - apache/commitdiff
* Correctly merge configurations that have client certificates set
authorRuediger Pluem <rpluem@apache.org>
Tue, 16 Oct 2018 12:55:01 +0000 (12:55 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 16 Oct 2018 12:55:01 +0000 (12:55 +0000)
  by SSLProxyMachineCertificate{File|Path}.
  The certificates and keys loaded during configuration time got lost during
  runtime if e.g. SSLProxyMachineCertificate{File|Path} was set on virtual host
  level and there was an SSL directive at directory level, e.g. SSLRequire.
  This fixes a regression likely introduced in r1740928.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1844002 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/ssl/ssl_engine_config.c

diff --git a/CHANGES b/CHANGES
index 045c767eb14c49a13fb10e3a8b10e97bdc3e2cb3..5e4d4d49cfc4e99387929d055fee4cc29fab6f8d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.1
 
+  *) mod_ssl: Correctly merge configurations that have client certificates set
+     by SSLProxyMachineCertificate{File|Path}. [Ruediger Pluem]
+
   *) core: Ensure that aborted connections are logged as such. PR 62823
      [Arnaud Grandville <contact@grandville.net>]
 
index d26d0f0d64735c57ae983911d7f4f30be797394a..3ded454b4c1154e0354958194a75b2d6cd26974d 100644 (file)
@@ -433,6 +433,8 @@ static void modssl_ctx_cfg_merge_proxy(apr_pool_t *p,
     cfgMergeString(pkp->cert_file);
     cfgMergeString(pkp->cert_path);
     cfgMergeString(pkp->ca_cert_file);
+    cfgMergeString(pkp->certs);
+    cfgMergeString(pkp->ca_certs);
 }
 
 void *ssl_config_perdir_merge(apr_pool_t *p, void *basev, void *addv)