Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105453 > unrolled thread

Why I got handshake failure when passing specific ciphers to wrap_socket?

Started byTwoThree Tee <t22330033@gmail.com>
First post2016-03-22 16:27 +0800
Last post2016-03-22 16:27 +0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Why I got handshake failure when passing specific ciphers to wrap_socket? TwoThree Tee <t22330033@gmail.com> - 2016-03-22 16:27 +0800

#105453 — Why I got handshake failure when passing specific ciphers to wrap_socket?

FromTwoThree Tee <t22330033@gmail.com>
Date2016-03-22 16:27 +0800
SubjectWhy I got handshake failure when passing specific ciphers to wrap_socket?
Message-ID<mailman.486.1458635317.12893.python-list@python.org>
I tried two kinds of ciphers "kRSA, aRSA, RSA" and "kDHE, kEDH, DH". The
later failed with handshake failure alert (observed from packet dump). For
the successful one, the chosen cipher suite is DHE-RSA-AES256-SHA which is
also included in the Client Hello message of the failed case. That's what
confused me. Since I have provided the supported cipher suite why the
handshake failed? I also tried the cipher with openssl: openssl s_client
-connect ebay.com:443 -cipher "kDHE, kEDH, DH" -tls1, and it works well.
Any idea to troubleshoot? Thanks.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web