config root man

Current Path : /usr/opt/mysql57/mysql-test/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/opt/mysql57/mysql-test/t/ssl_cipher.test

--source include/not_embedded.inc

# 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 #

-- source include/have_ssl.inc

# 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 --ssl-cipher=DHE-RSA-AES256-SHA


--echo # must fail since the default SSL cipher is not compatible
--error 1
--exec $MYSQL --host=localhost  --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

Man Man