2 # -*- coding: utf-8 -*-
8 This module returns the preferred default CA certificate bundle.
10 If you are packaging Requests, e.g., for a Linux distribution or a managed
11 environment, you can change the definition of where() to return a separately
17 from certifi import where
20 """Return the preferred certificate bundle."""
21 # vendored bundle inside Requests
22 return os.path.join(os.path.dirname(__file__), 'cacert.pem')
24 if __name__ == '__main__':