#70 Add support for ssl-verify-server-cert

MySQLdb
open
Andy Dustman
MySQLdb (53)
5
2012-09-19
2011-11-19
Wim Lewis
No

By default, MySQL doesn't verify the server certificate to ensure that it is talking to the server it tried to connect to. (Which defeats half the purpose of SSL.) This patch adds the ability to turn that MySQL option on. It's a patch against the distributed version MySQL-python-1.2.3. If the verify-server-cert option is not given to the MySQLdb constructor, then it will leave the option in its default state.

Discussion

  • Wim Lewis
    Wim Lewis
    2011-11-19

    Patch to allow server verification