I'm using requests to communicate with a django app but
When I try
requests.get('https://mysite.com', verify=True)
I get the error:
hostname 'mysite.com' doesn't match either of '*.myhost.com', 'myhost.com'
However, when I look at the browser, or http://www.digicert.com/help/ the certificate looks fine and dandy.
My host suggested it was the lack of SNI support from requests (and Github seems to confirm that https://github.com/kennethreitz/requests/issues/749 ). Has anyone found a work-around using requests?