How do I identify my server name for server authentication by client in c#

后端 未结 6 1829
清酒与你
清酒与你 2021-02-04 04:11

I have recently been trying to make a SSL encrypted Server/Client in C#.

I have followed this tutorial on MSDN, however, it required a certificate to be created for the

6条回答
  •  无人共我
    2021-02-04 04:32

    In regard to your update:

    One of the SslStream constructors allows you to provide a RemoteCertificateValidationCallback delegate. You should be able to put a breakpoint in the method that you provide to see what the actual error you're getting is. Check the SslPolicyErrors value sent in.

提交回复
热议问题