diff --git a/requests/certs.py b/requests/certs.py index 07e6475..33db011 100644 --- a/requests/certs.py +++ b/requests/certs.py @@ -19,7 +19,7 @@ except ImportError: 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()) diff --git a/setup.py b/setup.py index e39d13b..3b86d3c 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ packages = [ 'requests.packages.urllib3.packages.ssl_match_hostname', ] -requires = ['certifi'] +requires = [] with open('README.rst', 'r', 'utf-8') as f: readme = f.read()