This is probably what you are looking for: https://github.com/grpc/grpc/blob/7bf82de9eda0aa8fecfe5edb33834f1b272be30b/include/grpcpp/support/channel_arguments_impl.h#L66
On Tuesday, April 30, 2019 at 6:27:09 AM UTC-7, [email protected] wrote: > > 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/94c8ab1e-6554-4e72-b3b4-737957c63452%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
