presto-admin icon indicating copy to clipboard operation
presto-admin copied to clipboard

Online installer fails when wget version is too old

Open cawallin opened this issue 9 years ago • 1 comments

When the wget version is equal to wget-1.12-2.fc13 (and perhaps other versions), the online installer fails with the following message: [root@cwallin-vagrant-master opt]# ./prestoadmin/install-prestoadmin.sh --2015-07-20 14:05:04-- https://pypi.python.org/packages/source/v/virtualenv/virtualenv-12.0.7.tar.gz Resolving pypi.python.org... 23.235.40.223 Connecting to pypi.python.org|23.235.40.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 a known issue: https://mail.python.org/pipermail/distutils-sig/2015-January/025614.html

We don't want to add --no-check-certificate to the wget in the online installer every time, though that does fix the issue. This error is found on CentOS 6.5.

cawallin avatar Jul 20 '15 21:07 cawallin

The first version that has SNI is 1.14: http://stackoverflow.com/questions/17539229/does-buildout-easy-install-setup-tools-verify-ssl-certificates

cawallin avatar Nov 21 '16 22:11 cawallin