nix
nix

Reputation: 2285

How to disable SSL in Azure's DocumentDB?

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

Answers (2)

Siddhesh Vethe
Siddhesh Vethe

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

Aravind Krishna R.
Aravind Krishna R.

Reputation: 8003

DocumentDB does not support disabling SSL (it's secure by default).

Upvotes: 4

Related Questions