从 cert8.db 转换为 PEM
我在 /home/hari/Desktop/certs 目录中有一个 cert8.db 。现在我想将其转换为 PEM。尝试通过首先尝试使用 pkutil 将 pkcs12 中的 cert8.db 导出到 pem 来做到这一点
pk12util -o cert.pem -n cert8.db -d /home/hari/Desktop/certs
但这会引发错误
pk12util: function failed: security library: bad database.
我不知道这里出了什么问题。请帮我解决一下。此外,任何有关替代方法的建议也将不胜感激。预先非常感谢。
I am having a cert8.db in /home/hari/Desktop/certs directory. Now I want to convert this into PEM. tried to do this by first trying to export the cert8.db in pkcs12 to pem using pkutil
pk12util -o cert.pem -n cert8.db -d /home/hari/Desktop/certs
However this throws an error
pk12util: function failed: security library: bad database.
I have no idea what's going wrong here. Please help me out with it. Also any suggestions on alternative ways of doing this would also be greatly appreciated. Thanks a lot in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您现在可能已经发现该文件属于 Mozilla Firefox 4.x - 安全数据库。在 Windows 7 Pro 上,由于某种奇怪的原因,它存储在系统根目录中,这导致我的安全软件变得疯狂......
再说一遍,您的环境中可能没有安装 Firefox。
You probably have figured it out by now, that the file belongs to Mozilla Firefox 4.x - security database. On Windows 7 Pro this is stored on the system root for some odd reason, that causes my security software to go nuts...
Then again, you might not have Firefox installed in your env.