Hi,
I’m trying to develop an addon (using jpm) to show certain information about the ssl/tls certificate of the current web page.
Unfortunately I didn’t found anyway to retrieve the ssl certificate of the current tab. I found this blockpost: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/How_to_check_the_secruity_state_of_an_XMLHTTPRequest_over_SSL but in this solution there would be a new xmlhttprequest request for every check and i don’t think that that can be a good solution. Furthermore i would get problems when i would try to check websites with self signed certificates.
Are there any ways (i didn’t found) to ask the tab or window to return the current certificate? I noticed that a tab has the property url so i can get the current url but I didn’t found anyway to access the security information…
Do you have any ideas? Thanks in advance…
Best regards,
Chris