.NET Framework 3.5和TLS 1.2 [英] .NET Framework 3.5 and TLS 1.2

查看:182
本文介绍了.NET Framework 3.5和TLS 1.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有一个使用.NET 3.5框架的Web应用程序,我想知道它是否与TLS 1.2兼容.在我们的代码中,我们没有规定TLS版本.这是一个旧应用程序,并且现在不在表上进行重新编译.我没有找到有关是否可以的很多信息,但我的印象是兼容性更多地取决于操作系统版本.看来最低要求是2008 R2.目标是让Paypal在7月1日正确沟通.

I currently have a web application that uses the .NET 3.5 framework and I am wondering if it will be compatible with TLS 1.2. No where in our code are we dictating TLS version. This is a legacy application and recompiling is not on the table right now. I am not finding much info on whether you can or cannot, but I was under the impression that compatibility is more dependent on the OS version. It looks like the minimum is 2008 R2. The goal is to get paypal to communicate properly come July 1st.

推荐答案

您可以从

As you can see from the docs, TLS 1.2 is not in the enumeration for SslProtocols, it was added to the enum in .NET 4.5 (thanks @orhun).

.NET 3.5上没有针对TLS 1.2兼容性的解决方法.

There is no workaround for TLS 1.2 compatibility on .NET 3.5.

不幸的是,您必须升级到.NET 4.5或更高版本才能获得TLS 1.2兼容性.

Unfortunately you will have to upgrade to .NET 4.5 or later to get TLS 1.2 compatibility.

编辑10/11/17

我上面的答案不再准确.

My above answer is no longer accurate. In May of 2017, Microsoft released a package to allow TLS 1.2 in .NET 3.5.1.

这篇关于.NET Framework 3.5和TLS 1.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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