none
Request aborted: failed to create SSL / TLS secure channel RRS feed

  • 问题

  • why can't i use httpclient to reach Third-party interfaces which with https,and it hint "Request aborted: failed to create SSL / TLS secure channel".I did a lot of research,and  add "System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;"
    、"ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };" to bypass ssl verification. but  it failed.in addition,In the win10 environment,i can reach,but win7 can't. hope to hear answer,thank you!
    2020年5月19日 9:07

全部回复

  • Hello,

    Thank you for posting in our TechNet forum.

    Win7 is end of support. It is better to upgrade to a supported operating system. 

    According to the official documents, Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows

    "This update requires that the Secure Channel (Schannel) component in Windows 7 be configured to support TLS 1.1 and 1.2. As these protocol versions are not enabled by default in Windows 7, you must configure the registry settings to ensure Office applications can successfully use TLS 1.1 and 1.2."

    For more information, please refer to: 
    https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-wi

    Thank you so much for your understanding and support.


    Best regards,
    Hannah Xiong

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年5月20日 7:21
  • Hello,

    Does this question have any update or has this issue been solved? Also, for the question, is there any other assistance we could provide?

    Thank you so much for your time and support.

    Best regards,
    Hannah Xiong

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年5月22日 3:29
  • Hello,

    I am checking how the issue is going, if you still have any questions, please feel free to contact us.

    Thank you so much for your time and support.

    Best regards,
    Hannah Xiong

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年5月25日 3:24