/home/vicentiu/Workspace/MariaDB/server/client/mysql --defaults-file=/home/vicentiu/Workspace/MariaDB/server/mysql-test/var/my.cnf --ssl-key=/home/vicentiu/Workspace/MariaDB/server/mysql-test/std_data/client-key.pem --ssl-cert=/home/vicentiu/Workspace/MariaDB/server/mysql-test/std_data/client-cert.pem -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
Variable_name Value
Ssl_cipher DHE-RSA-AES256-GCM-SHA384
#
/home/vicentiu/Workspace/MariaDB/server/client/mysql --defaults-file=/home/vicentiu/Workspace/MariaDB/server/mysql-test/var/my.cnf --ssl -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
Variable_name Value
Ssl_cipher DHE-RSA-AES256-GCM-SHA384
#
/home/vicentiu/Workspace/MariaDB/server/client/mysql --defaults-file=/home/vicentiu/Workspace/MariaDB/server/mysql-test/var/my.cnf --ssl --ssl-verify-server-cert -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
ERROR 2026 (HY000): SSL connection error: Failed to verify the server certificate
#
/home/vicentiu/Workspace/MariaDB/server/client/mysql --defaults-file=/home/vicentiu/Workspace/MariaDB/server/mysql-test/var/my.cnf --ssl-key=/home/vicentiu/Workspace/MariaDB/server/mysql-test/std_data/client-key.pem --ssl-cert=/home/vicentiu/Workspace/MariaDB/server/mysql-test/std_data/client-cert.pem --ssl-verify-server-cert -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
ERROR 2026 (HY000): SSL connection error: Failed to verify the server certificate
/home/vicentiu/Workspace/MariaDB/server/client/mysql --defaults-file=/home/vicentiu/Workspace/MariaDB/server/mysql-test/var/my.cnf --ssl-key=/home/vicentiu/Workspace/MariaDB/server/mysql-test/std_data/client-key.pem --ssl-cert=/home/vicentiu/Workspace/MariaDB/server/mysql-test/std_data/client-cert.pem -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
Variable_name Value
Ssl_cipher
/home/vicentiu/Workspace/MariaDB/server/client/mysql --defaults-file=/home/vicentiu/Workspace/MariaDB/server/mysql-test/var/my.cnf --ssl-key=/home/vicentiu/Workspace/MariaDB/server/mysql-test/std_data/client-key.pem --ssl-cert=/home/vicentiu/Workspace/MariaDB/server/mysql-test/std_data/client-cert.pem --ssl_verify_server_cert -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
ERROR 2026 (HY000): SSL connection error: SSL is required, but the server does not support it
/home/vicentiu/Workspace/MariaDB/server/client/mysql --defaults-file=/home/vicentiu/Workspace/MariaDB/server/mysql-test/var/my.cnf --ssl_verify_server_cert -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1;
Variable_name Value
Ssl_cipher
/home/vicentiu/Workspace/MariaDB/server/client/mysql --defaults-file=/home/vicentiu/Workspace/MariaDB/server/mysql-test/var/my.cnf --ssl --ssl_verify_server_cert -e "SHOW STATUS LIKE 'ssl_Cipher'" 2>&1
ERROR 2026 (HY000): SSL connection error: SSL is required, but the server does not support it
@@ -5,17 +5,13 @@ 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;
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;
# SSL mandatory with verify server cert
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;
--echo$mysql_ssl_cert;
--exec$mysql_ssl_cert;
--echo$mysql_ssl_cert_ver;
--error1
--exec$mysql_ssl_cert_ver;
# SSL not mandatory again
let$mysql_no_ssl_but_ver=$MYSQL--ssl_verify_server_cert-e"SHOW STATUS LIKE 'ssl_Cipher'"2>&1;
--echo$mysql_no_ssl_but_ver;
--exec$mysql_no_ssl_but_ver;
# SSL mandatory but no specifications for ssl parameters
let$mysql_ssl_no_spec_ver=$MYSQL--ssl--ssl_verify_server_cert-e"SHOW STATUS LIKE 'ssl_Cipher'"2>&1;