none
How to enable TLS 1.2

    질문

  • Hi,

    We have several POSReady and .NET framework 4.0 applications that require TLS 1.2. We tried 2 different approaches as listed below but couldn't get the application to send TLS 1.2 requests. OS upgrade is not an option for us at this time. What else can we try to get TLS 1.2 to work in Windows XP POSReady SP3?

    Approach 1

    Installed update KB4019276 and configured registry settings. Leave application code unchanged.

    [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

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
    "DisabledByDefault"=dword:00000000
    "Enabled"=dword:00000001

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
    "DisabledByDefault"=dword:00000000
    "Enabled"=dword:00000001

    Approach 2

    Installed update KB4019276 and configured registry settings as shown above. Set security protocol in code:

    ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; //TLS 1.2


    2018년 6월 12일 화요일 오후 6:45