Is there a way to get SSL certificate details using JavaScript?

Posted by sHz on Stack Overflow See other posts from Stack Overflow or by sHz
Published on 2010-04-09T00:39:29Z Indexed on 2010/04/09 0:43 UTC
Read the original article Hit count: 435

Hi all, I'd like to gather certain details of an SSL certificate on a particular web-site. I know this is straightforward using the openssl tool on Linux/MacOSX. However is the same or similar possible in JavaScript?

I understand that the browser handles socket connections and that the SSL handshake occurs prior to any party sending data. However in an XMLHTTPRequest, I'd like to know if its possible to get these details as some sort of response code etc?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ssl