mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
17 lines
755 B
Text
17 lines
755 B
Text
source include/have_ssl_communication.inc;
|
|
|
|
let $mysql_ssl_cert=$MYSQL --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
|
|
let $mysql_ssl_no_cert=$MYSQL --ssl -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
|
|
let $mysql_ssl_no_cert_ver=$MYSQL --ssl --ssl-verify-server-cert -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
|
|
let $mysql_ssl_cert_ver=$MYSQL --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem --ssl-verify-server-cert -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
|
|
|
|
--exec $mysql_ssl_cert;
|
|
--echo #
|
|
--exec $mysql_ssl_no_cert;
|
|
--echo #
|
|
--error 1
|
|
--exec $mysql_ssl_no_cert_ver;
|
|
--echo #
|
|
--error 1
|
|
--exec $mysql_ssl_cert_ver;
|
|
|