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.
Log in to post a comment.