Page 1 of 1

Ssl certificate on Mono

Posted: Wed 21 Jul 2010 16:15
by koruptid
I have been using dotConnect MySql for quite a while and it has worked fabulously on Win32/.NET, however I have run into a bit of an issue on Linux/Mono. I have managed to get the licensing issues resolved with the code and am now stuck at runtime, on Win32/.NET when using an Ssl connection the software does not look for a client certificate but instead simply operates on its own without one. On Mono in Linux the software throws an exception "SSL conenction error (2026): The certificate message is invalid."

Please help!

Posted: Thu 22 Jul 2010 16:19
by StanislavK
Thank you for your report, we've reproduced the issue. We will investigate it and inform you about the results.

Posted: Wed 28 Jul 2010 22:49
by koruptid
Is there any news on the status of this bug?

Posted: Thu 29 Jul 2010 16:30
by StanislavK
Our investigation is in progress, we will inform you when it is completed.

Posted: Mon 23 Aug 2010 15:56
by koruptid
It has been nearly a month... This is preventing us from being able to update an important piece of software to work under Linux. What is the status of this?

Posted: Thu 26 Aug 2010 15:55
by StanislavK
We are still working on the issue, we will inform you about the results as soon as possible.

Posted: Tue 31 Aug 2010 08:28
by StanislavK
The problem is that the SSL support in dotConnect for MySQL highly relies on CryptoAPI, which may be unavailable in some Linux systems. Provided that the particular system under which your Mono application is run includes CryptoAPI, the SSL connections should work properly.

Posted: Wed 01 Sep 2010 13:48
by koruptid
The machine that this code is running on is a stock install of Ubuntu 10.04 Server x64. Mono version is 2.6 r160582.

What was this tested against by DevArt?

Posted: Fri 03 Sep 2010 13:23
by StanislavK
The problem is not caused by the distribution version itself, but rather by the packages (not) installed in it. Please check that the CryptoAPI package is installed in your system. Linux CryptoAPI is available, e.g., at
http://www.kernel.org/pub/linux/kernel/crypto/

Please tell us if the problem persists after installing this package.