[issue20000] SSLContext.get_ca_certs() and self-signed certs

Antoine Pitrou report at bugs.python.org
Tue Dec 17 11:48:18 CET 2013


Antoine Pitrou added the comment:

> get_ca_certs() doesn't return the cert although it is used to
> successfully validate a remote cert.

Interesting. Is it because of the way you implemented get_ca_certs()?

> I propose to modify and rename the function and to add a "check_ca" to
> the dict that is returned by getpeercert().

Can you explain? What does "check_ca" mean?

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20000>
_______________________________________


More information about the Python-bugs-list mailing list