SSL Connection MySQLDirect 4.00

SSL Connection MySQLDirect 4.00

Postby Schweinigel » Wed 05 Mar 2008 22:48

Hi,

i have a problem, establishing an ssl-connection.

I assigned the three PEM-files and added "Protocol=SSL" to the connection string but if i want to connect, an exception is thrown, that the PEM header is invalid.

This is the inner exception string:

bei CoreLab.Security.v.a(Byte[] A_0, String& A_1, Byte[]& A_2)
bei CoreLab.Security.v.a(Byte[] A_0)
bei CoreLab.Security.v.b(String A_0)
bei CoreLab.Security.ab.f(String A_0)
bei CoreLab.MySql.ae.a(String A_0, String A_1)
bei CoreLab.MySql.au.a(String A_0, String A_1, String A_2, String A_3, Int32 A_4, String A_5, Int32 A_6, SshOptions A_7, SslOptions A_8, ProxyOptions A_9, HttpOptions A_10)


It is possible though to connect to the server via frontend with the same PEM files, so I assume the cipher is not supported by MySQLDirect ?

Thanks in advance for any kind of help.
Schweinigel
 
Posts: 2
Joined: Wed 05 Mar 2008 22:19
Location: Germany

Postby Alexey.mdr » Thu 06 Mar 2008 15:28

MyDirect .NET supports SSL connections.
Here is an example of SSL enabled connection string:
Code: Select all
host=db;user id=root; protocol=Ssl;ssl cipher list=ALL;ssl ca cert=file://D:\temp\SSL\caserver.pem;ssl cert=file://D:\temp\SSL\server.pem;ssl key=file://D:\temp\SSL\server_key.pem
Could you please point the tool that generates needed files?
Please describe the format of these files.

Could you generate another triple set of SSL required files
and send them to me (alexeyman*crlab*com)?
Alexey.mdr
 
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Postby Schweinigel » Mon 10 Mar 2008 11:43

The encryption method is RSA 2048 bit.

I already sent you samples of the PEM files.
Schweinigel
 
Posts: 2
Joined: Wed 05 Mar 2008 22:19
Location: Germany

Postby Alexey.mdr » Tue 11 Mar 2008 14:03

We have received the email.
Now we are investigating the problem.
This may take a couple of days.
I will reply you by email.
Alexey.mdr
 
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Postby csdev » Wed 22 Oct 2008 19:35

Hi, I'm having the exact same problem, and since I don't think it should require 'days' to solve, how about posting the resolution here so that others may benefit from the knowledge, rather than handling it offline?

:wink:
csdev
 
Posts: 2
Joined: Wed 22 Oct 2008 19:32

Postby Shalex » Mon 27 Oct 2008 09:07

We have answered you in this thread: http://www.devart.com/forums/viewtopic.php?p=39830
Shalex
Devart Team
 
Posts: 7475
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for MySQL