mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-22668: "Flush SSL" command doesn't reload wsrep cert
Trigger `socket.ssl_reload` when FLUSH SSL is issued. To triger reloading of certificate, key and CA, files needs to be physically changed. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
This commit is contained in:
@ -416,6 +416,14 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
|
||||
{
|
||||
if (reinit_ssl())
|
||||
result= 1;
|
||||
#ifdef WITH_WSREP
|
||||
if (!result &&
|
||||
WSREP_ON && wsrep_reload_ssl())
|
||||
{
|
||||
my_message(ER_UNKNOWN_ERROR, "Failed to refresh WSREP SSL.", MYF(0));
|
||||
result= 1;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
if (options & REFRESH_GENERIC)
|
||||
{
|
||||
|
Reference in New Issue
Block a user