[issue46136] "dh low key " issue when try to connect mysql

2021-12-20 Thread Christian Heimes
Christian Heimes added the comment: 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_cont

[issue46136] "dh low key " issue when try to connect mysql

2021-12-19 Thread Ajith MsM
New submission from Ajith MsM : i have tried to connect my db using python 3.10. import module is mysql.connector. db has installed in AWS. while excuting pycharm able to connect the db to get the output. using CMD prompt in windows not able to execute facing error like "dh low key" error co