13 lines
379 B
Diff
13 lines
379 B
Diff
--- requests-1.2.0/requests/certs.py
|
|
+++ requests-1.2.0/requests/certs.py
|
|
@@ -17,6 +17,10 @@
|
|
|
|
def where():
|
|
"""Return the preferred certificate bundle."""
|
|
+ cacerts = '/etc/ssl/certs/ca-certificates.crt'
|
|
+ if os.path.exists(cacerts):
|
|
+ return cacerts
|
|
+
|
|
# vendored bundle inside Requests
|
|
return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
|
|