Azure MySQL Flexible Server does not advertise TLS from multiple PCs

Arif 0 Reputation points
2026-11-21T17:15:15.4966667+00:00

My Azure Database for MySQL Flexible Server in Southeast Asia has require_secure_transport=ON, with TLS 1.2 and 1.3 enabled in the portal. MySQL Workbench and MySQL 8.4 CLI with --ssl-mode=REQUIRED both fail with ERROR 2026: SSL is required but the server doesn't support it.

From several PCs, openssl s_client -starttls mysql reaches the endpoint on port 3306 but reports MySQL server does not support SSL, no peer certificate available, and Cipher is (NONE). When I briefly disabled TLS enforcement, Workbench connected and Ssl_cipher was empty. Enforcement is back on.

Azure’s SSL diagnostic reports rejected unencrypted attempts. How can I determine why the endpoint’s initial MySQL handshake does not advertise TLS even to clients explicitly requesting it?

Azure Database for MySQL
0 comments No comments

1 answer

Sort by: Most helpful
  1. Arif 0 Reputation points
    2026-11-21T17:24:39.0566667+00:00

    Azure CLI confirms currentValue=TLSv1.2,TLSv1.3, isDynamicConfig=True, isConfigPendingRestart=False, and source=system-default. With require_secure_transport=ON, the MySQL 8.4 CLI returns ERROR 2026 and OpenSSL from multiple PCs reports MySQL server does not support SSL with no peer certificate. Can the Azure MySQL team help determine why the endpoint is not advertising TLS despite the reported configuration?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.