View Full Version : XMLHttpRequest and SSL certificates

May 15th, 2006, 09:39 PM
does anybody know how to, or if it is even possible to, retrieve a server's SSL certificate with the XMLHttpRequest object?

May 15th, 2006, 10:20 PM
I am assuming you meam retrieve the details. You would probably have to have the server read the contents and spit out the info to a page where the XHR object can retrieve it.


May 15th, 2006, 10:29 PM
thanks. I think your approach is correct because there doesn't appear to be any direct way to do it.

The only bummer is that I am writing client-side code and don't have access to the server-side because it was developed by another company. The server-side company requires that my client does some verification on the certificate. Since the XHR object can't do it I guess I'll need to come up with something else to get it done.