A fatal error occurred while creating a TLS client credential.

Mathias Ottsen 116 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 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,964 questions
{count} votes

14 answers

Sort by: Most helpful
  1. 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

  2. Aarif Mirza (US) 16 Reputation points
    2022-09-13T20:32:05.643+00:00

    Thats great! Mine is still crashing, even after update

    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. 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

Your answer

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