Reputation: 2285
I'm trying to run a blockchain explorer which requires connection to MongoDb. I decided to use DocumentDB, since it's supposed to be compatible with apps written for mongo. I used my DocumentDb credentials and found out that it won't work, because DocumentDB requires /ssl=true
at the end of a connection string, enforcing SSL connection. This explorer cannot connect via SSL. So, I need to disable SSL for DocumentDB. How can I do that?
Upvotes: 0
Views: 2321
Reputation: 226
As blockchain explorer is written in nodejs, it should be pretty easy to modify it to connect using SSL.
Just append "/?ssl=true" at the end of connection string (i.e. dbString variable) generated .js files listed in https://github.com/iquidus/explorer/search?utf8=%E2%9C%93&q=dbsettings (excluding settings.js which holds the actual values)
Upvotes: 0
Reputation: 8003
DocumentDB does not support disabling SSL (it's secure by default).
Upvotes: 4