I just enabled https on one of my sites, and it works fine when I access it on my browser at https://mysite.com. However, I want another of my sites, http://app.mysite.com, to be able to make GET and POST requests to https://mysite.com. When I tried just switching the URL in http://app.mysite.com to point to the new https://mysite.com, I get this error for any type of request I want to make: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) I had this error when I tried to run app.mysite.com locally, but fixed it by upgrading my version of python to python2.7.9. However, I can't fix the error on the webfaction servers. The version of python currently in use there is python2.7.11, which I think is sufficient. Does anyone know what's going on? asked 02 Mar '16, 05:56 packd |
This is not a problem with the the Python version. It's a problem with the version of the 'requests' library that you're using. You should be able to resolve it by upgrading your requests library to the latest version (2.9.1). Hope that helps! answered 02 Mar '16, 17:20 seanf |