This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients ajithmsm555, christian.heimes
Date 2021-12-20.12:58:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640005115.44.0.136389503176.issue46136@roundup.psfhosted.org>
In-reply-to
Content
DH_KEY_TOO_SMALL means that you are using weak and easy to break keys for your connections. Recent versions of OpenSSL prevent insecure connections. You can lower the security setting for a context with:

>>> import ssl
>>> context = ssl.create_default_context()
>>> context.set_ciphers("DEFAULT@SECLEVEL=1")

You need to figure out yourself how to pass an insecure context to your database connector.
History
Date User Action Args
2021-12-20 12:58:35christian.heimessetrecipients: + christian.heimes, ajithmsm555
2021-12-20 12:58:35christian.heimessetmessageid: <1640005115.44.0.136389503176.issue46136@roundup.psfhosted.org>
2021-12-20 12:58:35christian.heimeslinkissue46136 messages
2021-12-20 12:58:35christian.heimescreate