If ssl_ca_cert options is present, MongoID will use SSL no matter there is no ssl=true in URI #5960
-
|
Hi,
again, could be it is just me and that I am wrong, in that case: I am sorry! 😞 Anyway, big thanks for all great work you all did creating this library! 🥇 🙂 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hey @jerko-culina, Just a quick note since I can see you're connecting to an Atlas cluster, if you're using the SRV connection string (ex: The and the You may notice that there is no
Essentially, it's not a bug, but a feature :) Removing If you're NOT using the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks a lot for clarification. Yes, I am using |
Beta Was this translation helpful? Give feedback.
Hey @jerko-culina,
Just a quick note since I can see you're connecting to an Atlas cluster, if you're using the SRV connection string (ex:
mongodb+srv://osnonprod.depsp.mongodb.net), this URI scheme uses DNS to perform queries to supply the connection string options (aTXTand anSRVquery).The
SRVquery would provide the seedlist of hosts for your replica set as follows: