Share via

A fatal error occurred while creating a TLS client credential.

Mathias Ottsen 121 Reputation points
2022-02-09T14:35:23.477+00:00

Hey guys,

I've created restrictions on our client devices so that they are only allowed to use TLS 1.2

Now in the event viewer i see tons of error messages:

"A fatal error occurred while creating a TLS client credential. The internal error state is 10013."

From a couple of google search (primarily https://learn.microsoft.com/en-us/dotnet/framework/network-programming/tls#systemdefaulttlsversions) i've tried the following:

Creating the TLS 1.2 key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2
Create subkeys for Client and Server with: DisabledByDefault 0 & Enabled 1

Created dword entries for .net 32 and 64 bit: 'HKLM:\SOFTWARE\WOW6432Node\Microsoft.NETFramework\v4.0.30319' / 'HKLM:\SOFTWARE\Microsoft.NETFramework\v4.0.30319' -name 'SystemDefaultTlsVersions' -value '1' and SchUseStrongCrypto '1' - Steps repeated for each .net framework key v1.0, v2.0.50727 and forth.

As an example

172662-image.png

172567-image.png

Our devices are running Windows 10 Enterprise edition. I've tried to test the changes on my device which is running 20H2.

Anyone with an idea of how i can proceed with the troubleshooting?

Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
{count} votes

15 answers

Sort by: Most helpful
  1. Aleksey Svistunov 0 Reputation points
    2026-01-13T07:58:27.1266667+00:00

    I encountered this error when I tried to run the Microsoft Store and Xbox apps on my Windows 11 Home 25H2.

    User's image

    In the System Events I saw the message:
    A fatal error occurred while creating a TLS client credential. The internal error state is 10013.

    This issue was resolved by enabling TLS 1.2.

    The simplest way to do this is through Internet Properties pane:

    1. Press Win + R
    2. Type inetcpl.cpl and press Enter
    3. In the opened window, go to the Advanced tab
    4. In the Security section check Use TLS 1.2

    User's image

    User's image

    Additionally, for security reasons, it is recomended to:

    1. EnableTLS 1.3
    2. Disable all outdated TLS versions and SSL 3.0

    The registry values mentioned in previous comments are correct, however, the registry entries themselves should not exist by default.

    0 comments No comments

  2. Tung Tran 0 Reputation points
    2023-09-11T06:00:13.4866667+00:00

    Still error, no help.

    Microsoft, please fix it.

    0 comments No comments

  3. eberrocal 1 Reputation point
    2023-01-05T22:04:53.603+00:00

    I have seen this for a couple of years now. several end points...no issues were reported.

    no solution,


  4. Anonymous
    2022-09-13T20:32:05.643+00:00

    Thats great! Mine is still crashing, even after update

    0 comments No comments

  5. CommadoreVic20 1 Reputation point
    2022-09-13T19:55:38.457+00:00

    as of 9/13/2022 i have not had a crash on my test machine, not sure if an update fixed or not but it continues to run

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.