Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Comodo email certificate installed in Firefox 20, and I've tried (and failed) many times to export the certificate as PKCS12 (error is "Failed to create the PKCS #12 backup file for unknown reasons.").

Since Firefox can't do this job, is there an external tool to do this? Possibly on the command line? I'm on Linux, OpenSUSE 12.3 x64 with KDE 4.10.2.

share|improve this question

1 Answer 1

On openSUSE you have access to the package mozilla-nss-tools. Install it and use the tools certutil and p12util to export a certificate like:

  • find the nickname of your cert using

    certutil -d ~/.mozilla/firefox/YOUR_PROFILE -L
    
  • export the cert as P12 with

    pk12util -o cert.p12 -n "NICKNAME" -d ~/.mozilla/firefox/YOUR_PROFILE
    
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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