I believe what you want is
https://github.com/grpc/grpc/blob/b880b796eb7ba0cdf8e61069422afd423d92c53a/src/csharp/Grpc.Core/ServerCredentials.cs#L75

example usage:
https://github.com/grpc/grpc/blob/b880b796eb7ba0cdf8e61069422afd423d92c53a/src/csharp/Grpc.IntegrationTesting/SslCredentialsTest.cs#L52



On Tue, Aug 7, 2018 at 3:16 AM Muxi Yan <[email protected]> wrote:

> Hi Rob,
>
> I am not familiar with the c# API. CC'ing jtattermusch@ who can
> definitely help.
>
> On Mon, Aug 6, 2018 at 6:10 PM Rob Cecil <[email protected]> wrote:
>
>> Muxi, how would a c# server specify mutual TLS ?
>>
>> Thanks
>>
>> On Mon, Aug 6, 2018 at 8:43 PM Muxi Yan <[email protected]> wrote:
>>
>>> Requirement of mutual TLS is from server's configurations. If it is
>>> required by the server, the client can configure it with this function
>>> <https://github.com/grpc/grpc/blob/master/src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h#L35>
>>> .
>>>
>>> On Mon, Aug 6, 2018 at 5:24 PM Rob Cecil <[email protected]> wrote:
>>>
>>>> The online Grpc guide for authorization:
>>>>
>>>> https://grpc.io/docs/guides/auth.html
>>>>
>>>> Speaks about SSL/TLS:
>>>>
>>>>
>>>>    - *SSL/TLS*: gRPC has SSL/TLS integration and promotes the use of
>>>>    SSL/TLS to authenticate the server, and to encrypt all the data 
>>>> exchanged
>>>>    between the client and the server. Optional mechanisms are
>>>>    available for clients to provide certificates for mutual authentication.
>>>>
>>>> Can someone elaborate when Mutual TLS is required in Grpc for iOS and
>>>> how to configure it ?
>>>>
>>>> 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/e3fffd57-bbd0-4767-b114-4f4307ad9736%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/grpc-io/e3fffd57-bbd0-4767-b114-4f4307ad9736%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 

Jan

-- 
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/CACF4M0QP--Pi29cw7bwdZvvuJQRbc1VzzJB99zZ75JdcBsOW0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to