I have a MySQL server and I have the client certificate and keys for SSL connection to the MYSQL server. In delphi that uses MyDAC for connecting to mysql, I can use:
Code: Select all
MySQL1Connection.SSLOptions.CACert := 'file location'
MySQL1Connection.SSLOptions.Cert := 'file location'
MySQL1Connection.SSLOptions.Key := 'file location'
MySQL1Connection.SSLOptions.ChipherList := 'All';
MySQL1Connection.Options.Protocol := mpSSL;Unfortunately when I run the code, I get an exception showing
I am completely stuck. I will be really grateful if you kindly give me an idea what to try next.' ssl_do_handshake = -1 SSL_get_error(...,r2) = 1 r2 = -1'