[pyOpenSSL] Problem with pyOpenSSL 0.10 and OpenSSL 0.9.8m

M.-A. Lemburg mal at egenix.com
Fri Feb 26 12:54:11 CET 2010


OpenSSL just released version 0.9.8m where they changed the
SSL renegotiation scheme to now follow RFC 5746 instead of
just disabling it completely:

    http://tools.ietf.org/html/rfc5746

pyOpenSSL compiles against the new version without problems,
but one of the unit tests fails on Linux x64 (and perhaps
other platforms as well):

> python OpenSSL/test/test_ssl.py
.......E....
======================================================================
ERROR: test_set_default_verify_paths (__main__.ContextTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "OpenSSL/test/test_ssl.py", line 253, in test_set_default_verify_paths
    clientSSL.do_handshake()
Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]

----------------------------------------------------------------------
Ran 12 tests in 0.660s

FAILED (errors=1)

The test connects to https://verisign.com/
I've tried a few other sites as well, but always get the same
error.

Any suggestions ?

Thanks,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 26 2010)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/




More information about the pyopenssl-users mailing list