Description
Check whether the Classic Load Balancer listener policy enables SSLv2, SSLv3, TLS 1.0 or TLS 1.1.
Potential impact
Clients that negotiate these versions rely on outdated protocols or ciphers.
Remediation
Disable obsolete versions and use a policy that supports TLS 1.2. For a custom policy, specify the permitted ciphers. Attach it to the HTTPS listener and test a connection from a supported client.
Examples
The second excerpt enables Protocol-TLSv1.2 in place of Protocol-TLSv1. Both excerpts show only the protocol attribute of the custom policy.
Before
hcl
resource "aws_load_balancer_policy" "example" {
load_balancer_name = aws_elb.wu_tang.name
policy_name = "wu-tang-ssl"
policy_type_name = "SSLNegotiationPolicyType"
policy_attribute {
name = "Protocol-TLSv1"
value = "true"
}
}
After
hcl
resource "aws_load_balancer_policy" "example" {
load_balancer_name = aws_elb.wu_tang.name
policy_name = "wu-tang-ssl"
policy_type_name = "SSLNegotiationPolicyType"
policy_attribute {
name = "Protocol-TLSv1.2"
value = "true"
}
}