summaryrefslogtreecommitdiff
path: root/docs/api-usage.rst
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2020-02-25 23:15:33 +0100
committerNejc Habjan <hab.nejc@gmail.com>2020-02-25 23:15:33 +0100
commit37e8d5d2f0c07c797e347a7bc1441882fe118ecd (patch)
tree164974bf3451ced29722694c440e3155cb33f14d /docs/api-usage.rst
parent3aa9873c8e5f38c85f7ac4dd11a21728e553399b (diff)
downloadgitlab-37e8d5d2f0c07c797e347a7bc1441882fe118ecd.tar.gz
docs: add reference for REQUESTS_CA_BUNDLE
Diffstat (limited to 'docs/api-usage.rst')
-rw-r--r--docs/api-usage.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst
index e23cd1d..df8b27c 100644
--- a/docs/api-usage.rst
+++ b/docs/api-usage.rst
@@ -309,6 +309,18 @@ python-gitlab:
Reference:
http://docs.python-requests.org/en/master/user/advanced/#proxies
+SSL certificate verification
+----------------------------
+
+python-gitlab relies on the CA certificate bundle in the `certifi` package
+that comes with the requests library.
+
+If you need python-gitlab to use your system CA store instead, you can provide
+the path to the CA bundle in the `REQUESTS_CA_BUNDLE` environment variable.
+
+Reference:
+https://2.python-requests.org/en/master/user/advanced/#ssl-cert-verification
+
Client side certificate
-----------------------