---
title: "Elastic load balancers do not use SSL Certificates provided by AWS Certificate Manager"
canonical: "https://kb.cynergy.app/space/MD/1208123394/Elastic%20load%20balancers%20do%20not%20use%20SSL%20Certificates%20provided%20by%20AWS%20Certificate%20Manager"
format: markdown
---
# Description

SSL encryption secures data streamed through your ELB, protecting it from unauthorized access and tampering. Enabling SSL ensures only users with the correct decryption keys can access the data, keeping it safe in transit.

# Fix - Build time

## Terraform

- **Resource:** aws_elb
- **Argument:** ssl_certificate_id

```
resource "aws_elb" "test" {
  ...
  listener {
    instance_port      = 8000
    instance_protocol  = "http"
    lb_port            = 443
    lb_protocol        = "https"
+   ssl_certificate_id = "arn:aws:iam::123456789012:server-certificate/certName"
  }           
}
```