Fix #3095: Add tls_verify and tls_cacerts to support self-signed servers

This commit is contained in:
Takeshi KOMIYA
2016-11-17 23:12:39 +09:00
parent 3c3c8e7533
commit 8006d31b32
6 changed files with 89 additions and 11 deletions
+15
View File
@@ -318,6 +318,21 @@ General configuration
.. versionadded:: 1.3
.. confval:: tls_verify
If true, Sphinx verifies server certifications. Default is ``True``.
.. versionadded:: 1.5
.. confval:: tls_cacerts
A path to a certification file of CA or a path to directory which
contains the certificates. This also allows a dictionary mapping
hostname to the path to certificate file.
The certificates are used to verify server certifications.
.. versionadded:: 1.5
Project information
-------------------