MySQL connection using SSL
Posted: Mon 23 Dec 2019 08:22
Hi
I use TUniConnection and set the Protocol to 'mpSSL'.
In windows, I added the libeay32.dll and ssleay32.dll to the application directory and it is able to connect to the MySQL.
However, in iOSDevice64, I tried to add the libcrypto.a and libssl.a files to the Startup/Documents folder in the deployment. Added this line of code to the project source
IdOpenSSLSetLibPath(TPath.GetDocumentsPath + PathDelim);
When I run the application to connect to the MySQL database, it states the Wrong or Unknown Protocol. Can't create SSL Connection.
I downloaded the SecureBridge to test out on IOS device but the demo does not have any example for it.
If SecureBridge can work, I will buy the SecureBridge
please advise on how to use it
regards
Chris
I use TUniConnection and set the Protocol to 'mpSSL'.
In windows, I added the libeay32.dll and ssleay32.dll to the application directory and it is able to connect to the MySQL.
However, in iOSDevice64, I tried to add the libcrypto.a and libssl.a files to the Startup/Documents folder in the deployment. Added this line of code to the project source
IdOpenSSLSetLibPath(TPath.GetDocumentsPath + PathDelim);
When I run the application to connect to the MySQL database, it states the Wrong or Unknown Protocol. Can't create SSL Connection.
I downloaded the SecureBridge to test out on IOS device but the demo does not have any example for it.
If SecureBridge can work, I will buy the SecureBridge
please advise on how to use it
regards
Chris