I'm looking for a way to clear the SSL client certificate cache in Firefox as a kind of "log out" functionality so that the server does not recognize me anymore via the client certificate the next time I connect to it. The solution from clear-ssl-client-certificate-state-from-javascript
if (window.crypto) window.crypto.logout();
does not work anymore in the current version of Firefox.
With firefox 33.0.2 the Proprietary window.crypto properties/functions are removed
How can I do this in the current Firefox version?
Open the Start menu. Search for and open Internet Options. In the dialog box that appears, select the Content tab. Click Clear SSL State.
*Tools > Options > Advanced : Encryption: Certificates - View Certificates ----- Rename the file cert8. db to cert8. db. old in the Firefox Profile Folder to reset all root certificates.
You can enable window.crypto
by setting
dom.webcrypto.enabled = true
in about:config
.
However there is no out of box replacement for FF 33.
It seems like Mozilla rolled it back in FF34, so it should be available there again.
EDIT: There is an replacement: http://www.w3.org/TR/WebCryptoAPI/
There is not an official solution for FF & Chrome. for a unofficial solution see: Web Crypto API — An Authentication of Data and People in SSL
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With