{"library":"mscerts","title":"mscerts","description":"mscerts (version 2025.8.29) is a Python package designed to provide easy access to the Root Certificate Authorities present in the Microsoft Trusted Root Program. It functions as a fork of Kenneth Reitz's `certifi` project, offering Microsoft's collection of root certificates. The library typically sees annual updates to reflect changes in Microsoft's CA store.","language":"python","status":"active","last_verified":"Thu Apr 16","install":{"commands":["pip install mscerts"],"cli":null},"imports":["import mscerts","mscerts.where()"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import mscerts\n\n# Get the path to the Microsoft CA bundle file\nca_bundle_path = mscerts.where()\nprint(f\"Microsoft CA bundle located at: {ca_bundle_path}\")\n\n# Example of how you might use it with the requests library\n# (Note: requests often automatically finds system/certifi bundles)\n# import requests\n# try:\n#     response = requests.get('https://example.com', verify=ca_bundle_path)\n#     print(response.status_code)\n# except requests.exceptions.RequestException as e:\n#     print(f\"Request failed: {e}\")","lang":"python","description":"The primary use case for `mscerts` is to retrieve the file path to the Microsoft Root CA bundle, which can then be used by other libraries (like `requests`) for SSL/TLS verification. You can also get the path from the command line.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}