作者:续2502915941 | 来源:互联网 | 2023-02-06 04:28
IcannotgettheuserstocreaterealcertsfortheirserversbutIdliketodosomesecuritycheck
I cannot get the users to create real certs for their servers but I'd like to do some security checks. So the following is too light because, as I read it, there is no checking on the certs.
我无法让用户为他们的服务器创建真正的证书,但我想做一些安全检查。因此,以下内容太轻,因为在我阅读时,没有检查证书。
ServicePointManager.ServerCertificateValidatiOnCallback= delegate { return true; };
What do you recommend that I have the clients check on the x509 cert? Given that I'm using a .NET language (c#/f#).
您建议我让客户检查x509证书?鉴于我使用的是.NET语言(c#/ f#)。
3 个解决方案