Page 1 of 1

Question about MyDAC and SSL

Posted: Wed 27 Aug 2008 08:37
by nelson
dear peopel

could you please tell me how MyDAC makes an authentication to an MySQL server if SSL option is on:

a) MyDAC first only connect to the server and handles the SSL. after the SSL security connection is esthablished, MyDAC send's the username and password SSL crypted. or..

b) MyDAC connect to the MySQL server, send's the username and password. after this, SSL connection is esthablished, and the password where not be crypted by SSL connection. only by MD5 hash.

thank you :)

Posted: Wed 27 Aug 2008 12:38
by Dimon
MyDAC connects to the MySQL server first and then tries to esthablish SSL connection.
After the SSL security connection is esthablished, MyDAC sends the username and password SSL crypted.

Posted: Wed 27 Aug 2008 12:53
by nelson
hello Dimon

that sounds very great, thank you. could you me please say which libeay32.dll and ssleay32.dll will work for MyDAC 4.X? i can't find anyone.

is it any special build of openSSL? because the indy components uses an other library version. which means, MyDAC and Indy can't use the same DLL editions. have you any idee how to get work for both?

Posted: Wed 27 Aug 2008 14:31
by Dimon
MyDAC 4.XX uses libeay32.dll and ssleay32.dll from OpenSSL version 0.9.7.