清除ssl客户端证书状态从javascript在firefox 33.0.2(已删除Proprietary window.crypto) [英] Clear ssl client certificate state from javascript in firefox 33.0.2 (removed Proprietary window.crypto)
问题描述
我正在寻找一种方法来清除Firefox中的SSL客户端证书缓存作为一种注销功能,以便服务器不再通过客户端证书识别我下次连接到它。 clear-ssl-client-certificate-state-from-javascript 的解决方案a>
if(window.crypto)window.crypto.logout
在当前版本的Firefox中不再工作。
使用firefox 33.0.2,专有window.crypto属性/函数将被删除
如何在当前Firefox版本中执行此操作?
您可以通过设置
dom来启用 window.crypto
.webcrypto.enabled = true
在 about:config
。
但是没有替换FF 33的情况。
似乎Mozilla在FF34中回滚了,所以它应该
有一个替换:
http://www.w3.org/TR/WebCryptoAPI/
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?
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/
这篇关于清除ssl客户端证书状态从javascript在firefox 33.0.2(已删除Proprietary window.crypto)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!