From: Kaspar Brand
HTTPS
SSL_PROTOCOL
SSL_PROTOCOL
SSL_SESSION_ID
SSL_SESSION_RESUMED
SSL_SECURE_RENEG
true
if secure renegotiation is supported, else false
Description: | Configure usable SSL protocol versions |
---|---|
Description: | Configure usable SSL/TLS protocol versions |
Syntax: | SSLProtocol [+|-]protocol ... |
Default: | SSLProtocol all |
Context: | server config, virtual host |
Module: | mod_ssl |
-This directive can be used to control which versions of the SSL protocol +This directive can be used to control which versions of the SSL/TLS protocol will be accepted in new connections.
The available (case-insensitive) protocols are:
SSLv2
- - This is the Secure Sockets Layer (SSL) protocol, version 2.0. It is the - original SSL protocol as designed by Netscape Corporation. Though it's - use has been deprecated, because of weaknesses in the security of the protocol.
SSLv3
This is the Secure Sockets Layer (SSL) protocol, version 3.0, from @@ -1213,19 +1207,17 @@ The available (case-insensitive) protocols are:
TLSv1
This is the Transport Layer Security (TLS) protocol, version 1.0. It is the - successor to SSLv3 and is defined in RFC2246. - Which has been obsoleted by RFC4346.
All
+all
- This is a shortcut for ``+SSLv2 +SSLv3 +TLSv1
'' and a
- convenient way for enabling all protocols except one when used in
- combination with the minus sign on a protocol as the example above
- shows.
+SSLv3 +TLSv1
''.
-# enable SSLv3 and TLSv1, but not SSLv2
-SSLProtocol all -SSLv2
+SSLProtocol TLSv1
The following enables only the strongest ciphers:
- SSLProtocol all -SSLv2
- SSLCipherSuite HIGH:!aNULL:!EXP:!MD5:!NULL
+ SSLCipherSuite HIGH:!aNULL:!MD5
While with the following configuration you enable two ciphers - which are resonably secure, and fast:
+While with the following configuration you specify a preference + for specific speed-optimized ciphers (which will be selected by + mod_ssl, provided that they are supported by the client):
- SSLProtocol all -SSLv2
- SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:!aNULL:!EXP:!MD5:!NULL
+ SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:!aNULL:!MD5
SSLHonorCipherOrder on
This strongly reflects the default value of SSLCipherSuite
and is the recommanded way to configure it.
mod_ssl
: The default format of the *_DN
variables has changed. The old format can still be used with the new
- LegacyDNStringFormat
argument to SSLOptions
.LegacyDNStringFormat
argument to SSLOptions
. The SSLv2 protocol is
+ no longer supported.
htpasswd
now uses MD5 hash by default on
all platforms.