diff --git a/pip/_vendor/requests/certs.py b/pip/_vendor/requests/certs.py index f922b99..2c9d347 100644 --- a/pip/_vendor/requests/certs.py +++ b/pip/_vendor/requests/certs.py @@ -14,12 +14,13 @@ packaged CA bundle. import os.path try: + raise ImportError # force fallback from certifi import where except ImportError: def where(): """Return the preferred certificate bundle.""" - # vendored bundle inside Requests - return os.path.join(os.path.dirname(__file__), 'cacert.pem') + # system CA certs + return '/etc/pki/tls/certs/ca-bundle.crt' if __name__ == '__main__': print(where())