Ensure MySQL is using the latest version of TLS encryption

Error: MySQL is not using the latest version of TLS encryption

Bridgecrew Policy ID: BC_AZR_GENERAL_77
Checkov Check ID: CKV_AZURE_54
Severity: MEDIUM

MySQL is not using the latest version of TLS encryption

Description

The Transport Layer Security (TLS) protocol secures transmission of data between servers and web browsers, over the Internet, using standard encryption technology. To follow security best practices and the latest PCI compliance standards, enable the latest version of TLS protocol (i.e. TLS 1.2) for all your MySQL servers.

Fix - Buildtime

Terraform

  • Resource: azurerm_mysql_server
  • Argument: ssl_minimal_tls_version_enforced
resource "azurerm_mysql_server" "examplea" {
   ...
 + ssl_minimal_tls_version_enforced  = "TLS1_2"
            }

Did this page help you?