| 1 |
# Want to skip this test from Valgrind execution |
| 2 |
--source include/no_valgrind_without_big.inc |
| 3 |
# Save the initial number of concurrent sessions |
| 4 |
--source include/count_sessions.inc |
| 5 |
|
| 6 |
let $ssl_verify_pass_path = --ssl --ssl-ca=$MYSQL_TEST_DIR/std_data/ca-cert-verify.pem --ssl-key=$MYSQL_TEST_DIR/std_data/server-key-verify-pass.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/server-cert-verify-pass.pem; |
| 7 |
|
| 8 |
--echo #T2: Host name (localhost) as common name in the server certificate, server certificate verification should pass. |
| 9 |
--let $restart_parameters="restart: $ssl_verify_pass_path" |
| 10 |
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR |
| 11 |
--source include/restart_mysqld.inc |
| 12 |
|
| 13 |
--replace_result TLSv1.2 TLS_VERSION TLSv1.3 TLS_VERSION |
| 14 |
--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'" |
| 15 |
|
| 16 |
--let $restart_parameters="restart: " |
| 17 |
--source include/restart_mysqld.inc |