]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/ssl/ssl_engine_init.c (ssl_init_proxy_certs): Update comment,
authorJoe Orton <jorton@apache.org>
Tue, 21 Aug 2012 09:30:01 +0000 (09:30 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 21 Aug 2012 09:30:01 +0000 (09:30 +0000)
  thanks to kbrand.

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

modules/ssl/ssl_engine_init.c

index 72662e046545c501d6c5d0b6242fbb70587659e3..0ce7e5a691c06e1e156fde362d2f49df40df8cc3 100644 (file)
@@ -1410,7 +1410,11 @@ static void ssl_init_proxy_certs(server_rec *s,
         return;
     }
 
-    /* Load all of the CA certs and construct a chain */
+    /* If SSLProxyMachineCertificateChainFile is configured, load all
+     * the CA certs and have OpenSSL attempt to construct a full chain
+     * from each configured end-entity cert up to a root.  This will
+     * allow selection of the correct cert given a list of root CA
+     * names in the certificate request from the server.  */
     pkp->ca_certs = (STACK_OF(X509) **) apr_pcalloc(p, ncerts * sizeof(sk));
     sctx = X509_STORE_CTX_new();
 
@@ -1421,8 +1425,6 @@ static void ssl_init_proxy_certs(server_rec *s,
         ssl_die(s);
     }
 
-    /* ### Why is all the following done?  Why is it necessary or
-     * useful for the server to try to verify its own client cert? */
     X509_STORE_load_locations(store, pkp->ca_cert_file, NULL);
 
     for (n = 0; n < ncerts; n++) {