Check in Javascript if a SSL Certificate is valid

Posted by MB on Stack Overflow See other posts from Stack Overflow or by MB
Published on 2010-04-11T22:26:06Z Indexed on 2010/04/11 22:33 UTC
Read the original article Hit count: 204

Filed under:
|
|

Hi.

Is there a way to check in Javascript if given a host it's SSL certificate is valid? (non blocking)

In my case I want to display: "you can also use https://.." if via javascript I can make a request to https://my_url without being asked to accept an untrusted certificate.

Can this be done asynchonously?

-- M.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ssl