Skip to content

Commit 54c87ba

Browse files
authored
PYTHON-3015 Update v3.12 docs about cipher mismatch (#792)
1 parent 3875ea0 commit 54c87ba

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/examples/tls.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,18 +250,20 @@ revocation checking failed::
250250

251251
See :ref:`OCSP` for more details.
252252

253-
Python 3.10+ is incompatible with TLS/SSL on MongoDB <= 3.4
254-
...........................................................
253+
Python 3.10+ incompatibilities with TLS/SSL on MongoDB <= 4.0
254+
.............................................................
255255

256-
Note that Python 3.10+ is incompatible with TLS/SSL on MongoDB <= 3.4. The
257-
following are some example errors that may occur with this combination::
256+
Note that `changes made to the ssl module in Python 3.10+
257+
<https://docs.python.org/3/whatsnew/3.10.html#ssl>`_ may cause incompatibilities
258+
with MongoDB <= 4.0. The following are some example errors that may occur with this
259+
combination::
258260

259261
SSL handshake failed: localhost:27017: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997)
260262
SSL handshake failed: localhost:27017: EOF occurred in violation of protocol (_ssl.c:997)
261263

262-
The MongoDB server logs will show the following error::
264+
The MongoDB server logs may show the following error::
263265

264266
2021-06-30T21:22:44.917+0100 E NETWORK [conn16] SSL: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
265267

266-
To resolve this issue, use Python <=3.10, upgrade to MongoDB 3.6+, or install
268+
To resolve this issue, use Python <=3.10, upgrade to MongoDB 4.2+, or install
267269
pymongo with the :ref:`OCSP` extra which relies on PyOpenSSL.

0 commit comments

Comments
 (0)