A fatal error occurred when attempting to access the TLS server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001

Ertan 41 Reputation points
2023-12-09T10:53:02.8633333+00:00

Hello, I have Windows Server 2019 operating system and I am having a problem. I request your help.

I wrote a websocket. and I added it to my website.

Websocket establishes a connection with the certificate. (wss://)

There is no problem in Windows 10 Local or Windows 10 ISS.

However, this problem occurs in Windows Server ISS.

Windows event Log:

[Image

Error given by the application:

[Image

windows server ISS Websocket Activated.

[Image

Windows for business Windows Client for IT Pros Networking Network connectivity and file sharing
Windows for business Windows Server User experience Other
{count} vote

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-12-20T02:09:28.3833333+00:00

    Hello,

    Thank you for posting in Q&A forum.

    Please try below steps and see if it helps on this issue.

    1. Make sure that the SSL/TLS certificate for WebSocket (wss://) on Windows Server is configured correctly.
    2. You can also check if private key associated with the SSL/TLS certificate is accessible and valid.
    3. Check if the account used to run the ISS application pool has the permission to access the private key.
    4. Restart the ISS service and see if it works.

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.