isage / lua-resty-moongoo

MongoDB library for OpenResty
Do What The F*ck You Want To Public License
117 stars 33 forks source link

Does this module support TLS connections? #18

Closed mmaberry-yottaa closed 6 years ago

mmaberry-yottaa commented 6 years ago

We would like to use this module to connect to MongoDB Atlas (DAAS from mongodb) - https://www.mongodb.com/cloud/atlas. Clients must have support for TLS/SSL to connect to an Atlas cluster.

We are using a connection string like:

mongodb://USERNAME:PASSWORD@some-shard-00-00-2bhzf.mongodb.net:27017,someother-shard-00-01-2bhzf.mongodb.net:27017,third-shard-00-02-2bhzf.mongodb.net:27017/DATABASE?&ssl=true

Would be interested to know if anyone has experience using this module with Atlas or can help us understand how we could make the connection.

isage commented 6 years ago

Yep, it supports ssl/tls. Your connection string should work.

On Feb 14, 2018 8:40 PM, "Mike Maberry" notifications@github.com wrote:

We would like to use this module to connect to MongoDB Atlas (DAAS from mongodb) - https://www.mongodb.com/cloud/atlas. Clients must have support for TLS/SSL to connect to an Atlas cluster.

We are using a connection string like:

mongodb://USERNAME:PASSWORD@some-shard-00-00-2bhzf.mongodb.net:27017, someother-shard-00-01-2bhzf.mongodb.net:27017,third-shard-00-02-2bhzf. mongodb.net:27017/DATABASE?&ssl=true

Would be interested to know if anyone has experience using this module with Atlas or can help us understand how we could make the connection.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/isage/lua-resty-moongoo/issues/18, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQtIY58vSulukfkRkiT3sIqPjNuBsafks5tUxqlgaJpZM4SFtFT .