1 |
On Sunday 22 Jun 2014 02:29:44 Joseph wrote: |
2 |
> Before upgrading to apache 2.2.27 I had this line in httpd.conf |
3 |
> SSLProtocol -ALL +SSLv3 +TLSv1 +TLSv1.2 |
4 |
> SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXPORT |
5 |
> |
6 |
> and I was getting "A-" rating from: www.ssllabs.com |
7 |
> |
8 |
> Now after upgrading to apache-2.2.27 I'm getting "C" because of weak Cipher |
9 |
> Strength inclusion: |
10 |
> |
11 |
> TLS_RSA_EXPORT_WITH_RC4_40_MD5 (0x3) WEAK 40 |
12 |
> TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 (0x6) WEAK 40 |
13 |
> TLS_RSA_EXPORT_WITH_DES40_CBC_SHA (0x8) WEAK 40 |
14 |
> TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA (0x14) DH 512 bits (p: 64, g: 1, |
15 |
> Ys: 64) FS WEAK 40 TLS_RSA_WITH_DES_CBC_SHA (0x9) WEAK 56 |
16 |
> TLS_DHE_RSA_WITH_DES_CBC_SHA (0x15) DH 1024 bits (p: 128, g: 1, Ys: 128) |
17 |
> FS WEAK 56 |
18 |
> |
19 |
> How to get rid of it? I've tired setting in 00_default_ssl_vhost.conf |
20 |
> |
21 |
> SSLProtocol all -SSLv2 -SSLv3 |
22 |
|
23 |
It should be better to set -ALL to disable all protocols and then explicitly |
24 |
enable only the protocols that you want to trust as secure, e.g. +TLSv1.2 |
25 |
|
26 |
> SSLCompression Off |
27 |
> SSLCipherSuite "EECDH+AESGCM EDH+AESGCM EECDH -RC4 EDH -CAMELLIA -SEED |
28 |
> !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4" |
29 |
|
30 |
This leaves the anonymous DH enabled which will give you a poor rating. |
31 |
|
32 |
> or |
33 |
> SSLProtocol -ALL +SSLv3 +TLSv1 +TLSv1.2 |
34 |
> SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXPORT |
35 |
|
36 |
This enables RC4 which may give you a poor rating - not sure. Better you move |
37 |
it down the list so that more secure ciphers are tried first. |
38 |
|
39 |
> nothing helps, I'm still getting "C" because of weak Cipher Strength |
40 |
> inclusion. |
41 |
|
42 |
This is because you inadvertently allow weak ciphers in your directives above. |
43 |
|
44 |
Try running openssl ciphers -v <string> to see what your directives allow and |
45 |
in what order. Then modify them accordingly. |
46 |
|
47 |
HTH. |
48 |
-- |
49 |
Regards, |
50 |
Mick |