In order to set HTTP2 authority in go grpc with a secure connection, the 
following function cant be used:

func *WithAuthority*(a string) DialOption .   (in

The above function only works with an insecure connection. The only way to 
pass the authority is to pass it with the following:

credentials.NewClientTLSFromCert(certpool, serverNameOverride) 

Which is overriding the servername that could be used as an authority! 
Could you tell me why the more conventional way which is directly adding 
the authority as an option would not work? this works for other languages 
such as python and java.


You received this message because you are subscribed to the Google Groups 
"" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to