Default SecurityProtocol in .NET 4.5

前端 未结 17 1366
一生所求
一生所求 2020-11-22 03:24

What is the default security protocol for communicating with servers that support up to TLS 1.2? Will .NET by default, choose the highest security

17条回答
  •  醉话见心
    2020-11-22 04:20

    Create a text file with a .reg extension and the following contents:

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
    "SchUseStrongCrypto"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319]
    "SchUseStrongCrypto"=dword:00000001
    

    Or download it from the following source:

    https://tls1test.salesforce.com/s/NET40-Enable-TLS-1_2.reg

    Double-click to install...

提交回复
热议问题