A replication user that requires an SSL connection must be created before the server joining the group (the joining member) connects to the donor. Typically, this is set up at the time you are provisioning a server to join the group. To create a replication user for distributed recovery that requires an SSL connection, issue these statements on all servers that are going to participate in the group:
mysql>SET SQL_LOG_BIN=0;
mysql>CREATE USER '
mysql>rec_ssl_user
'@'%' IDENTIFIED BY 'password
' REQUIRE SSL;GRANT replication slave ON *.* TO '
mysql>rec_ssl_user
'@'%';GRANT BACKUP_ADMIN ON *.* TO '
mysql>rec_ssl_user
'@'%';FLUSH PRIVILEGES;
mysql>SET SQL_LOG_BIN=1;