diff --git a/README.rst b/README.rst index 3802bcbc1..c00e0c68f 100644 --- a/README.rst +++ b/README.rst @@ -31,7 +31,7 @@ Requirements python-gitlab depends on: -* `python-requests `_ +* `python-requests `_ Install with pip ---------------- diff --git a/docs/api-usage.rst b/docs/api-usage.rst index e23cd1d77..dac3997f3 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 -----------