问题描述
首先,这是我在codeproject上的第一个问题,因此我希望我能找到满足我需要的好答案.在下面,您将完全解决我的问题
●我的程序如何工作
1- TCP侦听器[服务器]
2- TCP客户端[客户端]
在帐户登录期间:
First this is my first question here at codeproject so i hope i find good answers that satisfies my needs. Below you will my problem exactly
●How my program works
1- TCP Listener [Server]
2- TCP Client [Client]
During Account Login:
1- C > S : Username&Password [Encrypted using blowfish]
2- S < C : Invalid\Valid Login Credentials
●我要实现的目标
确保我的客户端连接到的服务器是真实服务器,而不是其他任何伪造的服务器,并在客户端和服务器之间提供最佳的安全通信
●我尝试过的事情
我试图将SSLStream与自签名证书一起使用,但是我不知道如何通过SSLStream实现我想要的东西.我是否也被迫支付证书费用!?
注意:我负担不起付费认证,因为它是2k ++ $
●结论-总结问题-
我想要一个很好的总体解释SSLStream的工作原理,如何确保客户端连接到真实的服务器,并且该客户端是真实的客户端
●What i want to achieve
Making sure that the server which my clients connects to is the real server and not any other fake server, and provide the best secure communication between my client and server
●What i have tried to
I tried to use SSLStream with a self signed certification but i don''t have any clue about how to achieve what i want with SSLStream Also am i forced to pay for certification !?
NOTE : I can''t afford paid certification cuz it is 2k++$
●Conclusion -Concluded Question-
I want a good OVERALL explanation of how SSLStream works, how to make sure that the client connects to the real server, Also that the client is the real client
推荐答案
这篇关于C#SSLSTREAM问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!