Accessing Private Key causes Windows to show Dialog Box – How to Suppress

Question:  Calling CkXmlDSigGen.SetX509Cert causes Windows to show a dialog box requesting validation.  Is it possible to avoid the dialog box? Answer: Yes.  The reason for displaying the dialog box  is because the cert + private key was imported with the option to enable strong private key protection.  Here’s a screenshot …

Installing a Certificate with Private Key for Use by IUSR, SYSTEM, or Service Windows Accounts

This article provides a step-by-step procedure for installing a certificate w/ private key (from a .PFX) so that it will be usable from ASP, ASP.NET, a Windows Service, or the SYSTEM account: