[Distutils] Problems with download redirection and secure certificate

anatoly techtonik techtonik at gmail.com
Wed Jan 7 15:38:03 CET 2015


Hi,

I can't download package from PyPI due to redirection to HTTPS and
failed certificate check.

# wget http://pypi.python.org/packages/source/h/hexdump/hexdump-3.1.zip
--2015-01-07 06:04:22--
http://pypi.python.org/packages/source/h/hexdump/hexdump-3.1.zip
Resolving pypi.python.org... 199.27.79.223
Connecting to pypi.python.org|199.27.79.223|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://pypi.python.org/packages/source/h/hexdump/hexdump-3.1.zip
[following]
--2015-01-07 06:04:22--
https://pypi.python.org/packages/source/h/hexdump/hexdump-3.1.zip
Connecting to pypi.python.org|199.27.79.223|:443... connected.
ERROR: certificate common name `www.python.org' doesn't match
requested host name `pypi.python.org'.
To connect to pypi.python.org insecurely, use `--no-check-certificate'.


This is from Debian Squeeze.
-- 
anatoly t.


More information about the Distutils-SIG mailing list