dbexpress and ssl

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
itsds
Posts: 37
Joined: Mon 30 Apr 2007 10:38
Location: Germany - Bochum
Contact:

dbexpress and ssl

Post by itsds » Fri 11 Jul 2008 09:17

Hi i have to program a secure connection for one of my customer.
I saw in the source an Option "HAVE_OPENSSL"

Does it work ?
How do i have to pass the cert-file and so on to the dll

I saw at microolap that they pass a String like
CustomString="usessl=true,"ClientCertificate=","ClientKey="

Please answer asap
Thx and best regards
S. Diestelmann

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

Post by Antaeus » Fri 11 Jul 2008 11:53

DbxMda does not support SSL connections. I can suggest two alternatives to solve this problem:
1) Using MyDAC instead of DbxMda. MyDAC supports SSL connections.
2) Using SSH tunneling instead of SSL. You can use SecureBridge to make an SSH server and SSH client. Functionality of the SSH client can be embedded into your application.

Post Reply