More Info:

The communication between your Amazon CloudFront CDN distribution and its viewers (end users) should be encrypted using HTTPS in order to secure the delivery of your web application content

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, NIST, GDPR

Triage and Remediation

Remediation

To remediate this misconfiguration in AWS, you can follow the below steps:

  1. Log in to your AWS console and navigate to the Amazon CloudFront service.

  2. Click on the distribution ID for which you want to enable HTTPS.

  3. In the distribution settings, click on the “Behaviors” tab.

  4. Select the behavior for which you want to enable HTTPS and click on the “Edit” button.

  5. In the “Edit Behavior” window, scroll down to the “Viewer Protocol Policy” section.

  6. Select “Redirect HTTP to HTTPS” from the dropdown list.

  7. Click on the “Yes, Edit” button to save the changes.

  8. Wait for the changes to propagate. This may take a few minutes.

  9. Once the changes are propagated, your CloudFront distribution will be configured to use HTTPS for all viewer communications.

By following these steps, you can remediate the misconfiguration “Communication With Viewers Should Be Encrypted Using HTTPS” in AWS using the AWS console.

Additional Reading: