> For the complete documentation index, see [llms.txt](https://docs.sprinto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinto.com/monitors/cloud-and-infrastructure-monitoring/aws/how-to-resolve-sprinto-check-to-redirect-traffic-from-http-to-https-on-aws-application-load-balancer.md).

# How to resolve Sprinto check to redirect traffic from http to https on AWS Application Load Balancer (ALB)

### About

Sprinto check: AWS load balancer should redirect traffic from HTTP to HTTPS

The above Sprinto check starts failing if any of the integrated Application Load Balancer (ALB) has no listeners configured to redirect HTTP to HTTPS.

### Purpose

Redirecting HTTP requests to HTTPS on an Application Load Balancer significantly enhances data security by ensuring all data transmitted between clients and the server is encrypted. This prevents unauthorized access and eavesdropping on sensitive information, such as login credentials and personal data. By enforcing HTTPS, you protect data integrity and confidentiality, ensuring secure communication and compliance with security standards and regulations.

### Redirecting Requests from HTTP to HTTPS on Application Load Balancer

Follow the below procedure to redirect requests from HTTP to HTTPS protocol on ALB:

#### Before you begin

* Make sure that you have administrator privilege on AWS to configure ALB listeners.

#### Procedure

1. Log in to[ AWS Console](https://aws.amazon.com/console/) using your credentials or using the available SSO options.
2. Navigate to the AWS EC2 service.
3. Click Load Balancers under the Load Balancing section from the left-side navigation bar.
4. Select the desired ALB you want to configure.

   <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72106446298/original/JY-ff_-tFXiMK771qhiNkq0Q3xI89Q1VqA.png?1721062482" alt="" width="563"><figcaption></figcaption></figure>
5. Create an HTTP Listener.\
   &#x20;Note: If you already have an HTTP listener created, ensure the below conditions are met.
   1. Select the Listeners tab, then click Add Listener.
   2. Select the Protocol as HTTP and the Port as 80.
   3. Select Redirect to URL under the Routing actions, then select HTTPS as protocol and Port as 443.

      <figure><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/72106446233/original/C9K7JwY7v8sED0Ie_IJu3oHUIO7E7YkfUw.png?1721062455" alt="" width="563"><figcaption></figcaption></figure>
   4. Click Save to apply the changes.
6. Repeat the above steps for all ALBs on your AWS account.

Upon completing the above configuration Sprinto updates the checks status to “Passing.”

Please contact [Sprinto Support](mailto:www.support@sprinto.com) if you have any queries related to the check or need any assistance.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sprinto.com/monitors/cloud-and-infrastructure-monitoring/aws/how-to-resolve-sprinto-check-to-redirect-traffic-from-http-to-https-on-aws-application-load-balancer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
