Python from 2.7.9 and above now verifies the SSL certificate prior establishing the connection to server. This might cause problem in few servers which do not support certificate validation yet. In these circumstances the HTTPS connection requests fails due to new changes in python. For more information on the new changes please read more at : https://www.python.org/dev/peps/pep-0476/ . This link describes the ways to establish ssl connection without certificate verification. In my case i was not using the httplib modules API directly hence i had to find out a crude approach to disable the SSL certificate verification. I would not recommend the below change unless it is really required to do it as you might be opening a set of vulnerabilities as specified in this article . However the below sample code tells you how disable SSL certificate verification completely on your system. 1. Open Terminal 2. Open with sudo privileges the following file [...