Skip to content

Enforce encrypted MySQL connections#

Security · Azure Database for MySQL · Azure.MySQL.UseSSL

Enforce encrypted MySQL connections.

Description#

Azure Database for MySQL is configured to only accept encrypted connections by default. When the setting enforce SSL connections is disabled, encrypted and unencrypted connections are permitted. This does not indicate that unencrypted connections are being used.

Unencrypted communication to MySQL server instances could allow disclosure of information to an untrusted party.

Recommendation#

Azure Database for MySQL should be configured to only accept encrypted connections. Unless explicitly required, consider enabling enforce SSL connections.

Also consider using Azure Policy to audit or enforce this configuration.


Last update: 2021-09-24