清除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)

查看:256
本文介绍了清除ssl客户端证书状态从javascript在firefox 33.0.2(已删除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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆