Fix backend SSL tests
Due to incorrect SSL certs copying to backend and wrong setting in maxscale.cnf it was not possible to active backend SSL. Additionally, one more maxscale restart added to 'sql_queries' test to reproduce SSL bug in 2.4.1. Also ssl.cnf tuned in order to reproduce SSL bug
This commit is contained in:
@ -3,6 +3,9 @@
|
||||
echo "DROP USER '$node_user'@'%'" | sudo mysql $1
|
||||
echo "grant all privileges on *.* to '$node_user'@'%' identified by '$node_password' require ssl WITH GRANT OPTION"
|
||||
echo "grant all privileges on *.* to '$node_user'@'%' identified by '$node_password' require ssl WITH GRANT OPTION" | sudo mysql $1
|
||||
echo "drop user '$node_user'@'localhost'" | sudo mysql $1
|
||||
|
||||
echo "grant all privileges on *.* to 'maxskysql'@'%' identified by 'skysql' require ssl WITH GRANT OPTION" | sudo mysql $1
|
||||
echo "grant all privileges on *.* to 'maxuser'@'%' identified by 'maxpwd' require ssl WITH GRANT OPTION" | sudo mysql $1
|
||||
echo "grant all privileges on *.* to 'maxskysql'@'localhost' identified by 'skysql' require ssl WITH GRANT OPTION" | sudo mysql $1
|
||||
echo "grant all privileges on *.* to 'maxuser'@'localhost' identified by 'maxpwd' require ssl WITH GRANT OPTION" | sudo mysql $1
|
||||
|
||||
Reference in New Issue
Block a user