[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default
Antoine Pitrou
report at bugs.python.org
Sun Feb 10 14:51:27 CET 2013
Antoine Pitrou added the comment:
I'm getting a test failure in test_ftplib:
======================================================================
ERROR: test_data_connection (test.test_ftplib.TestTLS_FTPClass)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/cpython/default/Lib/test/test_ftplib.py", line 834, in test_data_connection
with self.client.transfercmd('list') as sock:
File "/home/antoine/cpython/default/Lib/ftplib.py", line 386, in transfercmd
return self.ntransfercmd(cmd, rest)[0]
File "/home/antoine/cpython/default/Lib/ftplib.py", line 756, in ntransfercmd
self.context.load_cert_chain(self.certfile, self.keyfile)
TypeError: certfile should be a valid filesystem path
Also, since we now have SNI server support, perhaps it's easier to test the change :-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10852>
_______________________________________
More information about the Python-bugs-list
mailing list