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.
SSL Connection MySQLDirect 4.00
-
- Posts: 2
- Joined: Wed 05 Mar 2008 22:19
- Location: Germany
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
MyDirect .NET supports SSL connections.
Here is an example of SSL enabled connection string: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)?
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
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)?
-
- Posts: 2
- Joined: Wed 05 Mar 2008 22:19
- Location: Germany
-
- Posts: 729
- Joined: Thu 13 Dec 2007 10:24
We have answered you in this thread: http://www.devart.com/forums/viewtopic.php?p=39830