|
I am getting the error "Unable to Load PFX (0x80090020)." This happens when i issue the line: CertificateChain chain = CertificateChain.LoadPfx(CertPath, CertPassword); This happens on all userids except my own user; including our all powerful domain admin userids. Any idea what is causing this error? Thank you, Bob Feller |
|
Unfortunately, this error is not very specific. It was reported by Windows CryptoAPI's PFXImportCertStore function. Its code is NTE_FAIL and it means that "an internal error occured", which is not helpful at all. Are you able to import these PFX files into the certificate store by double-clicking them in Windows explorer when running under the same user account as the one under which the application runs? Is this an ordinary application executed by the user, or is it a service or an ASP.NET application? Is there any difference if you specify The following C# code should reproduce the issue without using any Rebex code:
(If you prefer VB.NET, please let us know.) Please give this a try and let us know whether the problem persists. If it does, we would know this is not a Rebex issue and can ask elsewhere. Thank you very much! The KeySetOptions.MachineKeySet did the trick. I appreciate your fast response. Thanks, Bob
(12 Apr '11, 17:46)
BobFeller
|