TLS 1.2支持 [英] TLS 1.2 support
本文介绍了TLS 1.2支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以知道Azure Service Bus是否支持TLS 1.2吗?如果支持,那么什么版本的.NET Framework是必需的?
May I know whether Azure Service Bus supports TLS 1.2? If supported then what version of .NET Framework is mandatory?
如果不支持TLS 1.2,那有什么替代方法.
谢谢
Ravi
推荐答案
对于ServiceBus中继,这是一些步骤:
For ServiceBus Relays here are some steps:
当前,如果进行以下更改,TLS 1.2应该可以工作
Currently if make the following changes TLS 1.2 should work
- 将连接模式设置为Https.
- ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Https;
- 启用强密码.
UpdateRegistryKey"HKLM:\ SOFTWARE \ Microsoft \ .NETFramework \ v4.0.30319" "SchUseStrongCrypto"; 1"DWORD" - 如果您例如对ACS进行REST调用获取用于Service Bus的令牌,则更新ServicePointManager设置.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
- Set connectivity mode to Https.
- ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.Https;
- Enable strong crypto.
UpdateRegistryKey "HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319" "SchUseStrongCrypto" 1 "DWORD" - Update ServicePointManager settings if you for example make REST calls to ACS acquire a token for use with Service Bus.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
这篇关于TLS 1.2支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文