Risk Level: Medium
Description:
This plugin ensures that SSL certificates are set on Load Balancers for SSL terminations. SSL termination, also known as SSL offloading, decrypts and validates data on the load balancer rather than the application server, allowing the server to focus on other activities such as loading web pages. This aids in increasing the speed of the server.
PingSafe strongly recommends attaching an SSL certificate with the listener to AWS Elastic Load Balancer.
About the Service :
The Amazon ECS service may be configured to employ Elastic Load Balancing to uniformly distribute traffic among your service's jobs. The transport layer (TCP/SSL) or the application layer (HTTP/HTTPS) are where a Classic Load Balancer makes routing choices. A fixed relationship between the load balancer port and the container instance port is presently required by traditional load balancers.
Impact :
The absence of SSL termination configuration can add up a lot of tasks that the server should perform which in turn decreases the speed of the server.
Steps to reproduce :
- Login to your AWS Management Console.
- Navigate to the EC2 console.
https://ap-south-1.console.aws.amazon.com/ec2/ - Click on Load Balancers under Load Balancing.
- Select the load balancer that you want to examine.
- In the Listeners tab, check if an SSL certificate is available or not.
- Since they are not present this suggests that the ELB does not have SSL Termination Configured.
- Repeat steps for other EC2 load balancers as well.
Steps for remediation :
- Login to your AWS Management Console.
- Navigate to the EC2 console.
https://ap-south-1.console.aws.amazon.com/ec2/ - Click on Load Balancers under Load Balancing.
- Select the load balancer that you want to examine.
- In the Listeners tab, check if the SSL certificate is available or not.
- Since they are not present this suggests that the ELB does not have SSL Termination Configured.
- We will create a new listener by clicking on the Add Listener button.
- We will then fill in the necessary information of the listener and including the SSL certificate ID and click Add.
- Repeat steps for other EC2 load balancers as well.
References: