Python/pip behind corporate firewall
suntong001 at gmail.com
Wed Mar 10 21:05:24 UTC 2021
Our corporate firewall, Zscaler, is blocking my `pip install`.
Anyone has a similar situation?
I've already installed pipsi & py37-certifi:
sudo port -N install pipsi py37-certifi
$ python -m certifi
and I've also update the Zscaler certificate into this CA Store,
cat ZscalerRootCertificate-2048-SHA256.crt >> $(python -m certifi)
as per https://community.zscaler.com/t/installing-tls-ssl-root-certificates-to-non-standard-environments/7261
but still, I can't pip install anything. For e.g.:
$ sudo -H pip3 install --upgrade certifi
WARNING: Retrying (Retry(total=4, connect=None, read=None,
redirect=None, status=None)) after connection broken by
CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get
local issuer certificate (_ssl.c:1123)'))': /simple/certifi/
Any Python users here?
More information about the macports-users