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


Groups > comp.lang.python > #105453

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

From TwoThree Tee <t22330033@gmail.com>
Newsgroups comp.lang.python
Subject Why I got handshake failure when passing specific ciphers to wrap_socket?
Date 2016-03-22 16:27 +0800
Message-ID <mailman.486.1458635317.12893.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web