summaryrefslogtreecommitdiffstats
path: root/Doc/library/ssl.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-11-17 20:29:42 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-11-17 20:29:42 (GMT)
commit664c2d1fc072d0cbd9b92a1cd5c9ac9ad7db326e (patch)
tree20115d0c90143e88464ca061a34fb9151e8ea50e /Doc/library/ssl.rst
parentb6d4ee536174f2d467c195904c140025109242e7 (diff)
downloadcpython-664c2d1fc072d0cbd9b92a1cd5c9ac9ad7db326e.zip
cpython-664c2d1fc072d0cbd9b92a1cd5c9ac9ad7db326e.tar.gz
cpython-664c2d1fc072d0cbd9b92a1cd5c9ac9ad7db326e.tar.bz2
Issue #10443: Add the SSLContext.set_default_verify_paths() method.
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r--Doc/library/ssl.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 39d1cfe..b4139b8 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -536,6 +536,15 @@ to speed up repeated connections from the same clients.
following an `OpenSSL specific layout
<http://www.openssl.org/docs/ssl/SSL_CTX_load_verify_locations.html>`_.
+.. method:: SSLContext.set_default_verify_paths()
+
+ Load a set of default "certification authority" (CA) certificates from
+ a filesystem path defined when building the OpenSSL library. Unfortunately,
+ there's no easy way to know whether this method succeeds: no error is
+ returned if no certificates are to be found. When the OpenSSL library is
+ provided as part of the operating system, though, it is likely to be
+ configured properly.
+
.. method:: SSLContext.set_ciphers(ciphers)
Set the available ciphers for sockets created with this context.