开发者

Converting from cert8.db to PEM

开发者 https://www.devze.com 2023-03-07 15:54 出处:网络
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

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 datab开发者_开发问答ase.

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号