diff options
author | Max Wittig <max.wittig@siemens.com> | 2020-02-26 10:24:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 10:24:49 +0100 |
commit | fbcc8204a7f69405ec9a9a32b1e26256c7831e10 (patch) | |
tree | 6405773be4901151a6451d95af706e2a7be78661 | |
parent | 3aa9873c8e5f38c85f7ac4dd11a21728e553399b (diff) | |
parent | b392c21c669ae545a6a7492044479a401c0bcfb3 (diff) | |
download | gitlab-fbcc8204a7f69405ec9a9a32b1e26256c7831e10.tar.gz |
Merge pull request #1032 from nejch/docs/requests-ca-bundle
docs: add reference to REQUESTS_CA_BUNDLE usage
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | docs/api-usage.rst | 16 |
2 files changed, 15 insertions, 3 deletions
@@ -31,7 +31,7 @@ Requirements python-gitlab depends on: -* `python-requests <http://docs.python-requests.org/en/latest/>`_ +* `python-requests <https://2.python-requests.org/en/latest/>`_ Install with pip ---------------- diff --git a/docs/api-usage.rst b/docs/api-usage.rst index e23cd1d..dac3997 100644 --- a/docs/api-usage.rst +++ b/docs/api-usage.rst @@ -307,7 +307,19 @@ python-gitlab: gl = gitlab.gitlab(url, token, api_version=4, session=session) Reference: -http://docs.python-requests.org/en/master/user/advanced/#proxies +https://2.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 ----------------------- @@ -324,7 +336,7 @@ The following sample illustrates how to use a client-side certificate: gl = gitlab.gitlab(url, token, api_version=4, session=session) Reference: -http://docs.python-requests.org/en/master/user/advanced/#client-side-certificates +https://2.python-requests.org/en/master/user/advanced/#client-side-certificates Rate limits ----------- |