Comments - SSL with other Clients than the original MariaDB-client?

12 years, 2 months ago Elena Stepanova

I was able to reproduce the problem with Connector/J and filed a bug report https://bugs.launchpad.net/maria/+bug/930145 about it.

The part with MySQL client might be a different issue. I still can connect fine using MySQL client to MariaDB server, as long as both use the same SSL implementation (openssl or yassl). If you are using MySQL client and MariaDB server from Ubuntu deb packages, it should be the case for you too. However, I am wondering if you really have both MariaDB and MySQL deb packages installed on the same machine at the same time; installation of one conflicts with another, so you probably have a rather complicated setup on your box to use them both at once. Could it be that you are trying to connect to MariaDB server from a deb package (openssl) using a client from, lets say, MySQL generic tarball package (or any other version that uses yassl)? In this case, you might be facing an old problem described here http://blog.swwomm.com/2011/09/mysql-ssl-implementation.html; there are also open bugs in MySQL bug database about it. Please let us know if this is the case.

 
12 years, 2 months ago Stephan

The used Mysql-Server was not at the same machine (we use MariaDB in a network, the Mysql-Server was on my local machine for comparison, both machines uses Ubuntu). I know that MariaDB is a drop-in-replacement.

Both Ubuntu-Packages should use openssl (the variables had show the use of openssl).

It could be possible, that the switch from the MariaDB Server + Client to Mysql-Server + Client on my local machine (at first it was a comparison between another MariaDB-Server and the used MariaDB-Server in the network - later it was a comparison between MariaDB-Server in the network and the local Mysql-Server) lead to a conflict (configuration files). For a fresh install for rechecking this aspect I need some time.

Interesting for me was using the Connector/J over SSL with MariaDB. The other client and server programs was only for getting the scope of occuring an error.

 
12 years, 2 months ago Elena Stepanova

Please note that have_openssl server variable is just a synonym of have_ssl, it does not really show whether the server uses openssl or yassl (see MySQL Manual). Running ldd on the server or client binary would be more reliable.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.