TLS connection - Error: 14 UNAVAILABLE: Connect Failed

danielmai commented :

There is now example code for connecting dgraph-js and Dgraph with mutual TLS. Please see the TLS example linked in the README:

Try out the example feel free to re-open this issue if you’re still having the issue.