dimanche 23 avril 2017

Get a url SSL certificate in javascript

I am creating a web extension using javascript and I need to get the SSL certificate of the website my extension is running on.

I first did it using NodeJs module openssl-cert-tools. It works when I do it in the NodeJs console. Then I ran the browerify command to include NodeJs modules in the javascript. But it doesn't work in the web browser.

Does someone have the solution ? Thanks!




Aucun commentaire:

Enregistrer un commentaire