[CONC-50] Oracle and MariaDB API's differ in behaviour when establishing an SSL connection for a user with "REQURE SSL" Created: 2013-09-16 Updated: 2013-09-17 Resolved: 2013-09-16 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sudhindra Bhat | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows build , MariaDB client library revision 84. |
||
| Description |
|
mysql_ssl_set(mysql, NULL,NULL,NULL, NULL, NULL); The above mentioned code successfully establishes MySql connection for a user with "REQUIRE SSL" using MariaDB API where as Oracle API returns error 2026 if the ca field is NULL or if the ca-certificate is invalid as mentioned in the code above. I have found the following bug report in MySql bug database: Could you clarify the discussion that followed in the above bug report,if it is a bug or not? |
| Comments |
| Comment by Georg Richter [ 2013-09-16 ] |
|
Fixed in rev. 85 |
| Comment by Sudhindra Bhat [ 2013-09-17 ] |
|
The issue is not completely fixed. mysql_ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) 1. For the parameter "ca" , even if we pass server-certificate or the client-certificate, the connection will be successful where as Oracle API returns an error if we do not pass a valid ca-certificate. |