Cloud Defense Logo

Products

Solutions

Company

Book A Live Demo

Rule: ELB Application Load Balancers Redirect HTTP to HTTPS

This rule ensures that ELB Application Load Balancers redirect HTTP requests to HTTPS for enhanced security measures.

RuleELB application load balancers should redirect HTTP requests to HTTPS
FrameworkHIPAA
Severity
Medium

Rule Description:

ELB application load balancers should redirect HTTP requests to HTTPS for HIPAA compliance.

Troubleshooting Steps:

  1. 1.
    Verify that the ELB application load balancer is properly configured.
  2. 2.
    Check the listener rules for the load balancer to ensure that HTTP traffic is redirected to HTTPS.
  3. 3.
    Review the security group settings for the load balancer to ensure that both HTTP (port 80) and HTTPS (port 443) are allowed.
  4. 4.
    Verify that the SSL certificate is correctly configured and associated with the load balancer.
  5. 5.
    Test the HTTP to HTTPS redirection by accessing the load balancer's HTTP endpoint and checking if it automatically redirects to HTTPS.

Necessary Codes:

No specific codes are required for this rule. The redirection from HTTP to HTTPS can be achieved through the load balancer's configuration.

Step-by-Step Guide for Remediation:

  1. 1.
    Open the AWS Management Console and navigate to the EC2 service.
  2. 2.
    Click on "Load Balancers" in the left sidebar.
  3. 3.
    Select the ELB application load balancer that needs to be configured for redirecting HTTP to HTTPS.
  4. 4.
    Go to the "Listeners" tab and locate the HTTP listener (port 80).
  5. 5.
    Click on the edit icon (pencil) next to the HTTP listener.
  6. 6.
    In the "Edit Listener" dialog box, change the protocol to HTTPS and specify the SSL certificate that you want to use.
  7. 7.
    Enable the HTTP to HTTPS redirection by enabling the "Redirect HTTP to HTTPS" option.
  8. 8.
    Click on the "Save" button to apply the changes.
  9. 9.
    Wait for the changes to propagate. It may take a few moments for the changes to take effect.
  10. 10.
    Test the redirection by accessing the load balancer's HTTP endpoint (e.g., http://example.com) in a web browser. The request should automatically redirect to the HTTPS endpoint (e.g., https://example.com).

Note: Make sure to follow any additional steps required by your specific load balancer configuration or security policies.

By implementing the above steps, the ELB application load balancer will redirect all HTTP requests to HTTPS, ensuring HIPAA compliance.

Is your System Free of Underlying Vulnerabilities?
Find Out Now