What version of SSL/TLS does System.Web.Services.Protocols.SoapHttpClientProtocol use?

前端 未结 2 1998
囚心锁ツ
囚心锁ツ 2021-01-18 22:26

Now that SSL 3 has been found to be vulnerable to the POODLE attack:

What version of SSL/TLS does System.Web.Services.Protocols.SoapHttpClientProtocol use when conne

相关标签:
2条回答
  • 2021-01-18 23:09

    SSL version should be driven by static property System.Net.ServicePointManager.SecurityProtocol. In my box it is set to "SSLV3 | TLS". You can set to to TLS12.

    0 讨论(0)
  • 2021-01-18 23:16

    Decompiling the SoapHttpClientProtocol class reveals that it does indeed use System.Web.WebRequest under the hood.

    The various methods for invoking requests (Invoke, InvokeAsync, BeginInvoke) all end up calling GetWebRequest, which calls the base class WebClientProtocol.GetWebRequest, which is where the WebRequest is constructed.

    It follows then that answer to What version of SSL/TLS does System.Net.WebRequest use? does also apply here.

    0 讨论(0)
提交回复
热议问题