I would like to ask about the authentication of a user to Active Directory with the X509 certificate. I saw a similar question: Client Authentication via X509 Certificates in asp.net however the answer says that it requires the login and password. The scenario that I would like to achieve is this:
- User clicks on the login button: "Login with smart card";
- The system reads the card using some reader or build in reader to the laptop (let's say it wait 5 seconds for the user to use the card)
- The system authenticates the user with AD
The smart card contains both the public and the private key.
Can and if yes, how this could be achieved? I would like to understand also how the website (.net core) should communicate with the AD, where should this be placed?