Working Ruby example of mutual TLS?

15 views
Skip to first unread message

Dario Duvnjak

unread,
Mar 6, 2018, 7:10:40 AM3/6/18
to grpc.io
Hi,

Does anybody have a working Ruby example which implements gRPC with mutual TLS and works with the current version of the grpc ruby gem?
The only example i found is https://github.com/codequest-eu/grpc-demo/, and it's not compatible with the latest gRPC version.

Thanks,
Dario

apo...@google.com

unread,
Mar 12, 2018, 2:51:14 PM3/12/18
to grpc.io
I suggest taking a look at some of the grpc-ruby tests, like https://github.com/grpc/grpc/blob/master/src/ruby/spec/client_auth_spec.rb or the interop client and server:

Note that these examples can get one started but aren't really useable in production because they use the "test certificate authorities" and override the validated server name, in order to run them locally as tests.

Are those examples helpful?
Reply all
Reply to author
Forward
0 new messages