Skip to content

Conversation

@MatthiasKunnen
Copy link

@MatthiasKunnen MatthiasKunnen commented Nov 15, 2025

This PR adds support for requiring a secure connection and man-in-the-middle protection in the form of the DBMATE_MYSQL_SSL_MODE and DBMATE_MYSQL_CA_PATH parameter.

This PR will also fix tests failing on the main branch due to certificate verification problems.

Important caveat, the CLI parameter --ssl-mode used for mysqldump is not present in mariadb dump. If there is a way to detect whether mariadb-dump is used, I could change the parameters accordingly but there does not seem to be a distinction at the moment. Suggestions welcome.

I'll refrain from further work until there is some feedback on the approach and whether there is interest in this change.

Todo:

  • Decide how to handle mariadb dump compatibility
  • Add documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant