Related questions
What exactly happens when I set LoadUserProfile of IIS pool?
I faced the following issue.
I run the following code
var binaryData = File.ReadAllBytes(pathToPfxFile);
var cert = new X509Certificate2(binaryData, password);
in two processes. One of the processes runs under LOCAL_SYSTEM and there this code succeeds. Another one …