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

15 answers

Sort by: Oldest
  1. Limitless Technology 40,116 Reputation points
    2022-02-15T23:06:31.54+00:00

    Hi @Mathias Ottsen

    "A fatal error occurred while creating a TLS client credential. The internal error state is 10013" occurs when the client and server cannot agree on a mutual cipher to use to establish a secure connection.

    If you are having connectivity issues with a specific resource or internet site, for example, then you should review your TLS/SSL settings. These settings can be accessed by running inetcpl.cpl and going to Advanced > Scroll down to Security and note the TLS settings.

    Here is a thread as well that discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.

    A fatal error occurred while creating a TLS client credential. The internal error state is 10013
    https://social.technet.microsoft.com/Forums/office/en-US/5966745a-c792-4c3b-b98b-f2db284413d0/a-fatal-error-occurred-while-creating-a-tls-client-credential-the-internal-error-state-is-10013

    Hope this resolves your Query!!

    --------
    --If the reply is helpful, please Upvote and Accept it as an answer--

    Was this answer helpful?

    2 people found this answer helpful.

  2. Joakim Bergquist 6 Reputation points
    2022-08-03T10:25:29.527+00:00

    Any update on this?
    It seems to have shown up on our clients after some of the last months KB patches.
    We see this on random clients now and it affect our 802.1.x wireless authentication with client certificate.

    I have also tried above regfixes etc but nothing seem to help. Microsoft Enterprise support was not very helpful.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

  3. Eke Dubois 6 Reputation points
    2022-08-31T15:42:34.097+00:00

    Same here @Joakim Bergquist

    Post Windows updates, more systems are being affected. Crashing suddenly. Need a fix.

    Was this answer helpful?

    1 person found this answer helpful.

  4. Anonymous
    2022-09-01T17:27:28.897+00:00

    My L3 support is thinking it has to do with Windows 10 20H2 and upgrading to 21 will fix this. Updating drivers 1 by 1 to fix the issue until the new OS is pushed to all our laptops.

    Was this answer helpful?

    1 person found this answer helpful.

  5. CommadoreVic20 1 Reputation point
    2022-09-01T19:41:19.067+00:00

    i spoke too soon it just crashed right in front of me :(

    Was this answer helpful?

    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.