Click here to get back home

Certificate attributes for Smart Card Logon

 HomeNewsGroups | Search

microsoft.public.windows.server.security - Supporting MS Windows network? Read here before it's too late! 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Certificate attributes for Smart Card Logon Aumy 01-13-2009
Posted by Aumy on January 13, 2009, 3:31 am
Please log in for more thread options
Hi,

I set up smart card logon to my windows 2003 domain for XP clients. I use a
AD-integrated Microsoft Enterprise CA 2003 as issuing CA. My domain
controllers each already have their own certificates.

Question: the default certificate templates "smartcard logon" and "smartcard
user" both have the key usage settings "digital signature" and "allow key
exchange only with key encryption (key encipherment)" set. However, the
knowledge base article
http://support.microsoft.com/default.aspx?scid=kb;en-us;281245 explains that
smart card certificates only need the "digital signature" key usage
attribute. But further down, the article also says that "...Smartcard logon
certificates must have a Key Exchange(AT_KEYEXCHANGE) private key type...".

However, I tested both with and without "allow key exchange only with key
encryption (key encipherment)" set and both types of certificates work for
smart card logon!

So is there anybody out there who can tell me if smart card logon
certificates necessarily need the "key encipherment" attribute?

Thanks,
Chris

PS: we intend to use the same certificate for S/MIME signing (but not
encryption). So if "key encipherment" is set, this certificates can
unfortunately also be used for S/MIME encryption. So it would be nice if
smart card logon reliably works without the "key encipherment" attribute...



Posted by Brian Komar \(MVP\) on January 13, 2009, 8:30 pm
Please log in for more thread options
Just ensure that on the Request Handling tab that the Purpose is set to
Signature and Smartcard logon (rather than Signature and Encryption).
If you enable the Smart Card Logon, Client Authentication, and Secure Email
application Policies, this ensure that the smart card cannot be used for
actual encryption.
Brian

show/hide quoted text


Posted by Aumy on January 14, 2009, 6:06 am
Please log in for more thread options
Thanks Brian.

unfortunately, as far as I know if you have the "Secure Email" application
Policy set, a certificate by default may not just be used for email
signature but also email encryption (Microsoft makes no difference)! This is
show/hide quoted text
smart card with the following purposes/application policies:

encryption keypair
- S/MIME (encryption only)
- Encrypting File System

authentication&signature keypair
- S/MIME (signature only)
- Client Authentication
- Smartcard Logon

I have to use the purpose "Signature" in the "Request Handling" tab for the
authentication&signature keypair due to our token management system, for
which the "Enroll subject without requiring any user input" field must be
selected. The "Application Policies" extensions then shows the 3 application
policies mentioned above. But then, the key usage settings "allow key
exchange only with key encryption (key encipherment)" is not selectable.
This is OK for secure email, because S/MIME encryption will not word with
this keypair (S/MIME signature will work).

Question: For smartcard logon, is it a must to select "allow key exchange
only with key encryption (key encipherment)"? If yes, then we have a problem
with the approach mentioned above...
Reason for the question: both default templates "smartcard logon" and
"smartcard user" have this setting set to on... However, I tested it in my
lab with a certificate template like the one mentioned above and see,
smartcard logon did work without the setting "allow key exchange only with
key encryption (key encipherment)". Is it just a coincidence?

Thanks, Chris



show/hide quoted text



Posted by Brian Komar \(MVP\) on January 14, 2009, 6:55 am
Please log in for more thread options
Answers inline...

show/hide quoted text

Well, this is a problem with your Token Management System then. You should
show/hide quoted text

show/hide quoted text

No, if you had at created the certificate template as I recommended, you
would see that only Digital Signature is enabled, which prevents the use of
the SMIME application policy for SMIME encryption.

show/hide quoted text
These are V1 multipurpose certificates.

However, I tested it in my
show/hide quoted text

show/hide quoted text
Without out the allow key exchange option enabled, then you would not be
able to do SMIME encryption.
show/hide quoted text


Posted by Aumy on January 14, 2009, 12:59 pm
Please log in for more thread options
Hi Brian,

thanks for your help and sorry for my silly questions - I don't have the
possibilities for "real" tests, so that's why I tried to get answers by
asking you again. I definitely don't blame MS PKI.

I read you book while setting up the PKI - It helped me alot, thanks!

cu,
Chris


show/hide quoted text



Similar ThreadsPosted
Smart Card Login + Certificate Login to AD -> Lost smart card December 15, 2005, 10:03 pm
smart card offline logon July 7, 2005, 9:02 am
Smart Card Logon RODC May 22, 2008, 11:06 am
Q: Seconary certificate on a smart card August 5, 2006, 6:24 am
Smart card reader and card supplier in Australia May 5, 2008, 10:37 pm
Re-initialize smart card June 3, 2005, 8:34 am
Smart Card - two readers December 8, 2006, 8:28 am
Smart Card and VPN in Vista. May 26, 2008, 3:36 am
Base Smart Card CSP Update December 7, 2005, 3:12 pm
Question Regarding Smart Card Deployment September 12, 2007, 2:16 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy