Unable to install self-signed xpi in Firefox 52.1 (@FreeBSD 12-Current) : Firefox says "Appears To Be Corrupt"

Hi,

I am running Firefox 52.1on a FreeBSD 12-Current amd64 box. I am trying to use the informenter xpi by signing it with my own certificate (imported into Firefox cert database) as per the instructions at https://developer.mozilla.org/en/docs/Signing_a_XPI

After packing the xpi (with zip), I am able to open the archive in Ark. The contents seem to be good too :

<<: unzip -l informenter.xpi

Archive: informenter.xpi
Length Date Time Name


 1173  04-25-17 11:15   META-INF/zigbert.rsa
  663  04-25-17 11:15   META-INF/manifest.mf
  771  04-25-17 11:15   META-INF/zigbert.sf

203211 09-12-11 10:13 chrome/informenter.jar
2209 09-10-11 19:12 chrome.manifest
124 08-01-05 00:43 defaults/preferences/informenter.js
2204 09-12-11 10:14 install.rdf

But when I try to install the add-on, Firefox reports that “the add-on could not be installed because it appears to be corrupt”.

What could be wrong and how do I get the xpi to work for me ? Thanks for any help.
Manish Jain

Add-ons need to be signed with the Mozilla certificate in order to work in release versions of Firefox. Check out this documentation for more information: