From 5c6e6f233d81c71eff70e04fb215b89c7a409a92 Mon Sep 17 00:00:00 2001
From: Luca Toscano
> httpd -t -D DUMP_SSL_POLICIES+
httpd -t -D DUMP_SSL_POLICIES
The directive can only be used in the server config (global context), so @@ -1553,43 +1553,58 @@ be setup like this:
This directive applies the set of SSL* directives defined
under 'name' (see <SSLPolicy>
) as the base
-settings in the current context. That means that any other SSL* directives
-you make in the same context remain effective. So, the effective
-SSLProtocol
value in the following settings are:
modern
: recommended when your server is accessible on the open Internet. Works with all modern browsers, but old devices might be unable to connect.intermediate
: the fallback if you need to support old (but not very old) clients.old
: when you need to give Windows XP/Internet Explorer 6 access. The last resort.<VirtualHost...> # effective: 'all' - SSLPolicy modern - SSLProtocol all - </VirtualHost> +You can check the detailed description of all defined policies via the command line:
+- <VirtualHost...> # effective: 'all' - SSLProtocol all - SSLPolicy modern - </VirtualHost> +List all Defined Policies
httpd -t -D DUMP_SSL_POLICIES+A SSLPolicy defines the baseline for the context it is used in. That means that any +other SSL* directives in the same context override it. As an example of this, see the effective +
+SSLProtocol
value in the following settings:Policy Precedence
<VirtualHost...> # effective: 'all' SSLPolicy modern - <VirtualHost...> # effective: 'all' - SSLProtocol all - </VirtualHost> - SSLProtocol all - <VirtualHost...> # effective: '+TLSv1.2' - SSLPolicy modern - </VirtualHost>+</VirtualHost> + +<VirtualHost...> # effective: 'all' + SSLProtocol all + SSLPolicy modern +</VirtualHost> + +SSLPolicy modern +<VirtualHost...> # effective: 'all' + SSLProtocol all +</VirtualHost> + +SSLProtocol all +<VirtualHost...> # effective: '+TLSv1.2' + SSLPolicy modern +</VirtualHost>There can be more than one policy applied in a context. The later ones overshadowing the earlier ones:
-Policy Ordering
<VirtualHost...> # effective: 'intermediate > modern' - SSLPolicy modern - SSLPolicy intermediate - </VirtualHost> +diff --git a/docs/manual/mod/mod_ssl.xml.fr b/docs/manual/mod/mod_ssl.xml.fr index e4da18c356..703b413052 100644 --- a/docs/manual/mod/mod_ssl.xml.fr +++ b/docs/manual/mod/mod_ssl.xml.fr @@ -1,7 +1,7 @@ - +Policy Ordering
<VirtualHost...> # effective protocol: 'all -SSLv3' + SSLPolicy modern + SSLPolicy intermediate +</VirtualHost> - <VirtualHost...> # effective: 'modern > intermediate' - SSLPolicy intermediate - SSLPolicy modern - </VirtualHost>+<VirtualHost...> # effective protocol: '+TLSv1.2' + SSLPolicy intermediate + SSLPolicy modern +</VirtualHost>