[Distutils] Problems with download redirection and secure certificate

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


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--
Resolving pypi.python.org...
Connecting to pypi.python.org||:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://pypi.python.org/packages/source/h/hexdump/hexdump-3.1.zip
--2015-01-07 06:04:22--
Connecting to pypi.python.org||: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