-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
Hi, our team has a grpc server written in go setup behind a HAP and we need to provide a serverName
for the tls+sni configuration. We have go clients and Android clients. With go, it's possible to supply the servername like so
grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{ServerName: "host"}))
and that works.
However, I'm unable to figure out how to supply the serverName
equivalent on android beyond ManagedChannelBuilder#useTransportSecurity
and that doesn't seem to be working. Please help