Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSSL certificate verify failed #430
Comments
I'm missed this part of the instructions:
When OpenSSL prompts you for the Common Name for each certificate, use different names. |
It helps and raise new errors: AND it shows me again error - ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)) |
The verification is OK with MySQL client other than PyMySQL? It seems not a bug of PyMySQL, but generic SSL trouble. |
I also posted this on StackOverflow. I believe there is some version conflict issue related issue with using mysql-python. I managed to connect via peewee (using ssl) using the following Anaconda/Pip versions:
For completeness I connect to a Google Cloud Instance using SSL via:
Hope this helps anyone else that had the same error. The updated versions also seem to work with Python 3.5. I'm on Ubuntu 16.04. |
Hi! python 3.4.3, pymysql 0.6.7 and 0.7.1, mysql 5.5.23 and 5.5.4x
Can't connect to mysql with ssl option.
With mysql workbench and with mysql-client secure connection works fine.
I have tested it on two mysql servers on debian and windows
Here is code and explanations
make certs
user create
code
error