Certificate Import Exception


Note: I have moved to blog at my own domain, so kindly visit this post over there for recent updates or comments. http://www.imranbalouch.com/blog/index.php/2011/04/certificate-import-exception/

While importing a .pfx or .p12 certificate you can come across an exception saying:

An internal error occurred. This can be either the user profile is not accessible or the private key that you are importing might require a cryptographic service provider that is not installed on your system.

The reason for this exception is that You have insufficient permissions to access the DriveLetter:Documents and SettingsAll UsersApplication DataMicrosoftCryptoRSAMachineKeys folder on the computer.

By giving correct permissions to your user on above folder you can get rid of this exception.

Cheers

=============================================

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: