mirror of
https://github.com/MariaDB/server.git
synced 2025-02-15 09:55:33 +01:00
![Sergei Golubchik](/assets/img/avatar_default.png)
enable ssl + ssl_verify_server_cert in the internal client too * fix replication tests to disable master_ssl_verify_server_cert because accounts are passwordless - except rpl.rpl_ssl1 * fix federated/federatedx/connect to disable SSL_VERIFY_SERVER_CERT because they cannot configure an ssl connection * fix spider to disable ssl_verify_server_cert, if configuration says so, as spider _can_ configure an ssl connection * memory leak in embedded test-connect
31 lines
725 B
Text
31 lines
725 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
|
|
*** Heartbeat over SSL ***
|
|
connection master;
|
|
connection slave;
|
|
include/stop_slave.inc
|
|
RESET SLAVE;
|
|
CHANGE MASTER TO
|
|
MASTER_HOST='127.0.0.1',
|
|
MASTER_PORT=MASTER_PORT,
|
|
MASTER_USER='root',
|
|
MASTER_HEARTBEAT_PERIOD=0.1,
|
|
MASTER_LOG_FILE='MASTER_BINLOG',
|
|
MASTER_SSL=1,
|
|
MASTER_SSL_CA='MYSQL_TEST_DIR/std_data/cacert.pem',
|
|
MASTER_SSL_CERT='MYSQL_TEST_DIR/std_data/client-cert.pem',
|
|
MASTER_SSL_KEY='MYSQL_TEST_DIR/std_data/client-key.pem',
|
|
MASTER_USE_GTID=NO;
|
|
include/start_slave.inc
|
|
Master_SSL_Allowed: Yes
|
|
Heartbeat event has received
|
|
|
|
*** Clean up ***
|
|
include/stop_slave.inc
|
|
CHANGE MASTER TO
|
|
MASTER_SSL=1,
|
|
MASTER_SSL_CA='',
|
|
MASTER_SSL_CERT='',
|
|
MASTER_SSL_KEY='';
|
|
include/rpl_end.inc
|