I\'m using a proxy (behind corporate firewall), to login to an https domain. The SSL handshake doesn\'t seem to be going well:
CertificateError: hostname \'ats.f
You can avoid this error by monkey patching ssl:
import ssl ssl.match_hostname = lambda cert, hostname: True