MongoDB AWS DocumentDB with SSL
- 1 Minute to read
- Print
- DarkLight
- PDF
MongoDB AWS DocumentDB with SSL
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Connecting to AWS DocumentDB with SSL
In order to connect to AWS DocumentDB with SSL please add the following to your "Connection URI\SRV"
mongodb://{username}:{password}@{host}:{port}/{database}?tlsAllowInvalidHostnames=true&tls=true&tlsAllowInvalidCertificates=true.
And unlike the normal SSL connection please only mark Allow Invalid Certificates
Since the URI contains what's needed for the Allow Invalid Host Names.
as shown in section
Was this article helpful?