ScSSLClient can connect, MyConnection not

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Zsolt Csillag
Posts: 30
Joined: Sun 28 May 2006 16:09

ScSSLClient can connect, MyConnection not

Post by Zsolt Csillag » Tue 09 Dec 2008 18:51

Hello,

I downloaded SecureBridge trial because I can't connect the remot MySql server

(I wrote a topic in Data Access Components for MySQL with title SSL connection: NaviCat can connect, MyDac cannot!)

I have the following components:

- an ScFileStorage connected with an ScSSLClient. This can connect to the server

- the same ScFileStorage connected with MySSLIOHandler that is connected with MyConnection. With this I got the error message "If a certificate is specified, it must have a private key"

I wrote in my other topic that In naviCat I can connect to the remote MySql server using ONLY the checkbox "use SSL", without certificates.
Can I do this with SecureBridge too?

This would be important for me because I need to use TMyQuerys to connect with the MySql server.

Thank you in advance

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 11 Dec 2008 12:59

Please check if you can connect to MySQL server without SecureBridge, only setting the TMyConnection.Options.Protocol property to mpSSL.

Post Reply