I am working on a login page using spring security. The page need to provide an option for user to use their certificate instead of username and password. However I am stuck in following scenarios :
Say you have a certificate signed by XYZ company installed in your browser. Now server (trusted XYZ) wanted to validate the certificate... but questions are :
Q1. How can server 'request' browser to provide "the right certificate" (assuming you have more than one certificate installed in your browser)?
Q2. Is it possible to have a button on the login page for user to send his certificate only when he click on the button?
Q3. Say the server received your certificate, can the server say "yes, you have proof who you said you are" simply by looking into the certificate chain (signed by XYZ company)?
Thanks,
From a security newbie :)