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

This information simply isn’t exposed to javascript, it is so rarely used (well never since it isn’t available, but it would be rarely used) that it wasn’t deemed important enough to add to the javascript object model I suppose…same for any very rarely used feature left out of anything.

Of course, it could have also been left out for security reasons…I’m not creative enough to come up with one at the moment, but I’m sure there’s an exploit to be had there as well.

Leave a Comment