Is it possible in GRPC C++ to separate the endpoint used in the TCP 
connection from the server name that is verified by SSL?

The simple case for an SSL client connection setup is this:

auto channel = grpc::CreateChannel("myhost.domain:50051", grpc::
> SslCredentials(grpc::SslCredentialsOptions()));
>
>
The host name "myhost.domain" is used to make the TCP connection and is 
used by SSL to verify the servers certificate.

I would like to connect to  a TCP address as endpoint (e.g. 
"10.1.2.3:50051") and to let SSL verify that the server name in the 
certificate is "myhost.domain".
Is this possible and how ?

Thanks

-- 
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/613ace35-80bc-4a52-b7bf-11b80024adab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to