@@ -40,22 +40,16 @@ To point vdirsyncer to a custom set of root CAs::
40
40
...
41
41
verify = "/path/to/cert.pem"
42
42
43
- Vdirsyncer uses the requests _ library, which, by default, `uses its own set of
44
- trusted CAs
45
- <http://www.python-requests.org/en/latest/user/advanced/#ca-certificates> `_.
46
-
47
- However, the actual behavior depends on how you have installed it. Many Linux
48
- distributions patch their ``python-requests `` package to use the system
49
- certificate CAs. Normally these two stores are similar enough for you to not
50
- care.
51
-
52
- But there are cases where certificate validation fails even though you can
53
- access the server fine through e.g. your browser. This usually indicates that
54
- your installation of the ``requests `` library is somehow broken. In such cases,
55
- it makes sense to explicitly set ``verify `` or ``verify_fingerprint `` as shown
56
- above.
57
-
58
- .. _requests : http://www.python-requests.org/
43
+ Vdirsyncer uses the aiohttp _ library, which uses the default `ssl.SSLContext
44
+ https://docs.python.org/3/library/ssl.html#ssl.SSLContext `_ by default.
45
+
46
+ There are cases where certificate validation fails even though you can access
47
+ the server fine through e.g. your browser. This usually indicates that your
48
+ installation of ``python `` or the ``aiohttp `` or library is somehow broken. In
49
+ such cases, it makes sense to explicitly set ``verify `` or
50
+ ``verify_fingerprint `` as shown above.
51
+
52
+ .. _aiohttp : https://docs.aiohttp.org/en/stable/index.html
59
53
60
54
.. _ssl-client-certs :
61
55
0 commit comments