We need to access the public key (or certificate) of the server from the client-side browser. When I access the HTTPS side, the browser downloads the server certificate. We need to get this certificate (or public key) in order to use it in our client-side code (JavaScript) and do some cryptographic operations with it. We are looking for a solution without developing plug-ins for browsers (IE, Firefox, Chrome).
Are there, for example, some browser-specific extensions (JavaScript can detect the browser used and use the JavaScript methods associated with the browser to access the certificate) that can help us read the server certificate on the client side?
Is this link http://social.msdn.microsoft.com/Forums/ie/en-US/b4ffc420-4a7e-450d-90fe-2df60fb25e8d/accessing-the-ssl-server-certificate-of-a-webpage themes what can we use in IE? If so, how to use it?
source share