Debian Codegraph @

mysql-test/suite/group_replication/r/gr_ssl_mode_tls_source_incompatible_certificates.result

raw
1 include/group_replication.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection server1]
6
7 ############################################################
8 # 1. Start one member with GCS SSL enabled.
9 [connection server1]
10 SET @group_replication_ssl_mode_save= @@GLOBAL.group_replication_ssl_mode;
11 SET GLOBAL group_replication_ssl_mode= VERIFY_CA;
12 include/start_and_bootstrap_group_replication.inc
13 Occurrences of 'Group communication SSL configuration: group_replication_ssl_mode: "VERIFY_CA"' in the input file: 1
14
15 ############################################################
16 # 2. Start the second member with GCS SSL enabled.
17 # Since it uses incompatible certificates it should not
18 # be able to join the group.
19 [connection server2]
20 SET @group_replication_ssl_mode_save= @@GLOBAL.group_replication_ssl_mode;
21 SET GLOBAL group_replication_ssl_mode= VERIFY_CA;
22 START GROUP_REPLICATION;
23 ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
24 include/assert_grep.inc [Check that group replication errors while connecting using SSL.]
25 Occurrences of 'Group communication SSL configuration: group_replication_ssl_mode: "VERIFY_CA"' in the input file: 1
26 [connection server1]
27 include/stop_group_replication.inc
28
29 ############################################################
30 # 3. Clean up.
31 [connection server1]
32 SET GLOBAL group_replication_ssl_mode= @group_replication_ssl_mode_save;
33 [connection server2]
34 SET GLOBAL group_replication_ssl_mode= @group_replication_ssl_mode_save;
35 include/group_replication_end.inc