TUniConnection in SSL mode with MySQL and no client-side certificates and key
Posted: Thu 12 Nov 2015 14:54
Hello,
I'd like to know if it's possible to connect in SSL mode to a MySQL database but without using client-side CA/client certificates and key.
I'm not interested if the client is who he claims to be. I just need to crypt the information flow like https does without the hassle of generating and distributing client certs and keys.
Up to this point I couldn't make my TUniConnection work without any of the CA cert, client cert and client key. Is it possible?
I tested the concept and it works great in HeidiSQL.
Mysql cmd line tool and ODBC driver seem to require at least the --ssl-ca parameter but it works without the client cert and client key.
Or, if it's not possible, is there a way to pass the certificates and the key to the connection at runtime as strings rather then file names?
Thank you.
I'd like to know if it's possible to connect in SSL mode to a MySQL database but without using client-side CA/client certificates and key.
I'm not interested if the client is who he claims to be. I just need to crypt the information flow like https does without the hassle of generating and distributing client certs and keys.
Up to this point I couldn't make my TUniConnection work without any of the CA cert, client cert and client key. Is it possible?
I tested the concept and it works great in HeidiSQL.
Mysql cmd line tool and ODBC driver seem to require at least the --ssl-ca parameter but it works without the client cert and client key.
Or, if it's not possible, is there a way to pass the certificates and the key to the connection at runtime as strings rather then file names?
Thank you.