# 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