SSL clients for MyDAC 5.0 and C++ Builder 6

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Ithilien
Posts: 33
Joined: Tue 27 Feb 2007 21:58

SSL clients for MyDAC 5.0 and C++ Builder 6

Post by Ithilien » Mon 02 Jul 2007 13:03

Hello all,

i want to do secure sessions to all clients that connect to MySQL server and i have seen the Protocol option of TMyCOnnection. I establish it to the value of mpSSL, so i have seen too the SLLOptions. Are there neccesary? If it is, how can i obtain those files for all clients using the application built in c++ builder? is it possible?

Thanks!

Ithilien
Posts: 33
Joined: Tue 27 Feb 2007 21:58

Post by Ithilien » Mon 02 Jul 2007 13:06

And what programs do i need?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 03 Jul 2007 08:21

Ithilien wrote:Are there neccesary?
Yes, they are. You can generate SSL certificates yourself, and specify their names in SSLOptions. The procedure for generating certificates should be described in SSL documentation.
Ithilien wrote:And what programs do i need?
You need MySQL sever with SSL support, and SSL libraries that should be available for your client application at runtime. The last version of SSL with which MyDAC 5 was tested is openssl-0.9.8d.

I can suggest you an alternative solution to protection your connection to MySQL server. This is another our Delphi component library - SecureBridge. It is integrated with MyDAC and lets you embed functionality of SSH client and SSH server into your application.

Ithilien
Posts: 33
Joined: Tue 27 Feb 2007 21:58

Post by Ithilien » Tue 03 Jul 2007 11:25

Ok Antaeus. I prefer Secure Bridge Solution but i don't understand how does it work: I Downloaded trial version to proof my project, but when i was designing i had this problem: SSH Server??? I don't know how to configure my server to connect to it using SSH client and SSH tunnel.

Can you help me? Thanks a lot

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 04 Jul 2007 07:01

Please take a look at articles in the "Using SecureBridge" section of SecureBridge help. They describe common principles of secure connections, and how to setup secure connection with SecureBridge.
If you have more questions about SecureBridge, post them to thisforum.

Post Reply