-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
kind/questionSomething requiring a response.Something requiring a response.
Description
I'm trying to set up secure GRPC connection. What have I done so far:
- generate certs using
dgraph cert - verify fingerprints and certs using open ssl (
openssl verify -verbose -CAfile ca.crt node.crt) - check the connection and certs crescents with
openssl s_client -connect 176.9.122.98:9080 -CAfile ca.crt - set up connection:
const rootCert = fs.readFileSync(path.join(__dirname, 'certs', 'ca.crt'))
const clientData = new dgraph.DgraphClientStub(
'<my_external_machine_IP_address>:9080',
grpc.credentials.createSsl(rootCert)
)- try to connect:
Error: 14 UNAVAILABLE: Connect Failed
In addition i configured NGINX grpc proxy, first without SSL (works fine), then with SSL (same error as
above).
Any ideas what else to check and what can be wrong? Did anyone successfully configured dgraph-js to work with TLS?
Metadata
Metadata
Assignees
Labels
kind/questionSomething requiring a response.Something requiring a response.