Adding system certificate store support to in Poetry using Truststore package
The easiest way to install the truststore plugin is via the self add command of Poetry.
poetry self add poetry-plugin-truststoreIf you used pipx to install Poetry you can add the plugin via the pipx inject command.
pipx inject poetry poetry-plugin-truststoreOtherwise, if you used pip to install Poetry you can add the plugin packages via the pip install command.
pip install poetry-plugin-truststoreThe plugin basically runs truststore.inject_into_ssl() when you use poetry, making sure Truststore do its patching magic.
You can check if plugin is correctly installed by using almost any poetry command with -v flag, like:
poetry version -vAnd check if there is a message
Using system cert store via Truststore x.y.z