哪些版本的SSL / TLS的呢System.Net.WebRequest支持? [英] Which versions of SSL/TLS does System.Net.WebRequest support?

查看:310
本文介绍了哪些版本的SSL / TLS的呢System.Net.WebRequest支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在的SSL 3已经被认为是脆弱的狮子狗攻击:

Now that SSL 3 has been found to be vulnerable to the POODLE attack:

连接时,以下哪SSL / TLS版本确实System.Net.WebRequest使用任何HTTPS URI?

Which versions of SSL/TLS does System.Net.WebRequest use when connecting to any https Uri?

我用的WebRequest连接到几个第三方的API。其中的一个已经表示,他们将阻止使用SSL 3.但是WebRequest的是(使用4.5)。净核心框架的一部分,所以它不是很明显,它使用的是什么版本的任何请求。

I use WebRequest to connect to several 3rd party API's. One of these has now said they will block any request that uses SSL 3. But WebRequest is part of the .Net core framework (using 4.5) so it is not obvious what version it uses.

推荐答案

在使用System.Net.WebRequest您的应用程序将与服务器协商确定,无论您的应用程序和服务器的支持,并使用这个最高TLS版本。你可以看到更多的细节如何在这里工作:

When using System.Net.WebRequest your application will negotiate with the server to determine the highest TLS version that both your application and the server support, and use this. You can see more details on how this works here:

<一个href=\"http://en.wikipedia.org/wiki/Transport_Layer_Security#TLS_handshake\">http://en.wikipedia.org/wiki/Transport_Layer_Security#TLS_handshake

如果服务器不支持TLS它将退回到SSL,因此有可能退回到SSL3。你可以看到所有的.NET版本4.5支持位置:

If the server doesn't support TLS it will fallback to SSL, therefore it could potentially fallback to SSL3. You can see all of the versions that .NET 4.5 supports here:

<一个href=\"http://msdn.microsoft.com/en-us/library/system.security.authentication.sslprotocols(v=vs.110).aspx\">http://msdn.microsoft.com/en-us/library/system.security.authentication.sslprotocols(v=vs.110).aspx

在为prevent您的应用程序是容易受到贵宾,您可以在您的应用程序上按照这种解释运行在计算机上禁用SSL3:

In order to prevent your application being vulnerable to POODLE, you can disable SSL3 on the machine that your application is running on by following this explanation:

<一个href=\"http://serverfault.com/questions/637207/on-iis-how-do-i-patch-the-ssl-3-0-poodle-vulnerability-cve-2014-3566\">http://serverfault.com/questions/637207/on-iis-how-do-i-patch-the-ssl-3-0-poodle-vulnerability-cve-2014-3566

这篇关于哪些版本的SSL / TLS的呢System.Net.WebRequest支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆