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

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

Hello,

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’.
While:
Installing console_scripts.
Getting distribution for ‘inotifyx==0.2.0’.
Error: Download error for
https://launchpad.net/inotifyx/dev/v0.2.0/+download/inotifyx-0.2.0.tar.gz:
[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.