Article View: linux.debian.bugs.dist
Article #5731Bug#1154991: mariadb-client: ssl-verify-server-cert=false is broken
From: Bjørn Mork
Date: Mon, 23 Nov 2026 11:40
Date: Mon, 23 Nov 2026 11:40
96 lines
5328 bytes
5328 bytes
Package: mariadb-client Version: 1:11.8.9+ds-0+deb13u1 Severity: normal Dear Maintainer, I cannot use TLS against servers with unverifiable certficates after upgrading to 1:11.8.9+ds-0+deb13u1 The client complains about Hostname verification regardless of the command line or config file setting: bjorn@brego:~$ mysql --ssl-verify-server-cert=false ERROR 2026 (HY000): TLS/SSL error: Hostname verification failed bjorn@brego:~$ mysql --ssl-verify-server-cert=true ERROR 2026 (HY000): TLS/SSL error: Hostname verification failed bjorn@brego:~$ mysql --version mysql from 11.8.9-MariaDB, client 15.2 for debian-linux-gnu (aarch64) using EditLine wrapper Note that the failure is expected with "ssl-verify-server-cert" enabled. The certificate presented by the server does not have a hostname i neither CommonName nor SAN Same commands using the previous trixie package (1:11.8.6-0+deb13u1): bjorn@brego:~$ mysql --ssl-verify-server-cert=true ERROR 2026 (HY000): TLS/SSL error: Hostname verification failed bjorn@brego:~$ mysql --ssl-verify-server-cert=false Welcome to the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 121800 Server version: 26.10.0-cloud MySQL Enterprise - Cloud Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. root@10.2.1.11 ((none)) W> \s -------------- mysql from 11.8.6-MariaDB, client 15.2 for debian-linux-gnu (aarch64) using EditLine wrapper Connection id: 121800 Current database: Current user: root@brego.sub01201311080.m.oraclevcn.com SSL: Cipher in use is TLS_AES_128_GCM_SHA256, cert is UNKNOWN Current pager: stdout Using outfile: '' Using delimiter: ; Server: MySQL Server version: 26.10.0-cloud MySQL Enterprise - Cloud Protocol version: 10 Connection: 10.2.1.11 via TCP/IP Server characterset: utf8mb4 Db characterset: utf8mb4 Client characterset: utf8mb4 Conn. characterset: utf8mb4 TCP port: 3306 Uptime: 25 days 5 hours 24 min 48 sec Threads: 6 Questions: 11118815 Slow queries: 0 Opens: 37924 Flush tables: 3 Open tables: 1433 Queries per second avg: 5.101 -------------- -- System Information: Debian Release: 13.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: arm64 (aarch64) Kernel: Linux 6.12.118+deb13-arm64 (SMP w/4 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages mariadb-client depends on: ii debianutils 5.23.2 ii libc6 2.41-12+deb13u4.1 ii libconfig-inifiles-perl 3.000003-3+deb13u1 ii libgcc-s1 14.2.0-19 ii libpcre2-posix3 10.46-1~deb13u3 ii libssl3t64 3.5.9-1~deb13u1 ii libstdc++6 14.2.0-19 ii mariadb-client-core 1:11.8.9+ds-0+deb13u1 ii perl 5.40.1-6+deb13u1 ii zlib1g 1:1.3.dfsg+really1.3.1-1+deb13u1 Versions of packages mariadb-client recommends: pn libdbd-mariadb-perl | libdbd-mysql-perl <none> pn libdbi-perl <none> ii libterm-readkey-perl 2.38-2+b4 mariadb-client suggests no packages. -- no debconf information
Technical Details
Message-ID:
<O2AyS-dEXa-25@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Bjørn Mork <bjorn@mork.no> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154991: mariadb-client: ssl-verify-server-cert=false is broken Date: Mon, 23 Nov 2026 12:40:02 +0100 Message-ID: <O2AyS-dEXa-25@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 23 11:35:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.651 Reply-To: Bjørn Mork <bjorn@mork.no>, 1154991@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-mysql-maint@lists.alioth.debian.org X-Debian-Pr-Message: report 1154991 X-Debian-Pr-Package: mariadb-client X-Debian-Pr-Source: mariadb, mariadb-10.0, mariadb-10.1, mariadb-10.3, mariadb-10.4, mariadb-10.5, mariadb-10.6, mariadb-5.5 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0 X-Greylist: delayed 424 seconds by postgrey-1.37 at buxtehude; Mon, 23 Nov 2026 11:33:47 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004407 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 96 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 23 Nov 2026 11:26:39 +0000 X-Original-Message-ID: <179543319996.2892.8235874843644623604.reportbug@brego.mork.no>