Unable to use TLSv1.1 or DHE-RSA-AES256-SHA?

[expired user #10425]'s profile image [expired user #10425] posted 6 years ago in General Permalink

Hello,

When trying to connect MariaDB 10.2.11 (hosted in Amazon RDS) instance using SSL I get an error "SSL connection error: unknown error number". Mysql console client connects well over SSL.

However other connections I have with MariaDB 10.0.24 work fine.

Using Mysql console I see following differences:

MariaDB 10.2.11

  • Ssl_version: TLSv1.1
  • Ssl_cipher: DHE-RSA-AES256-SHA

MariaDB 10.0.24

  • Ssl_version: TLSv1
  • Ssl_cipher: AES256-SHA

HeidiSQL output for the invalid connection:

/* Connecting to *obfuscated*.rds.amazonaws.com via MariaDB (TCP/IP), username masteruser, using password: Yes ... */
/* SSL parameters successfully set. */
/* SSL connection error: unknown error number */

I'm using HeidiSQL 9.5.05196 (latest) and have already tried re-installing HeidiSQL altogether.

Might new TLS or cipher version be to blame?

ansgar's profile image ansgar posted 6 years ago Permalink

Please install the latest nightly built installer from the download page, so you get updated libraries as well as a newer heidisql.exe. I have added libmariadb.dll after the v9.5 release. It might solve your issue. If not, please create a ticket on Github.

[expired user #10425]'s profile image [expired user #10425] posted 6 years ago Permalink

Hi,

Latest nightly version worked like a charm! :)

Thanks!

Please login to leave a reply, or register at first.