File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mysql-test/suite/auth_sec/t Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ if ($openssl == 'Rsa_public_key'){
25
25
--source include/wait_until_connected_again.inc
26
26
27
27
--error 1
28
- --exec $MYSQL --protocol=tcp --ssl-verify-server-cert -e "SHOW STATUS like 'Ssl_version'"
28
+ --exec $MYSQL --protocol=tcp --ssl-ca=$MYSQL_TEST_DIR/std_data/ca-cert- verify.pem --ssl-mode=VERIFY_IDENTITY -e "SHOW STATUS like 'Ssl_version'"
29
29
30
30
--echo #T2: Host name (localhost) as common name in the server certificate, server certificate verification should pass.
31
31
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
@@ -37,7 +37,7 @@ if ($openssl == 'Rsa_public_key'){
37
37
--source include/wait_until_connected_again.inc
38
38
39
39
--replace_result $tls_default TLS_VERSION
40
- --exec $MYSQL --protocol=tcp --ssl-verify-server-cert -e "SHOW STATUS like 'Ssl_version'"
40
+ --exec $MYSQL --protocol=tcp --ssl-ca=$MYSQL_TEST_DIR/std_data/ca-cert- verify.pem --ssl-mode=VERIFY_IDENTITY -e "SHOW STATUS like 'Ssl_version'"
41
41
42
42
--echo # restart server using restart
43
43
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
You can’t perform that action at this time.
0 commit comments