01
MySQL TLS is reported as unavailable on MySQL 8.4 and later
- What you see
- The check returns FAIL saying TLS is not available, on a server where TLS is configured and working.
- Why
- It reads
SHOW VARIABLES LIKE 'have_ssl'andhave_openssl. Both were deprecated in MySQL 8.0.26 and removed outright in MySQL 8.4.0, so the query comes back empty on any current MySQL and the check reads that as "no TLS". - What to trust instead
- Check
SHOW VARIABLES LIKE 'tls_version'instead - a non-empty value means TLS is available - orSELECT @@ssl_cert. MariaDB still exposeshave_ssl, so the old query is only wrong on MySQL.
Affects
Sources