All checks
Medium Opensearch · regional

Connections to OpenSearch domains should be encrypted using the latest TLS security policy

Checks that the OpenSearch domain requires HTTPS and that its endpoint uses Policy-Min-TLS-1-2-PFS-2023-10, so clients connect only over TLS 1.2 or later with forward-secrecy ciphers. As in AWS's control, any other policy fails, including Policy-Min-TLS-1-2-2019-07 and Policy-Min-TLS-1-2-RFC9151-FIPS-2024-08.

service
Opensearch
severity
Medium
scope
evaluated in every region

How to fix it

  • Can break clients: Clients that cannot negotiate TLS 1.2 or later with a forward-secrecy cipher, or that still connect over plain HTTP, are refused once this applies.

In the console

OpenSearch Service → Domains → the domain → Actions → Edit security configuration → Encryption

Require HTTPS for all traffic to the domain
Selected
TLS security policy
Policy-Min-TLS-1-2-PFS-2023-10

With the AWS CLI

aws opensearch update-domain-config --domain-name <domain-name> --domain-endpoint-options '{"EnforceHTTPS":true,"TLSSecurityPolicy":"Policy-Min-TLS-1-2-PFS-2023-10"}' --region <region>

With Terraform

resource "aws_opensearch_domain" "this" {
  domain_name = var.domain_name

  domain_endpoint_options {
    enforce_https       = true
    tls_security_policy = "Policy-Min-TLS-1-2-PFS-2023-10"
  }
}

See which of your accounts this check is failing on.

Book a live scan