Re: [TLS] weird ECDSA interop problem with cloudflare/nginx
Ilari Liusvaara <ilariliusvaara@welho.com> Tue, 26 July 2016 14:35 UTC
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D439212DEBB for <tls@ietfa.amsl.com>; Tue, 26 Jul 2016 07:35:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.187
X-Spam-Level:
X-Spam-Status: No, score=-3.187 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q51zX1LYY-2L for <tls@ietfa.amsl.com>; Tue, 26 Jul 2016 07:35:51 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id BF6F212DB5F for <tls@ietf.org>; Tue, 26 Jul 2016 07:09:13 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 0C05D53D1 for <tls@ietf.org>; Tue, 26 Jul 2016 17:09:12 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id a5p6E6VXX3K9 for <tls@ietf.org>; Tue, 26 Jul 2016 17:09:11 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 776102313 for <tls@ietf.org>; Tue, 26 Jul 2016 17:09:11 +0300 (EEST)
Date: Tue, 26 Jul 2016 17:09:06 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: tls@ietf.org
Message-ID: <20160726140906.GB24563@LK-Perkele-V2.elisa-laajakaista.fi>
References: <05880081-C790-4D4C-9FF0-BA29F47C010A@dukhovni.org> <20160726095225.7E1001A508@ld9781.wdf.sap.corp> <20160726100904.GA24234@LK-Perkele-V2.elisa-laajakaista.fi> <20160726120833.GL4670@mournblade.imrryr.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <20160726120833.GL4670@mournblade.imrryr.org>
User-Agent: Mutt/1.6.0 (2016-04-01)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/11vMnsSOEl6ietsxJ9Qz-v3hdhs>
Subject: Re: [TLS] weird ECDSA interop problem with cloudflare/nginx
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2016 14:35:56 -0000
On Tue, Jul 26, 2016 at 12:08:33PM +0000, Viktor Dukhovni wrote: > On Tue, Jul 26, 2016 at 01:09:04PM +0300, Ilari Liusvaara wrote: > > > > Failure: > > > openssl s_client -connect regmedia.co.uk:443 -cipher ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305 > > > > If you swap the order of these two ciphersuites, does it suceed or fail? > > > > I.e. > > > > openssl s_client -connect regmedia.co.uk:443 -cipher ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256 > > I can reproduce the reported failure in the original order, and at > least for me the swapped variant succeeds. Thank you. > > Well, your test results certainly blow basic "negotiation accidentially > > blows off all valid candidates and then fails" hypothesis out of the > > water. So it has to be soemthing more complicated. > > > > Succeeding with the ciphersuites swapped would suggest (as somebody > > else in this thread already said) that it only considers Chacha in > > the first place, not noticing that it may be the only choice after > > certificate selection. > > Perhaps that's the issue. Oops, that should have been: Chacha ciphersuites are considered for certificate selection in any position, but only in first position for protection selection. -Ilari
- Re: [TLS] weird ECDSA interop problem with cloudf… Benjamin Kaduk
- Re: [TLS] weird ECDSA interop problem with cloudf… Viktor Dukhovni
- Re: [TLS] weird ECDSA interop problem with cloudf… Ilari Liusvaara
- Re: [TLS] weird ECDSA interop problem with cloudf… Martin Rex
- Re: [TLS] weird ECDSA interop problem with cloudf… Ilari Liusvaara
- Re: [TLS] weird ECDSA interop problem with cloudf… Viktor Dukhovni
- Re: [TLS] weird ECDSA interop problem with cloudf… Viktor Dukhovni
- Re: [TLS] weird ECDSA interop problem with cloudf… Ilari Liusvaara
- [TLS] weird ECDSA interop problem with cloudflare… Martin Rex
- Re: [TLS] weird ECDSA interop problem with cloudf… Hubert Kario
- Re: [TLS] weird ECDSA interop problem with cloudf… Peter Gutmann
- Re: [TLS] weird ECDSA interop problem with cloudf… Hubert Kario
- Re: [TLS] weird ECDSA interop problem with cloudf… Peter Gutmann
- Re: [TLS] weird ECDSA interop problem with cloudf… Ilari Liusvaara
- Re: [TLS] weird ECDSA interop problem with cloudf… Ilari Liusvaara
- Re: [TLS] weird ECDSA interop problem with cloudf… Martin Rex
- Re: [TLS] weird ECDSA interop problem with cloudf… Peter Gutmann