Securing Ratel Server Connection


(Andrew Zahra) #1

I have setup a Dgraph server and Ratel on a cloud host. I have added basic auth to the Ratel endpoint to provide some security, but the server endpoint is still unauthenticated.
Is there any option for protecting the server connection so I can have access via Ratel with some security?

Thanks,
Andrew


#2

You can setup TLS between server (alpha) and client.

https://docs.dgraph.io/deploy/#tls-configuration


(Yasha Prikhodko) #3

If server has TLS enabled, how would Ratel connect to it? There’s no way to pass certs from ratel to authenticate it…


(Charles Lanahan) #4

Someone told me in the #dgraph slack that this functionality currently doesn’t exist for ratel. It should be available in the future.