(Migrated) Download error for https://launchpad.net SSL3_GET_SERVER_CERTIFICATE

(This message has been automatically imported from the retired mailing list)


there’s an ongoing issue with pip/launchpad.net which affects source
installation as well building one’s own packages.

It will result in a message as below:

Getting distribution for ‘inotifyx==0.2.0’.
Installing console_scripts.
Getting distribution for ‘inotifyx==0.2.0’.
Error: Download error for
[Errno 1] _ssl.c:504: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

To deal with it - please use the gist below to override pip’s
certificates to the ones curl uses:

The commands shown are for RHEL/CentOS but the same thing needs to be
done for a OS user used to build packages under Ubuntu/Debian as well.