SES configuration sets should have TLS enabled for sending emails
Checks that an Amazon SES configuration set requires TLS for delivery. By default SES sends a message in plain text when the receiving mail server cannot set up TLS, exposing its contents in transit. Only mail sent with this configuration set is covered.
- service
- SES
- severity
- Medium
- scope
- evaluated in every region
How to fix it
- Can break clients: Mail to a receiving server that cannot set up TLS is dropped instead of sent in plain text, so recipients on such servers stop getting this set's email.
In the console
Amazon SES → Configuration sets → the configuration set → Overview → General details → Advanced delivery options
- Transport Layer Security (TLS)
- Required
With the AWS CLI
- Overwrites existing settings: The call sets the delivery options as a whole, so repeat --sending-pool-name and --max-delivery-seconds if this set uses a dedicated IP pool or a delivery time limit.
aws sesv2 put-configuration-set-delivery-options --configuration-set-name <configuration-set-name> --tls-policy REQUIRE --region <region>With Terraform
resource "aws_sesv2_configuration_set" "this" {
configuration_set_name = var.configuration_set_name
delivery_options {
tls_policy = "REQUIRE"
}
}
See which of your accounts this check is failing on.
Book a live scan