Skip to content

Add support for using ADDITIONAL_CA_CERT_BUNDLE with PIP_CERT

Igor Frenkel requested to merge 214743-add-pip-cert into master

What does this MR do?

This MR adds support for using ADDITIONAL_CA_CERT_BUNDLE. This variable allows pip and pipenv to use pypi registries that have self-signed certificates. Both pip and pipenv already use PIP_CERT which allows users to supply a path to the certificate file on disk. This MR prefers PIP_CERT if both variables are set.

The integration tests for this change are:

Please note that all the tests are in one pipeline to make it easier to compare the jobs in .gitlab-ci.yml.

What are the relevant issue numbers?

gitlab-org/gitlab#214743 (closed)

Does this MR meet the acceptance criteria?

Edited by 🤖 GitLab Bot 🤖

Merge request reports