Reputation: 403
I'm getting this message in Firefox browser console: "Signature Verification Error: the signature on this .jar archive is invalid because the certificate used to sign this file has an unrecognized issuer." It's very strange because I've used this certificate in previous version of Firefox and my extension was recognized as signed. My current Firefox version is 38.0.5.
Upvotes: 1
Views: 2071
Reputation: 33356
There are multiple possibilities for this. Without more information, it is not possible to narrow down exactly what is causing your issue. What CA are you using, OS, what was the last version of Firefox in which it worked, etc.?
For instance, it could be that the following bugs were fixed:
Other certificate related bugs fixed:
It could also be that the reason for this is that Mozilla has changed/is changing to requiring all extensions to be signed through addons.mozilla.org (AMO). Self signing will no longer be acceptable unless explicitly enabled within Firefox. The reason for this change is to "protect users from malware and extensions that haven't been reviewed."
As of this point, all extensions that have been reviewed on AMO have been signed. This occurred on or around 2015-05-28. It is possible that one change in Firefox was to require that the issuer of all certificates be AMO. I did not see that this change had been implemented in 38.0.5, but I do expect that it will be a requirement. When it is, an error such as you have reported would be generated and the extension not be permitted to be installed (unless checking for signing has been disabled). I was under the impression that this was supposed to be enabled as of Firefox 40, but some portion of it may have made it into 38.0.5 and be causing your issue.
AMO sent out the following email to add-on developers in late May:
Dear add-on developer,
Mozilla will begin signing all add-ons in order to protect users from malware and extensions that haven't been reviewed. Here's what you need to know about the new process:
No action is required for add-ons distributed via addons.mozilla.org (AMO). On May 28, 2015, the latest versions of your existing add-ons will be automatically signed and pushed as updates to your users, after which you will receive an email notification. Starting on June 1, all files you submit will be signed after they pass review.
If you have add-ons that are not distributed via AMO, including beta versions or debug builds, there will be a new option in the add-on submission process to submit these as unlisted add-ons starting on June 1. Starting around June 15th, users of builds based on Firefox 40 or higher (currently Nightly and Developer Editions) will see unsigned add-ons disabled by default, with the option to bypass the signature check to re-enable them. Users will no longer be able to bypass the signature check when builds based on Firefox 41 reach beta, on or around August 11.
The Firefox add-on distribution agreement has also been updated to reflect the new distribution options and clarify our review policies. You can read the updated agreement here: https://developer.mozilla.org/Add-ons/AMO/Policy/Agreement
If you have any questions or concerns, read the add-on signing FAQ or visit our forums:
FAQ: https://wiki.mozilla.org/Addons/Extension_Signing
Forums: https://forums.mozilla.org/viewforum.php?f=7Sincerely, The Add-ons Team
You are receiving this email because you have an add-on hosted on
addons.mozilla.org. Per our terms of service, we may occasionally
contact you about issues relevant to your specific add-ons.
Upvotes: 1