Bug #39301 GUI Tools ignore SSL-CIPHER
Submitted: 8 Sep 2008 8:25 Modified: 20 Oct 2009 6:26
Reporter: Yuri   Email Updates:
Status: Won't fix Impact on me:
Category:MySQL GUI Common Severity:S3 (Non-critical)
Version:5.0-r12 OS:Any
Assigned to: CPU Architecture:Any
Tags: Cipher, GUI, SSL
Triage: D3 (Medium)

[8 Sep 2008 8:25] Yuri  
GUI is unusable when there is a limitation on cipher to use.

How to repeat:
Configure MySQL Server with SSL support appropriately (this involves creation of X509 certificates)

CREATE USER ''@'localhost';

At this point MySQL client should be able successfully connect to MySQL server:

mysql --protocol=tcp --user= --ssl-ca=C:\cacert.pem --ssl-cert=C:\client-cert.pem --ssl-key=C:\client-key.pem --ssl-cipher=EDH-RSA-DES-CBC3-SHA

MySQL GUI Tools connection settings are stored in file %AppData%\MySQL\mysqlx_user_connections.xml
which needs to be updated manually (cf. Bug #31547):
<?xml version="1.0"?>

Now any attempt to establish secure connection using MySQL Administator or Query Browser will fail. Error log of MySQL server will contain the explanation:

[Note] X509 ciphers mismatch: should be 'EDH-RSA-DES-CBC3-SHA' but is 'DHE-RSA-AES256-SHA'
[8 Sep 2008 8:26] Yuri  
Sample certificates

Attachment: files.zip (application/x-zip-compressed, text), 6.23 KiB.

[10 Sep 2008 16:23] Miguel Solorzano
Thank you for the bug report.
[25 Feb 2009 12:31] Mike Lischke
Just a hint: the SSL options can be set on the Advanced Options tab in the connections editor. So you don't *have* to go directly to the metal (read: xml file).
[20 Oct 2009 6:26] Susanne Ebrecht
Many thanks for writing a bug report. We are on the way to implement full functionality of
MySQL GUI tools into MySQL Workbench. We won't fix this anymore.

More informations about MySQL Workbench you will find here: