π‘οΈ AWS OpenSearch Domain is not encrypted with the latest TLS policyπ’
- Contextual name: π‘οΈ Domain is not encrypted with the latest TLS policyπ’
- ID:
/ce/ca/aws/opensearch/domain-tls-policy - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- AWS Security Hub: [Opensearch.8] Connections to OpenSearch domains should be encrypted using the latest TLS security policy
- AWS Security Hub: [ES.8] Connections to Elasticsearch domains should be encrypted using the latest TLS security policy
Descriptionβ
Descriptionβ
This policy identifies AWS OpenSearch Domains that do not enforce HTTPS or are not configured to use the latest Transport Layer Security (TLS) security policy.
Rationaleβ
AWS OpenSearch Service supports multiple TLS security policies that define the minimum TLS protocol version and the set of allowed cipher suites for HTTPS endpoints. Legacy protocols such as TLS 1.0 and TLS 1.1 contain known cryptographic weaknesses and should not be used.
Enforcing HTTPS with a modern TLS policy (TLS 1.2 or higher) significantly strengthens data-in-transit protection by ensuring that communications between clients and the OpenSearch domain remain encrypted, authenticated, and resistant to interception or tampering.
Auditβ
This policy flags an AWS OpenSearch Service domain as
INCOMPLIANTwhen either of the following conditions is met:
Endpoint Options: Enforce HTTPSis set to false, orEndpoint Options: TLS Security Policyis configured with a legacy policy, including Policy-Min-TLS-1-0-2019-07 or Policy-Min-TLS-1-2-2019-07
Remediationβ
Remediationβ
Enforce HTTPS and Update TLS Policy for OpenSearch Domainβ
To ensure secure communications, enable HTTPS and configure the OpenSearch Service domain to use the latest TLS security policy.
From Command Lineβ
Use the
update-domain-configcommand to enforce HTTPS and set the TLS security policy. Replace the placeholders with your domain name and the desired TLS policy (Policy-Min-TLS-1-2-PFS-2023-10or the latest supported version).aws opensearch update-domain-config \
--domain-name {{domain-name}} \
--domain-endpoint-options '{
"EnforceHTTPS": true,
"TLSSecurityPolicy": "Policy-Min-TLS-1-2-PFS-2023-10"
}'Considerationsβ
- Client Configuration: All client applications must be updated to use the
https://endpoint URL. Connections usinghttp://will fail after this change.