Add Config Setting to turn off ssl for database backups #18155
Unanswered
LinneaHarts
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After upgrading a server's Debian we found that the
mariadbCLI now uses TLS by default. We don't use TLS connections to our databases, relying on other encryption, and found that the default mysqldump command tries to use TLS. Changing these settings https://github.com/craftcms/cms/pull/12612/files to prevent the database from attempting to find a certificate didn't work. Instead I am overriding thebackupCommandin config/general.php to have the--ssl=0flag.However, this seems fragile, since if Craft changes other aspects of the default mysqldump command in future upgrades, I'll have to change them in the
backupCommandoverride.My request is to add a config setting that just sets
--ssl-0for the backup command.Beta Was this translation helpful? Give feedback.
All reactions