[New-bugs-announce] [issue40127] Documentation of SSL library

Christophe Nanteuil report at bugs.python.org
Tue Mar 31 12:40:25 EDT 2020


New submission from Christophe Nanteuil <christophe.nanteuil at gmail.com>:

For the ssl.create_default_context() function, it states that, "if cafile, capath and cadata are None, the function *can* choose to trust the system's default CA certificates instead".
This statement is not clear as, if the values are None, there is no choice and the only elements available are system's default CA.
AFAIK, if the values are not None, it will not fall back to system's default CA even if the given CA does not match.
I propose to modify the end of the sentence with "the function trusts the system's default CA certificates instead".

----------
assignee: docs at python
components: Documentation
messages: 365398
nosy: Christophe Nanteuil, docs at python
priority: normal
severity: normal
status: open
title: Documentation of SSL library
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40127>
_______________________________________


More information about the New-bugs-announce mailing list