Ssl certificate on Mono

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
koruptid
Posts: 4
Joined: Wed 21 Jul 2010 16:08
Contact:

Ssl certificate on Mono

Post by koruptid » Wed 21 Jul 2010 16:15

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!

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 22 Jul 2010 16:19

Thank you for your report, we've reproduced the issue. We will investigate it and inform you about the results.

koruptid
Posts: 4
Joined: Wed 21 Jul 2010 16:08
Contact:

Post by koruptid » Wed 28 Jul 2010 22:49

Is there any news on the status of this bug?

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 29 Jul 2010 16:30

Our investigation is in progress, we will inform you when it is completed.

koruptid
Posts: 4
Joined: Wed 21 Jul 2010 16:08
Contact:

Post by koruptid » Mon 23 Aug 2010 15:56

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?

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 26 Aug 2010 15:55

We are still working on the issue, we will inform you about the results as soon as possible.

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Tue 31 Aug 2010 08:28

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.

koruptid
Posts: 4
Joined: Wed 21 Jul 2010 16:08
Contact:

Post by koruptid » Wed 01 Sep 2010 13:48

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?

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Fri 03 Sep 2010 13:23

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.

Post Reply