Debian Codegraph @

mysql-test/suite/group_replication/r/gr_ssl_mode_verify_identity_error.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_IDENTITY;
12 include/start_and_bootstrap_group_replication.inc
13 Occurrences of 'Group communication SSL configuration: group_replication_ssl_mode: "VERIFY_IDENTITY"' in the input file: 1
14
15 ############################################################
16 # 2. Start the second member with GCS SSL enabled and
17 # validating server certificate against the CA plus
18 # validating that server hostname matches server
19 # certificate hostname, the member will not be able to
20 # join the group, since the certificate does contain the
21 # hostname 'localhost' and the hostname is '127.0.0.1'.
22 [connection server2]
23 SET @group_replication_ssl_mode_save= @@GLOBAL.group_replication_ssl_mode;
24 SET GLOBAL group_replication_ssl_mode= VERIFY_IDENTITY;
25 START GROUP_REPLICATION;
26 ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
27 include/assert_grep.inc [Check that Group Replication is running with SSL VERIFY_IDENTITY enabled]
28 include/assert_grep.inc [Check that Group Replication errors out when a certificate with a wrong hostname is provided]
29
30 ############################################################
31 # 3. Clean up.
32 [connection server1]
33 SET GLOBAL group_replication_ssl_mode= @group_replication_ssl_mode_save;
34 [connection server2]
35 SET GLOBAL group_replication_ssl_mode= @group_replication_ssl_mode_save;
36 include/group_replication_end.inc