Until this bug is fixed I thought this hack might be helpful for
affected Python users.  Not sure what problems this creates but this
allowed my scripts to work again.  Might be good until a proper fix is
implemented.

I changed /usr/lib/python2.6/httplib.py as follows:

1116c1116
<             self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
---
>             self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, 
> ssl_version=ssl.PROTOCOL_TLSv1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/965371

Title:
  HTTPS requests fail on some sites on Ubuntu 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssl/+bug/965371/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to