[pyOpenSSL] Problems with openssl-0.9.8j

Christian Scharkus mail.sensenmann at googlemail.com
Sun Jan 18 00:45:43 CET 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pyopenssl-users/attachments/20090118/e5498519/attachment.html>


More information about the pyopenssl-users mailing list