Azure通知中心请求已中止:无法创建SSL/TLS安全通道

Azure通知中心请求已中止:无法创建SSL/TLS安全通道,azure,notifications,Azure,Notifications,这一直有效,直到现在,我们才能够使用格式为Endpoint=sb:// 但现在我们得到了 请求被中止:无法在线路上创建SSL/TLS安全通道异常 代码或集线器设置没有任何更改。我们可以通过以下方式或通过强制tls 1.2来解决此问题: ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls1

这一直有效,直到现在,我们才能够使用格式为
Endpoint=sb://

但现在我们得到了

请求被中止:无法在线路上创建SSL/TLS安全通道异常

代码或集线器设置没有任何更改。

我们可以通过以下方式或通过强制tls 1.2来解决此问题:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;