title: Is there a way to import SSL certificate in browser using JavaScript or ajax?
body: <p>When facing an untrusted SSL certificate, all browsers show a dialog asking you to accept or add the exception. I am interested in finding a way in Javascript or ajax to detect the untrusted SSL certificate error, then import it from url to the browser's certificate list programmatically. Is there any way ?</p>