Clear ssl client certificate state from javascript in firefox 33.0.2 (removed Proprietary window.crypto)

后端 未结 2 1384
执笔经年
执笔经年 2021-02-08 08:16

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 clien

相关标签:
2条回答
  • 2021-02-08 08:40

    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

    0 讨论(0)
  • 2021-02-08 08:50

    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/

    0 讨论(0)
提交回复
热议问题