This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

How do I view code signing certificates?

  • 2 amsoshi
  • 1 yana da wannan matsala
  • 20 views
  • Amsa ta ƙarshe daga cor-el

more options

Given that code signing certificate expirations are a problem for add-ons:

  • As a user, how do I view the list of code signing certificates my browser trusts for add-ons, with their expiration dates and trust chain?
  • As a user, how do I view the signing certificate chain for each of my installed extensions?
  • As an extension developer, what do I need to do when a certificate that was used to sign my extension expires?

(If, for any of the above questions, the simple answer is “there is no UI in Firefox to do this”, then I want to know the complicated answer, namely, in which files/databases/etc these are stored, in which data formats, and which existing third-party tools can be used to view them.)

Given that code signing certificate expirations are a problem for add-ons: * As a user, how do I view the list of code signing certificates my browser trusts for add-ons, with their expiration dates and trust chain? * As a user, how do I view the signing certificate chain for each of my installed extensions? * As an extension developer, what do I need to do when a certificate that was used to sign my extension expires? (If, for any of the above questions, the simple answer is “there is no UI in Firefox to do this”, then I want to know the complicated answer, namely, in which files/databases/etc these are stored, in which data formats, and which existing third-party tools can be used to view them.)

All Replies (2)

more options

Hi yurikhan, I don't know whether the Certificate Manager on the Preferences page lists the relevant certificate.

Perhaps the question would be better address to the Add-ons team over on their forum, at least to identify which certificate we would be looking for:

https://discourse.mozilla.org/c/add-ons

I think there would be at most a few certificates because the signing process runs through the Mozilla Add-ons site submission process, the developers do not apply their own certificates.

more options

The certificate of a signed extension is in the Mozilla.rsa file in the META-INF folder.

Example of the certificate extension:

-----BEGIN PKCS7-----
MIIRDwYJKoZIhvcNAQcCoIIRADCCEPwCAQExCTAHBgUrDgMCGjALBgkqhkiG9w0B
BwGggg2gMIIGazCCBFOgAwIBAgIIFZtud46IP3gwDQYJKoZIhv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