[docs] [issue24516] SSL create_default_socket purpose insufficiently documented
report at bugs.python.org
Fri Jun 26 15:05:40 CEST 2015
New submission from Petr Messner:
Please, is it possible to put more information about the purpose parameter to the documentation of ssl.create_default_context()? It's not obvious that SERVER_AUTH should be used for client sockets and not server sockets. It took me a while to discover this, while all I was getting was only "SSLEOFError: EOF occurred in violation of protocol" (which is also not helpful).
This is especially confusing, because OpenSSL uses serverAuth and clientAuth (for extendedKeyUsage configuration) in the exactly opposite meaning.
assignee: docs at python
nosy: docs at python, messa
title: SSL create_default_socket purpose insufficiently documented
versions: Python 3.4
Python tracker <report at bugs.python.org>
More information about the docs