diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2022-07-11 14:46:00 +0200 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2022-07-11 14:46:00 +0200 |
commit | 90e79af18a1115b389d13f143e9d36984b2e02a3 (patch) | |
tree | 42d304d2f8e644762419db94eae33b25cc38941f | |
parent | 5ceb48bbcd842962f8b8d206fddbce1dcfe7c069 (diff) | |
download | slixmpp-90e79af18a1115b389d13f143e9d36984b2e02a3.tar.gz slixmpp-90e79af18a1115b389d13f143e9d36984b2e02a3.tar.bz2 slixmpp-90e79af18a1115b389d13f143e9d36984b2e02a3.tar.xz slixmpp-90e79af18a1115b389d13f143e9d36984b2e02a3.zip |
xmlstream: load default CA store by default
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 18143f87..426d5472 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -800,6 +800,8 @@ class XMLStream(asyncio.BaseProtocol): self.ssl_context.verify_mode = ssl.CERT_REQUIRED self.ssl_context.load_verify_locations(cafile=ca_cert) + else: + self.ssl_context.set_default_verify_paths() return self.ssl_context |