Review ELB protocol security settings

Do not allow obsolete SSL/TLS protocols on Classic ELB listeners.

Description

Check whether the policy attached to the Classic Load Balancer HTTPS or SSL listener allows SSLv2, SSLv3, TLS 1.0 or TLS 1.1.

Potential impact

These protocols provide weaker protection. Disabling them disconnects clients that support only those versions.

Remediation

Choose a TLS 1.2 policy compatible with your clients and certificate and attach it through the listener’s PolicyNames. Check the negotiated version and cipher after deployment. Configure backend TLS separately.

Examples

The excerpts define a policy. Supply a certificate and include MySSLPolicy on the actual HTTPS or SSL listener.

Before

yaml
Resources:
  MyLoadBalancer:
    Type: AWS::ElasticLoadBalancing::LoadBalancer
    Properties:
      Policies:
        - PolicyName: MySSLPolicy
          PolicyType: SSLNegotiationPolicyType
          Attributes:
            - Name: Protocol-SSLv2
              Value: true

After

yaml
Resources:
  MyLoadBalancer:
    Type: AWS::ElasticLoadBalancing::LoadBalancer
    Properties:
      Policies:
        - PolicyName: MySSLPolicy
          PolicyType: SSLNegotiationPolicyType
          Attributes:
            - Name: Reference-Security-Policy
              Value: ELBSecurityPolicy-TLS-1-2-2017-01

The second excerpt replaces the historical SSLv2 setting with ELBSecurityPolicy-TLS-1-2-2017-01, which permits only TLS 1.2.

References