I have faced the following error at a client when trying to setup a Forefront TMG 2010 array in a work group environment, however this error is not related to TMG itself so you might encounter it in any setup when your server is using Certificates for server authentication.

When building my Forefront TMG 2010 Array the server designated as configuration storage started logging in the the event log the below error every other minute, I did try to issue another certificate for it and even uninstalled and installed TMG again but nothing did the trick.

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

The solution to my problem was granting the Network Service Read permission on the certificate and this is how I did it

Changed directory to C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys by using cd C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

Then listed the certificated installed on the machine using certutil –store My and identified the certificate to be used

At this point I would like you to notice that if you issue a dir /as in the C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys you will see a list of hidden files who’s names correspond to the “Unique container name” in the screenshot above

The final step is to give the Network Service read permission on this certificate using icacls /grant “NETWORK SERVICE”:(R)

I have been working in IT consultancy and solution integration since 1998 and I consider myself lucky to be, one in a few, making a living out of my passion.
I am also member of the famous Experts Exchange (profile here) online community where I try my best to share what I have learned along the road.

It seems that my file is missing – is there a way to recreate my private key? Every page I go to that switches from http to https, or needs security (such as my online backup solution), doesn’t work properly, and in the case of my online backup, doesn’t work at all. Any help is greatly appreciated.