简体   繁体   English

无法使用TLS 1.2协议(Twitterizer2.dll)发布推文

[英]Cannot post tweets using TLS 1.2 protocol (Twitterizer2.dll)

We just recently disabled other protocols and enabled TLS 1.2 only. 我们刚刚禁用了其他协议,仅启用了TLS 1.2。 After doing so, the TwitterApp that posts tweets suddenly was not functioning properly. 之后,发布推文的TwitterApp突然无法正常运行。 I suspect that the third party library was using SSL or lower versions of tls. 我怀疑第三方库正在使用SSL或更低版本的tls。

The Application was created using c# and is using Twitterizer2.dll. 该应用程序是使用c#创建的,并且正在使用Twitterizer2.dll。

Hi Have you try to set this in your POST REQUEST? 嗨,您是否尝试过在POST REQUEST中设置此项?

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM