Hi,

I want to setup TLS encryption and token authentication. Under 
https://grpc.io/docs/guides/auth.html
I found the following example for using SSL:

auto channel_creds = grpc::SslCredentials(grpc::SslCredentialsOptions());auto 
channel = grpc::CreateChannel("myservice.example.com", 
channel_creds);std::unique_ptr<Greeter::Stub> stub(Greeter::NewStub(channel));

The above example does not use a certificate. Is the above code working or is 
the certificate part missing?

-- 
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/d5ae363a-7984-4707-90da-286e9a7fc1cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to