aboutsummaryrefslogtreecommitdiff
path: root/requests
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2015-10-08 13:41:42 -0700
committerChristopher Baines <mail@cbaines.net>2015-12-22 13:46:21 +0000
commitf295a4caa458daf5cfb57793af6183192851a90c (patch)
treeadc83e7a93573f6e5d9bc4c85c40a0803936c0bf /requests
parent1f19c06843e6d266368e3b570352bdf7d789a0de (diff)
downloadpython-requests-f295a4caa458daf5cfb57793af6183192851a90c.tar
python-requests-f295a4caa458daf5cfb57793af6183192851a90c.tar.gz
Use the bundle provided by ca-certificates instead of
the embedded one. Forwarded: not-needed Last-Update: 2014-10-08 Patch-Name: 01_use-system-ca-certificates.patch
Diffstat (limited to 'requests')
-rw-r--r--requests/certs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/requests/certs.py b/requests/certs.py
index 07e6475..e61ee5d 100644
--- a/requests/certs.py
+++ b/requests/certs.py
@@ -18,8 +18,8 @@ try:
except ImportError:
def where():
"""Return the preferred certificate bundle."""
- # vendored bundle inside Requests
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
+ # On Debian systems use ca-certificates
+ return '/etc/ssl/certs/ca-certificates.crt'
if __name__ == '__main__':
print(where())