From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0334D13877A for ; Sun, 22 Jun 2014 08:56:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7AA02E08D1; Sun, 22 Jun 2014 08:56:04 +0000 (UTC) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23B3AE082D for ; Sun, 22 Jun 2014 08:56:02 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id r20so2606037wiv.4 for ; Sun, 22 Jun 2014 01:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=9f4khUTkw+N3puNzSnd2PsNMxYf3J9LVIBvsLzPjY3E=; b=BM6f8t0iv9z1NXCsiXaG3/WLx8Vsti+kHnTlFSKNRyHx3nPHbrKaPVahxbtGV9MIXG PS703ub4eYknD/GxGx1hVdq5ZilxC2FYGYc3L3WyZnhK9Xg7If/1eLBaypwjE3wyb/9m qM+dfQDHB/BwKkMUso/dw9q5xi5/PNEBScn83UXv4HnGh21ob7ms0RTF03RZRFd/Rv4K 3BNm1RrxHV6TjOBAJg0pbLWJx2km/LjOemGP70GZA2p1q9ReMDiDNbIS9jnZM8H5ib/X gOs5sGV4UZP0HA+v+XhqspNrmEnJ4WWfkAM8BpUPtsMnqiTgHFI5NIQos8C0UpybUb/3 AlVA== X-Received: by 10.180.211.36 with SMTP id mz4mr17159694wic.20.1403427361472; Sun, 22 Jun 2014 01:56:01 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id lo18sm21713140wic.1.2014.06.22.01.56.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 22 Jun 2014 01:56:00 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] apache-2.2.27 disable SSLCipherSuite LOW 40 56 bit Date: Sun, 22 Jun 2014 09:55:40 +0100 User-Agent: KMail/1.13.7 (Linux/3.12.21-gentoo-r1; KDE/4.12.5; x86_64; ; ) References: <20140622012944.GA9332@syscon7> In-Reply-To: <20140622012944.GA9332@syscon7> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1421130.5AspjpVfZA"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201406220955.42494.michaelkintzios@gmail.com> X-Archives-Salt: fdfcec9e-43b5-4cf4-80d1-136c5c661c4e X-Archives-Hash: 16aaedc6c80bfd5f198b8ebb2a865e0f --nextPart1421130.5AspjpVfZA Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Sunday 22 Jun 2014 02:29:44 Joseph wrote: > Before upgrading to apache 2.2.27 I had this line in httpd.conf > SSLProtocol -ALL +SSLv3 +TLSv1 +TLSv1.2 > SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXPORT >=20 > and I was getting "A-" rating from: www.ssllabs.com >=20 > Now after upgrading to apache-2.2.27 I'm getting "C" because of weak Ciph= er > Strength inclusion: >=20 > TLS_RSA_EXPORT_WITH_RC4_40_MD5 (0x3) WEAK 40 > TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 (0x6) WEAK 40 > TLS_RSA_EXPORT_WITH_DES40_CBC_SHA (0x8) WEAK 40 > TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA (0x14) DH 512 bits (p: 64, g: 1, > Ys: 64) FS WEAK 40 TLS_RSA_WITH_DES_CBC_SHA (0x9) WEAK 56 > TLS_DHE_RSA_WITH_DES_CBC_SHA (0x15) DH 1024 bits (p: 128, g: 1, Ys: 128= )=20 > FS WEAK 56 >=20 > How to get rid of it? I've tired setting in 00_default_ssl_vhost.conf >=20 > SSLProtocol all -SSLv2 -SSLv3 It should be better to set -ALL to disable all protocols and then explicitl= y=20 enable only the protocols that you want to trust as secure, e.g. +TLSv1.2 > SSLCompression Off > SSLCipherSuite "EECDH+AESGCM EDH+AESGCM EECDH -RC4 EDH -CAMELLIA -SEED > !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4" This leaves the anonymous DH enabled which will give you a poor rating. > or > SSLProtocol -ALL +SSLv3 +TLSv1 +TLSv1.2 > SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2:!EXPORT This enables RC4 which may give you a poor rating - not sure. Better you m= ove=20 it down the list so that more secure ciphers are tried first. > nothing helps, I'm still getting "C" because of weak Cipher Strength > inclusion. This is because you inadvertently allow weak ciphers in your directives abo= ve. Try running openssl ciphers -v to see what your directives allow a= nd=20 in what order. Then modify them accordingly. HTH. =2D-=20 Regards, Mick --nextPart1421130.5AspjpVfZA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABCAAGBQJTppoOAAoJELAdA+zwE4YeazIH/ih4ppfMU03unnwEgzRUCPQq fmr0FPDwoKjuXrfxsurk9b6Ad/tjICmemOVAvZqmA0X7esKu0gHYqK1EXrQTGG7Q TgzxpzdHZGKmschq9hoeqOwJ7O81YJpBbSAX4SAoW5XRgonBid9gaVjeV5UeYP8T 03iU3qMjJYyTQHwHl5W3HNmFiAts5J6W29e4PIXae1oy/SB/lmffN4Ms2+L1np1D 6/Dxz8RpnR+dz2JS7RbwrBKiFNQVfZ/TMIGFdk/jMarsagmkYvwX1WiNtoP2K5zC vgYUD4dYJ+mi9V1DZ7YmwINdfSJnvVxX23Ra76DXzRr4hQAHEFxhADoVinyC4jc= =wrqy -----END PGP SIGNATURE----- --nextPart1421130.5AspjpVfZA--