Description
An SLB listener that uses a policy permitting TLS 1.0 or 1.1 can accept connections over those versions.
Potential impact
Obsolete protocols or weak cipher suites can leave the listener outside your transport security requirements.
Remediation
Remove obsolete versions from tls_versions and choose compatible ciphers for supported TLSv1.2 or TLSv1.3. Test existing client compatibility, attach the policy to the HTTPS listener and verify the negotiated version.
Examples
The example drops TLS 1.1 and adds TLS 1.3 with a matching cipher suite. The remaining TLS 1.2 suites lack forward secrecy. Prefer suites with forward secrecy unless those older suites are needed for compatibility.
Before
hcl
resource "alicloud_slb_tls_cipher_policy" "policy" {
tls_cipher_policy_name = "Test-example_value"
tls_versions = ["TLSv1.1", "TLSv1.2"]
ciphers = ["AES256-SHA", "AES256-SHA256", "AES128-GCM-SHA256"]
}
After
hcl
resource "alicloud_slb_tls_cipher_policy" "policy" {
tls_cipher_policy_name = "Test-example_value"
tls_versions = ["TLSv1.2", "TLSv1.3"]
ciphers = ["AES256-SHA256", "AES128-GCM-SHA256", "TLS_AES_256_GCM_SHA384"]
}