7

I have a PKCS#12 file which I have successfully imported into Firefox. Now, I would like to import the same file into Linux in order to use public-Key cryptography with these keys. I have tried to import it using Seahorse, but it failed. Maybe PKCS#12 files are designed to be used only with browsers? I would like to know...

Thanks!

1 Answer 1

3

PKCS#12 is a standard made by RSA for PKI (public key infrastructure). This consists of a tree of certificates and their accompanying keys. Your PKCS#12 contains a key and a a chain of certificates starting with the leaf (end entity) certificate, and intermediate certificates that lead up - but may not include - a certificate that is trusted by the other side.

PGP, which is used by Seahorse is a different way of handling public/private keys, based on a web of trust (google it). It is not directly compatible with PKI(X) which you have now. You could extract the key and generate a PGP key out of it, but you would have to reestablish trust anyway, so you might as well use a different key pair...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.