Commit 6f362fa6 authored by Benjamin Peterson's avatar Benjamin Peterson

actually ssl3 is just completely broken

parent 7ecfc82e
...@@ -263,13 +263,13 @@ purposes. ...@@ -263,13 +263,13 @@ purposes.
.. note:: .. note::
If you find that when certain older clients or servers attempt to connect If you find that when certain older clients or servers attempt to connect
with a :class:`SSLContext` created by this function that they get an with a :class:`SSLContext` created by this function that they get an error
error stating "Protocol or cipher suite mismatch", it may be that they stating "Protocol or cipher suite mismatch", it may be that they only
only support SSL3.0 which this function excludes using the support SSL3.0 which this function excludes using the
:data:`OP_NO_SSLv3`. SSL3.0 has problematic security due to a number of :data:`OP_NO_SSLv3`. SSL3.0 is widely considered to be `completely broken
poor implementations and it's reliance on MD5 within the protocol. If you <https://en.wikipedia.org/wiki/POODLE>`_. If you still wish to continue to
wish to continue to use this function but still allow SSL 3.0 connections use this function but still allow SSL 3.0 connections you can re-enable
you can re-enable them using:: them using::
ctx = ssl.create_default_context(Purpose.CLIENT_AUTH) ctx = ssl.create_default_context(Purpose.CLIENT_AUTH)
ctx.options &= ~ssl.OP_NO_SSLv3 ctx.options &= ~ssl.OP_NO_SSLv3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment