WebFaction
Community site: login faq

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
155
accept rate: 0%


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!

permanent link

answered 02 Mar '16, 17:20

seanf
12.2k21736
accept rate: 37%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×92
×71
×52
×27
×8

question asked: 02 Mar '16, 05:56

question was seen: 1,791 times

last updated: 02 Mar '16, 17:20

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM