Open chrisspen opened 11 years ago
I forked the mechanize repo and fixed the SSLv3 issue. It tries SSLv3 first, then falls back to SSLv23. See diff here: https://github.com/mikewebkist/mechanize/commit/5d41022b6eec58a6bdd7704841bdffe731871bd5
Thanks Mike.
Attempting to open a site configured with an SSL3 certificate (e.g. https://www1.pplweb.com/) results in the unhelpful error:
Researching this error finds few results, but in this bug report Senthil Kumaran suggests "The problem is the server strictly accepts SSLv3 only and urllib and http.client send SSLv23 protocol."
He also provides a workaround, in the form of a custom HTTPSHandler, but this only works for Python's urllib. I'm unsure how to replicate this for mechanize's browser object.
Does mechanize support SSL3? If so, how do you instruct mechanize to use PROTOCOL_SSLv3 for https connections?