Bug #83229 Use SSL option in MySQL Work Bench generates SSL Connection Error Unknow Error C
Submitted: 30 Sep 2016 19:54 Modified: 4 Oct 2016 19:43
Reporter: Sri BG Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3 OS:Microsoft Windows (7/8/10)
Assigned to: CPU Architecture:Any
Tags: SSL connection error, Use SSL

[30 Sep 2016 19:54] Sri BG
Description:
Changed "Use SSL" Setting to "Require" and tried to connect to the server. Then Error window pops up stating "SSL Connection Error Unknown Error Code"

Interestingly, If "Use SSL" is set to "No", then the connection is made successfully with message "SSL: enabled with DHE-RSA-xxxx"

How to repeat:

1. Configure MySQL server running on CentOS 6 to allow SSL based connections from remote clients. 

2. Then, Configure MySQL Work Bench to connect to the remote server using SSL by specifying under "SSL" tab the following files.

SSL CA File, SSL Cert File and SSL Key File received from the server. 

3. Change "Use SSL" Setting to "Require" or "If Available" and try to connect to the server by clicking "Test Connection" button. 

Error window pops up stating "SSL Connection Error Unknown Error Code"

Suggested fix:
Program error which requires a fix
[4 Oct 2016 19:42] Miguel Solorzano
ssl connection with Server on CentOS 7

Attachment: ssl_6_3_7.png (image/png, text), 229.81 KiB.

[4 Oct 2016 19:43] Miguel Solorzano
Thank you for the bug report. I couldn't repeat with WorkBench 6.3.7.