Certifi-linux is a Python library (version 1.1.0) that enhances the `certifi` package by redirecting its certificate authority (CA) bundle resolution to the Linux system trust store instead of using `certifi`'s bundled certificates. This is particularly useful in enterprise Linux environments where system-wide certificate management is preferred. The library achieves this by monkey-patching `certifi.where()` and `certifi.contents()`. It is active and stable, with releases tied to underlying `certifi` and system trust store updates.
pip install certifi-linuxVerified import paths — ran on the pinned version, not inferred.
After installation, `certifi-linux` automatically patches the `certifi` module. You can verify the patch by checking `certifi.where()`, which should now return the path to your system's CA trust store, and by making a simple HTTPS request using a library like `requests` that relies on `certifi`.
Ensure deployment is on a compatible Linux distribution or use platform-specific alternatives.
Verify compatibility with other libraries that might interact with `certifi`. If unexpected behavior occurs, inspect the order of imports and any other patching mechanisms.
Ensure `pip install certifi` is run if `certifi` is not already installed as a dependency of another package (e.g., `requests`).
Test thoroughly on your target Linux distribution or check the GitHub repository for updated compatibility lists.