2015-12-04 16:25:17 +01:00
|
|
|
--- 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
|
2013-02-06 22:22:17 +01:00
|
|
|
packaged CA bundle.
|
|
|
|
"""
|
|
|
|
-import os.path
|
|
|
|
|
2015-12-04 16:25:17 +01:00
|
|
|
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"
|
2013-02-06 22:22:17 +01:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
print(where())
|