From: Christian S. <mai...@go...> - 2009-01-17 23:45:49
|
Hi folks :) I use Arch Linux i686 with pyopenssl-0.8 and openssl-0.9.8j and have got some problems with connecting to kekz.net:23002. http://codepad.org/2aad1eAI $ python Python 2.6.1 (r261:67515, Dec 7 2008, 08:27:41) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> from OpenSSL.SSL import SSLv3_METHOD, Connection, Context >>> s = socket.socket() >>> conn = Connection(Context(SSLv3_METHOD), s) >>> conn.connect(('kekz.net',23002)) >>> conn.do_handshake() Traceback (most recent call last): File "<stdin>", line 1, in <module> OpenSSL.SSL.Error: [('SSL routines', 'SSL3_GET_RECORD', 'wrong version number')] It works fine with openssl-0.9.8i or when I use SSLv23_METHOD as Context but this seems not to work with my twisted-based app. Thanks Christian Scharkus |