[ python-Bugs-1027394 ] socket.ssl should explain that it is a 2/3 connection

SourceForge.net noreply at sourceforge.net
Mon Sep 13 19:45:40 CEST 2004


Bugs item #1027394, was opened at 2004-09-13 12:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1027394&group_id=5470

Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: adam goucher (adamg-work)
Assigned to: Nobody/Anonymous (nobody)
Summary: socket.ssl should explain that it is a 2/3 connection

Initial Comment:
When you try to connect via socket.ssl(), python 
attempts a ssl2 connection then negotiates up. On 
some servers however ssl2 is disabled making the 
connection fail. The documentation should mention this 
limitation.

If you want to connect to an ssl3 or tls1 only server, 
you need to modify the ssl context this method uses. I 
submitted a patch (889813) some time ago to allow the 
context to be specified as an optional argument.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1027394&group_id=5470


More information about the Python-bugs-list mailing list