Comments - [ma-3.1.2]SSL connection error: The message received was unexpected or badly formatted.
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.
I installed mariadb on the Windows machine and used the mysql client to connect to above Mariadb on Linux: same Error. But this time I remembered: on the Linux Server I had in the config: [mysqld] ssl-cipher = TLSv1.2
As soon as I comment this out, it works on both mysql client and ODBC Connector on Windows.
So my guess is a TLSv1.2 incompatibility between SChannel and openssl.