PYTHON-5705 Improve fallback for PyOpenSSL windows system certs loading (#2688)
This commit is contained in:
parent
0441761872
commit
36676384bd
@ -357,7 +357,7 @@ class SSLContext:
|
||||
try:
|
||||
for storename in ("CA", "ROOT"):
|
||||
self._load_wincerts(storename)
|
||||
except PermissionError:
|
||||
except Exception:
|
||||
# Fall back to certifi
|
||||
self._load_certifi()
|
||||
elif _sys.platform == "darwin":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user