Search the Site

My Social
Meta
Powered by Squarespace
« 'Official' Nikon Hand Strap II Review | Main | Them Crooked Vultures @ HMH »
Thursday
Aug122010

Microsoft Cryptographic Store and Passwords

We've been experimenting with with the use of user certificates for VPN access to the lab. Issuing, and using them isn't the problem. The problem is that there's no way of enforcing a password on the use of the private key. You can use private key protection on the certificate template, but that still doesn't enforce a password requirement. The user still has the option to choosing for the notification instead of a password.

Certificate Template - Request Handling OptionsThere's an option to enforce a password, but that's system wide for the Microsoft Cryptographic Service Provider, and we don't want to enforce passwords for ALL certificates. We just want to enforce passwords for this specific template.

Registry setting for private key password enforcementAdd the following DWORD-key: ForceKeyProtection to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Cryptography, and give it a value of 2.

Why is there a 'prompt only' security measure? You should have two choices in the template;

  • No Security - No questions asked and the system / user can access the private key without any user input.
  • Security - The user must provide a password for accessing the private key.

The Certificate Template Request Handling as I would like to see it.

Note that Firefox doesn't have the prompt option. It's password or not. Nothing more, nothing less. But unfortunately, the (SSL)VPN client uses the standard Microsoft CSP interface...

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>