| name | cis-aws-compute-10.4 |
| description | Ensure that HTTPS is enabled on load balancer |
| category | cis-compute |
| version | 1.1.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","compute","elastic-beanstalk","https","tls","load-balancer","encryption"] |
| cis_id | 10.4 |
| cis_benchmark | CIS AWS Compute Services Benchmark v1.1.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-compute-10.1","cis-aws-compute-10.2","cis-aws-compute-10.3"] |
| prerequisites | [] |
| severity_boost | {} |
10.4 Ensure that HTTPS is enabled on load balancer (Manual)
Description
The simplest way to use HTTPS with an Elastic Beanstalk environment is to assign a server certificate to your environment's load balancer.
Rationale
When you configure your load balancer to terminate HTTPS, the connection between the client and the load balancer is secure.
Impact
N/A
Audit Procedure
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com/elasticbeanstalk
- On the left hand side click
Environments
- Click on the
Environment name that you want to review
- Under the "environment_name-env" click
Configuration
- Scroll down under Configurations
- Under category look for
Load balancer
- Click
Edit
- Under the
Listeners section
- Check the Listeners section for any enabled listeners and make sure the Protocol is set to HTTPS and Enabled.
- If the Listener is required for HTTP and is not set to HTTPS refer to the remediation below.
- Repeat steps 3-10 for each environment within the current region.
- Then repeat the Audit process for all other regions.
Using AWS CLI
N/A - This control is manual and console-based.
Expected Result
All enabled Listeners under the Load balancer configuration have their Protocol set to HTTPS and are Enabled.
Remediation
Using AWS Console
- Login to AWS Console using https://console.aws.amazon.com/elasticbeanstalk
- On the left hand side click
Environments
- Click on the
Environment name that you want to review
- Under the "environment_name-env" click
Configuration
- Scroll down under Configurations
- Under category look for
Load balancer
- Click
Edit
- Under the
Listeners section
- Click
Add listener
Set listener port
Set Listener protocol to HTTPS
Set Instance Port
Sent Instance protocol to HTTPS
Select your SSL certificate