使用.NET 2.0 exe中的TLS 1.2在Windows Server 2012上调用aspx文件 [英] Call aspx files on windows server 2012 with TLS 1.2 from .NET 2.0 exe

查看:250
本文介绍了使用.NET 2.0 exe中的TLS 1.2在Windows Server 2012上调用aspx文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基于.net 2.0的exe,它与Windows Server 2012上的aspx文件通信.exe调用aspx文件来获取数据。



Will如果使用TLS 1.2升级Windows Server 2012会有任何问题吗?



尝试连接https时出错?



我尝试了什么:



尝试使用vs连接到服务器aspx文件,但得到TLS错误。任何解决方法?

I have an exe built on .net 2.0 which communicates with aspx files on Windows Server 2012. The exe calls the aspx files for getting the data.

Will there be any issue if Windows Server 2012 is upgraded with TLS 1.2 ?

I get error when trying to connect with https?

What I have tried:

Tried to connenct to server aspx files using vs but get TLS error. any workaround?

推荐答案

您需要根据.NET 3.5重新编译应用程序;在运行它的计算机上安装修补程序;并更改代码以启用TLS支持:

支持Windows Server 2012上的.NET Framework 3.5中包含的TLS系统默认版本 [ ^ ] br />


或者,您可以将应用程序升级到.NET 4.5或更高版本。您仍然需要更改代码以启用TLS 1.2,或者在应用程序运行的所有计算机上的注册表中设置一个标志:

在.NET Framework 4.5或更高版本中启用强加密 [ ^ ]



注意:如果您的应用程序在Vista,Server 2008或任何早期版本的Windows上运行,则不能即使安装了此修补程序,也支持TLS 1.2。
You'll need to recompile the application against .NET 3.5; install a hotfix on the machines that run it; and change the code to enable TLS support:
Support for TLS System Default Versions included in the .NET Framework 3.5 on Windows Server 2012[^]

Alternatively, you can upgrade your application to .NET 4.5 or higher. You will still need to either change the code to enable TLS 1.2, or set a flag in the registry on all machines where you application runs:
Enable strong cryptography in .NET Framework 4.5 or higher[^]

NB: if your application is running on Vista, Server 2008, or any earlier version of Windows, you cannot support TLS 1.2 even if you install the hotfix.


这篇关于使用.NET 2.0 exe中的TLS 1.2在Windows Server 2012上调用aspx文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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