New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mariadb 10.6 - unable to connect via SSL #1426
Comments
|
Could you please
There's a good chance this is working now. The installer will update libmariadb.dll and plugins. The new build activates a client option required by some SSL setups. See #1539 for details. |
|
Hello, Bump. I have tried to replace the openssl libraries in the application folder to the latest 1.1.1s with no success. @mSys-mislav it would be interesting to know whether you solved this issue and if yes how you did it. @ansgarbecker Maybe can you please try to bump the libmariadb and openssl versions? Thanks a lot for the help. |
|
HeidiSQL's libmariadb.dll is v3.2.5 which is roughly one year old. |
|
Actually I realized that the libmariadb that is shipped with HeidiSQL is linked with Windows-SChannel instead of OpenSSL (verified with ProcessExplorer). There are probably some incompatibilities between the two. @ansgarbecker maybe it would make sense to use in Heidi a version of MariaDB library linked with OpenSSL (since MariaDB uses that) instead of SChannel? |
|
@Lotendan yes I can exchange libmariadb.dll in the installer, I'm only not having such a server for testing if that would work. Would be nice if you download the MariaDB server-zip for Windows from https://dlm.mariadb.com/browse/mariadb_server/214/1565/winx64-packages/ , and copy the contained libmariadb.dll into your HeidiSQL folder to check that. Note that HeidiSQL expects the regex |
|
Nope, still does not work :( Even the mysql.exe client seems to fail connecting anyway: |
|
@Lotendan I just see that the upstream issue is closed (fixed?): openssl/openssl#20138 |
|
Hello, the issue helped to clarify a few things; the problem comes from the upgrade to OpenSSL v3.0 which is more restrictive on the algorithms used. This is expected and is working as designed and there is nothing wrong about it, hence we closed the issue. Instead we think SChannel is not picking the proper algorithms. This is either a bug in SChannel or a misusage of it by the connector. |
|
Note: Jira issue created here: https://jira.mariadb.org/browse/CONC-639 |
Preconditions
Describe the bug
We're unable to connect via Use SSL option under windows 10 to mariadb 10.6 server. It's complaining about cipher. We've tried using different libraries, however no luck.
Under linux, ubuntu 20.04 LTS, snapd installation of heidisql 11.2 this is working. We've tried to downgrade to heidisql on windows to 11.2.0, however without luck.
To Reproduce
Screenshots or Crash reports
I've noticed in the server logs the following entries:
2021-08-11 21:27:54 175 [Warning] Aborted connection 175 to db: 'unconnected' user: 'unauthenticated' host: 'xx' (This connection closed normally without authentication)The text was updated successfully, but these errors were encountered: