Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 251861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:37:48+00:00 2026-05-11T21:37:48+00:00

http://support.microsoft.com/kb/892424 When the Smart card is required for interactive logon is set on Active

  • 0

http://support.microsoft.com/kb/892424

When the “Smart card is required for interactive logon” is set on Active Directory, it generates a random password. How do I utilize a smart card to authenticate a user over LDAP from a web application?

How do I know who the user is? Is there a way to access the cert? Can I get it from the session?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:37:48+00:00Added an answer on May 11, 2026 at 9:37 pm

    HTTPS and SSL mutual authentication should be used for this, because client already has at least corporate CA-signed certificate on its smart card stored.

    When mutual SSL authentication is used instead just server authentication, the client certificate is also verified by server, not only the server’s certificate by client (which is more common set-up for e.g. HTTPS enabled e-commerce sites). And you still get encrypted connection as a bonus.

    See e.g. Tomcat 6.0 SSL Configuration HOW-TO. The key point is to have the CA certificate in the trust-store and clientAuth attribute set to true.

    The login auth-method should be also specified to CLIENT-CERT in web.xml of the respective web-application:

    ...
    <login-config>
      <auth-method>CLIENT-CERT</auth-method>
      <realm-name>Foo * Bar * Realm</realm-name>
    </login-config>
    ...
    

    SubjectDN attribute from the client certificate is used to identify the user. LDAP (or ActiveDirectory) can be still used for authorization – e.g. by checking if user belongs to a group.

    It can be difficult to set it all on the first time. To get familiar with all the concepts I recommend following approach:

    • Use BASIC auth-method with user-names and passwords stored in a file
    • Use simple role-based authorization
    • Enable CLIENT-CERT auth-method + simple role-based authorization
    • Incorporate LDAP for checking roles
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://support.microsoft.com/kb/953102 We spent about 50 hours during Christmas holiday to identify this problem, causing
From http://support.microsoft.com/kb/317277 : If Windows XP restarts because of a serious error, the Windows
I can reset FPU's CTRL registers with this: http://support.microsoft.com/kb/326219 But how can I save
I know MSVC can do this via a pragma message -> http://support.microsoft.com/kb/155196 Does gcc
On Windows Mobile metod InternetSetOption http://msdn.microsoft.com/en-us/library/ms918381.aspx does not support option INTERNET_OPTION_HTTP_DECODING is there some
See http://support.microsoft.com/kb/312629/EN-US/ I am using reponse.direct in my app as well and I am
At http://support.microsoft.com/kb/255905 usoft says there is a file msi.chm distributed as part of the
Microsoft has an article ( http://support.microsoft.com/kb/835460 ) which explains how to use the Orca
I read in http://support.microsoft.com/kb/298408 that IIS6.0 automatically responds with a "courtesy redirect" (HTTP 301)
Starting from this example: http://support.microsoft.com/kb/828736 I have tried to add a test function in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.