Skip to content

Enforce encrypted MySQL connections#

Security · Azure Database for MySQL · Rule · 2020_06 · Critical

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.

Comments