π AWS DMS Endpoint doesn't use SSL π’
- Contextual name: π Endpoint doesn't use SSL π’
- ID:
/ce/ca/aws/dms/endpoint-ssl
- Located in: π AWS DMS
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- AWS Security Hub
- [[DMS.9] DMS endpoints should use SSL]([DMS.9] DMS endpoints should use SSL (https://docs.aws.amazon.com/securityhub/latest/userguide/dms-controls.html#dms-9)]
- Internal
dec-x-a4e03389
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-a4e03389 | 1 |
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
Ensure that all applicable AWS DMS endpoints are configured to use Secure Sockets Layer (SSL) to encrypt data in transit. AWS DMS establishes connections to your source and target data stores using these endpoints.
Supported SSL modes:
require
β Encrypts the connection using SSL/TLS without certificate authority (CA) verification. Provides baseline encryption with minimal configuration.
verify-ca
β Encrypts the connection and verifies the serverβs certificate against a trusted CA. Enhances authenticity by validating the certificate chain.
verify-full
β Encrypts the connection, validates the serverβs certificate, and ensures the certificateβs hostname matches the endpointβs configured hostname. Offers the highest level of trust and integrity.Not all SSL modes work with all database endpoints. The following table shows which SSL modes are supported for each database engine.
DB engine none require verify-ca verify-full MySQL/MariaDB/Amazon Aurora MySQL
Default Not supported Supported Supported ... see more
Remediationβ
Remediationβ
From Command Lineβ
Import the CA Certificate into DMSβ
If you do not yet have your CA certificate registered with DMS, import it first:
aws dms import-certificate \
--certificate-identifier {{cert-identifier}} \
--certificate-pem file://{{path-to-cert}}.pemSample output:
{
"Certificate": {
"CertificateIdentifier": "{{cert-identifier}}",
"CertificateCreationDate": "2025-07-11T18:00:00Z",
"CertificateArn": "{{cert-arn}}"
}
}Note the
{{cert-arn}}
for use in the next step.Enable SSL on the Endpointβ
aws dms modify-endpoint \
--endpoint-arn {{endpoint-arn}} \
--ssl-mode require \
--certificate-arn {{cert-arn}}
--ssl-mode
: Choose one ofrequire
,verify-ca
, orverify-full
according to your security requirements.Test the Endpoint Connectionβ
aws dms test-connection \
--replication-instance-arn {{replication-instance-arn}} \
--endpoint-arn {{endpoint-arn}}