I had a website install a client certificate into my Firefox browser (v35.0.1) on my tablet and I want to export and backup the certificate. I've found out after the fact that Firefox on android doesn't actually provide any native mechanisms for managing the certificate store (and does not integrate with the Android native certificate store). Additionally, all Firefox add-ons I've found are out of date, preventing them from being installed.

I found an article here that suggests copying the cert9.db and key4.db files to PC and using a third-party application to extract the certificate and key, however this device is not rooted and the file browsers I've tried do not allow browsing the true root filesystem. As a workaround, I tried putting the path to the files in Firefox to download them to somewhere more accessible, however Firefox refuses to download them (though of note: it does see the files.

Is there any other way to access the certificate store in Firefox for Android or retrieve the cert/key db files from which I can extract the certificate?

migrated from unix.stackexchange.com Mar 1 '15 at 1:06

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems.

  • Have you tried Firefox's sync facility? I'm not certain if it does sync certificates - worth investigating though. If it does work, you sync with a desktop version and manage/backup certificates from there. – garethTheRed Feb 28 '15 at 11:20
  • I haven't tried that yet, as I don't have access to my desktop right now (though will in a while). I also don't know if the Firefox sync will include the cert db, but I'm somewhat doubtful that it will. I'll have access to my desktop in a couple of hours and will try there when I can. – wraeth Feb 28 '15 at 11:25
  • @garethTheRed - sorry, didn't tag you in my reply. – wraeth Feb 28 '15 at 11:27
  • I still received it though. This plugin installed on my Android Firefox - may be worth a try. I can't confirm whether it worked or not as it simply told me that I had no certificates installed (which is true!). – garethTheRed Feb 28 '15 at 12:09
  • 1
    I'm voting to close this question as off-topic because it is an Android question, not a Linux question, since it's really about software on the tablet and not about software on your PC. I flagged for migration to Android Enthusiasts (do not repost). – Gilles Mar 1 '15 at 0:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy