You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/transport.rst
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,9 @@ If you need to verficate the SSL connection (in case you have a self signed cert
24
24
Make sure that the certificate you refer to is a CA_BUNDLE, meaning it contains a root CA and an intermediate CA.
25
25
Accepted are only X.509 ASCII files (file extension ``.pem``, sometimes ``crt``). If you have two different files, you must combine them manually into one.
26
26
27
-
To **disable SSL verification** (not recommended!) you will need to set the ``verify`` attribute of the :class:`requests.Session` to ``False``.
27
+
Alternatively, instead of using ``session.verify`` you can use ``session.cert`` if you just want to use an SSL client certificate.
28
+
29
+
To **disable SSL verification** (not recommended!) you will need to set ``verify`` to ``False``.
28
30
29
31
.. code-block:: python
30
32
@@ -33,6 +35,8 @@ To **disable SSL verification** (not recommended!) you will need to set the ``ve
33
35
34
36
Remember: this should be only done for testing purposes. Python's ``urllib3`` will warn you with a InsecureRequestWarning.
35
37
38
+
See :class:`requests.Session` for further details.
0 commit comments