[CONC-204] Unable to establish an SSL connection to MySQL 5.6 Created: 2016-09-28 Updated: 2016-09-28 |
|
| Status: | Open |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 2.3.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Adrian Matlack | Assignee: | Georg Richter |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows 10 |
||
| Attachments: |
|
| Description |
|
I am not able to establish an SSL connection to MySQL 5.6.30. Below is some very simple code I've used to test with:
When I link this test program against libmysql.dll from MySQL 5.6.30 the value DHE-RSA-AES256-SHA is returned by mysql_get_ssl_cipher. With libmariadb 2.3.1 it returns an empty string. I get the same behavior when I also specify the ca, client-cert, and client-key paths in mysql_ssl_set. The certificates used by the MySQL server are self-signed and created with OpenSSL. The openssl verify -CAfile command indicates that both the server and client cert are 'OK'. I created the certs specifically for the purpose of this test, they are attached to the ticket. |