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

后端 未结 6 1894
清酒与你
清酒与你 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:37

    To get this to work with WCF it is neccessary to first create a self-signed root authority certificate and then use it to create the certificate for localhost.

    I'm thinking the same might apply to your project as well, please have a look at this article How to: Create Temporary Certificates for Use During Development for details.

提交回复
热议问题