Remediation
From Azure Portalβ
- Login to Azure Portal using https://portal.azure.com.
- Go to
Azure Database for MySQL flexible servers
. - For each database, under
Settings
, clickServer parameters
. - In the filter bar, type
require_secure_transport
. - Set the
VALUE
forrequire_secure_transport
toON
. - Click
Save
.
From Azure CLIβ
Use the below command to enable require_secure_transport
:
az mysql flexible-server parameter set --resource-group <resourceGroup> --server-name <serverName> --name require_secure_transport --value on
From PowerShellβ
Use the below command to enable require_secure_transport
:
Update-AzMySqlFlexibleServerConfiguration -ResourceGroupName <resourceGroup> -ServerName <serverName> -Name require_secure_transport -Value on