summarylogtreecommitdiffstats
path: root/certs.patch
blob: 69d27be85abfa41116789d62da71903971fb870f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- requests/certs.py.orig	2015-12-04 16:16:33.773055294 +0100
+++ requests/certs.py	2015-12-04 16:20:30.106729891 +0100
@@ -11,7 +11,6 @@
 environment, you can change the definition of where() to return a separately
 packaged CA bundle.
 """
-import os.path
 
 try:
     from certifi import where
@@ -19,7 +18,7 @@
     def where():
         """Return the preferred certificate bundle."""
         # vendored bundle inside Requests
-        return os.path.join(os.path.dirname(__file__), 'cacert.pem')
+        return "/etc/ssl/certs/ca-certificates.crt"
 
 if __name__ == '__main__':
     print(where())