Issue 10443: add wrapper for SSL_CTX_set_default_verify_paths (original) (raw)

Issue10443

Created on 2010-11-17 12:04 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
default_verify_paths.patch pitrou,2010-11-17 17:44
Messages (3)
msg121351 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-11-17 12:04
SSL_CTX_set_default_verify_paths allows to select the system-wide CA certificates on an SSL context, if OpenSSL was built with the right options. We could also try to expose those default paths by calling X509_get_default_cert_file() / X509_get_default_cert_dir(), but these seem even less documented (private?).
msg121366 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-11-17 17:44
Here is a patch.
msg121380 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-11-17 20:29
Committed in r86498.
History
Date User Action Args
2022-04-11 14:57:09 admin set github: 54652
2010-11-17 20:29:57 pitrou set status: open -> closedresolution: fixedmessages: + stage: patch review -> resolved
2010-11-17 17:44:39 pitrou set files: + default_verify_paths.patchkeywords: + patchmessages: + stage: patch review
2010-11-17 12:04:46 pitrou create