Skip to main content
Feedback

MongoDB AWS DocumentDB with SSL

Connecting to AWS DocumentDB with SSL

This topic explains how to connect Data Integration to an AWS DocumentDB instance over SSL/TLS by adding the required parameters to your MongoDB connection URI.

To connect to AWS DocumentDB with SSL, add the following to your Connection URI\SRV.

mongodb://{username}:{password}@{host}:{port}/{database}?**tlsAllowInvalidHostnames=true&tls=true&tlsAllowInvalidCertificates=true**.

In the connection settings, select only Allow Invalid Certificates. The URI already includes tlsAllowInvalidHostnames=true, so you do not need to select Allow Invalid Host Names separately.

AWS DocumentDB SSL connection settings

On this Page