You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
911 B
22 lines
911 B
|
|
# Turn on ssl between the client and server
|
|
# and run a number of tests
|
|
|
|
--echo #
|
|
--echo # BUG#11760210 - SSL_CIPHER_LIST NOT SET OR RETURNED FOR "SHOW STATUS LIKE 'SSL_CIPHER_LIST'"
|
|
--echo #
|
|
|
|
|
|
# Save the initial number of concurrent sessions
|
|
--source include/count_sessions.inc
|
|
|
|
--echo # must return DHE-RSA-AES256-SHA
|
|
# need to use mysql since mysqltest doesn't support --ssl-cipher
|
|
--exec $MYSQL --host=localhost -e "SHOW STATUS LIKE 'Ssl_cipher'; SHOW STATUS LIKE 'Ssl_cipher_list'" --ssl-mode=REQUIRED --tls-version=TLSv1.2 --ssl-cipher=DHE-RSA-AES256-SHA
|
|
|
|
--echo # must fail since the default SSL cipher is not compatible
|
|
--error 1
|
|
--exec $MYSQL --host=localhost --tls-version=TLSv1.2 --ssl-cipher=AES128-RMD:DES-CBC3-RMD -e "SHOW STATUS LIKE 'Ssl_cipher'; SHOW STATUS LIKE 'Ssl_cipher_list'" --ssl-mode=REQUIRED
|
|
|
|
# Wait till all disconnects are completed
|
|
--source include/wait_until_count_sessions.inc
|
|
|