Firefox - 无法通过智能卡密码登录公司网站

Firefox - 无法通过智能卡密码登录公司网站

我无法通过智能卡 PIN 登录企业网站。此功能在其他浏览器 Chrome/Brave/Edge 等上可用。

Secure connection failed

A PKCS #11 module returned CKG_GENERAL_ERROR, indicating that an unrecoverable error has occurred.

Error code: SEC_ERROR_PKCS11_GENERAL_ERROR

我正在使用 TPM 2.0。

在此处输入图片描述

答案1

步骤1

安装 OpenSC,它是适用于 Firefox 的智能卡密码开源驱动程序。安装 Windows MSI 64 位安装程序。 https://github.com/OpenSC/OpenSC/releases/tag/0.22.0

第2步

按照此处的说明,将驱动程序添加到 Firefox 并开始使用。

在 Firefox 中逐步安装 OpenSC PKCS#11 模块 · OpenSC/OpenSC Wiki · GitHub https://github.com/OpenSC/OpenSC/wiki/Installing-OpenSC-PKCS%2311-Module-in-Firefox,-Step-by-Step

当驱动程序加载到 Firefox 中时,它看起来是这样的, 在此处输入图片描述

步骤3

重新启动浏览器并尝试再次登录您的公司网站。

现在您将收到输入 PIN 的提示。

答案2

安装 OpenSC 是没用的。
[1]:https://i.stack.imgur.com/CYdmG.jpg [2]:https://i.stack.imgur.com/mPfBp.jpg

路径必须是:C:\Windows\System32\cardos11_64.dll 使用“连接”按钮进行测试。

我每天都在用我的企业 PKI 卡来使用它。

相关内容