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: https://github.com/grpc/grpc/blob/master/src/ruby/pb/test/client.rb and https://github.com/grpc/grpc/blob/master/src/ruby/pb/test/server.rb.
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? On Tuesday, March 6, 2018 at 4:10:40 AM UTC-8, Dario Duvnjak wrote: > > 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 > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/cdf34e03-1ed7-4cec-bfc1-84e0251e7507%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
