在任何浏览器中加载 EToken 证书
我正在开发一个基于 EToken 进行身份验证的应用程序(具体来说,我们使用的是阿拉丁 eTokens)。以前我们只使用在客户端浏览器中添加的普通(文件证书)证书,并且它与 Mozilla 和 Internet Explorer 配合良好,我们使用小程序在浏览器中加载证书。
现在,问题出在 eToken 上,当我们将设备插入机器时,它也会加载证书,但我无法在 Mozilla Firefox 中加载特定证书,相同的小程序代码在 IE 上运行良好。在 Firefox 中,我收到类似 java.security.InvalidKeyException: Unsupported key type: null 的错误,表示私钥/公钥为 null,Mozilla 无法访问 eToken 证书的密钥。
如果您有任何线索,请帮助我。
I am working on an applicaion which does authentication based on EToken (Specifically we are using aladdin eTokens). Previously we are using just normal (File Certificates) certificates to which were added in clients browser, and its working well with Mozilla and Internet Explorer, we are using applet to load the certificates in the browser.
Now, the problem comes with the eToken it also load the certificates when we insert the device into the machine but I am not able to load the particular certificate in Mozilla Firefox the same applet code is working fine with IE. In firefox I am getting error something like java.security.InvalidKeyException: Unsupported key type: null that says that the private/public key is null, Mozilla is not able to access the keys of the eToken Certificate.
If you got any clue please help me out.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来问题与
pkcs11.cfg
更多相关检查配置文件
它应该对您有帮助。
It seems the issue is more related with
pkcs11.cfg
Check configuration file
It should help you.