mirror of
https://github.com/MariaDB/server.git
synced 2025-07-20 18:28:14 +02:00

This is the same as MDEV-35368, which was previously incompletely fixed (on *nix-only, for unix socket connections) This time, we fix it compatibly to Connector/C, by not verifying server certificate for local connections, which, in addition to socket and named pipe, are also "127.0.0.1" and "::1", and on Windows "localhost" as well. The corresponding code in Connector/C is was added by 1287c901dc8515823d28edcebfe4be65e6c5a6b3. It remain a good question whether mariabackup should use SSL at all since all it does are local connections, for "BACKUP STAGE" stuff.
22 lines
606 B
Text
22 lines
606 B
Text
GRANT ALL PRIVILEGES on *.* TO backup_user IDENTIFIED by 'x' REQUIRE SSL;
|
|
FLUSH PRIVILEGES;
|
|
# xtrabackup backup
|
|
# xtrabackup prepare
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart
|
|
DROP USER backup_user;
|
|
#
|
|
# MDEV-31855 validate ssl certificates using client password in the internal client
|
|
#
|
|
# tcp ssl ssl-verify-server-cert
|
|
#
|
|
# MDEV-32473 --disable-ssl doesn't disable it
|
|
#
|
|
# tcp skip-ssl
|
|
#
|
|
# MDEV-37143 Mariadb-backup fails on Windows with SSL certificate is self-signed error
|
|
#
|
|
# do not fail with passwordless with default protocol
|
|
# do not fail with passwordless with 127.0.0.1 TCP
|