Skip to content

Supplying Servername (TLS+SNI) #6551

@obipawan

Description

@obipawan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions