Firefox 4 Doesn't Recognize New Thawte Code Signing Cert

We just got a new code signing cert from Thawte and after getting it installed, I discovered that Firefox 4 would still show "Author not verified" when installing the XPI. After doing some research, I found this bug - Turn on the code signing trust bit for the Thawte Primary Root CA. It has some information on a workaround, but it wasn't very detailed so I thought I would post it for everyone.

Here's what I did:

Per the Thawte instructions, I use on IE on Windows to manage my certs. After importing my new cert into IE, the first step was to export it. Important: When you export the PFX file do NOT check the box to include all the certificates in the certification path.

Next, I created a new cert database using: certutil -N -d .

Then I imported my cert using pk12util: pk12util -i {filename}.pfx -d

Thawte has created a new intermediate cert to work around this problem. It can be downloaded here.

You need to download it and import it into your database using this command:

certutil -t "c,c,C" -n "thawte" -A -d .< new_thawte.cer

You should now be able to sign your XPI.

One other thing I ran into was finding a version of NSS that worked properly. I ended up using this one.

6 Responses to “Firefox 4 Doesn't Recognize New Thawte Code Signing Cert”

  1. Tony Mechelynck July 13, 2011 at 11:56 am #

    Per the Thawte instructions, I use on IE on Windows to manage my certs.
    Does this means that anyone running on a Mac or on Linux is left out in the cold?

    • Mike Kaply July 13, 2011 at 12:26 pm #

      I don't think so, but I know that the easiest way to get your cert into a PFX file is to use IE.

      When Thawte gives you the cert, they provide is as text in the file as well, so I'm assuming you can use that.

    • Rick Alther July 18, 2011 at 11:36 pm #

      On Linux you can use openSSL to convert the cert to any format you want (including PFX).

  2. Lochinvar July 14, 2011 at 2:55 pm #

    Hello Mike.
    We just ran into the same issue with our IE browser helper object. I had to use the certmgr.msc to inport the intermediate cert before resigning our binaries and installers. This was on xp where certutil doesn't exist. Thanks for the pointers.

Trackbacks/Pingbacks:

  1. Michael Kaply: Firefox 4 Doesn’t Recognize New Thawte Code Signing Cert | Firefox Latest News - July 12, 2011

    [...] Planet Mozilla No Comments July 12, 2011 By Giovanni Panasiti in Planet Mozilla Tags: Cert, Code, Doesn’t, Firefox, Kaply, Michael, Recognize, Signing, Thawte « Mitchell Baker: Watching Brendan Delegate Authority — now (June 2011) and then (Jan, 1999) [...]

  2. Mozilla Fire Fox 4.0.1- free download for windows XP, vista, windows 7 - July 14, 2011

    [...] Firefox 4 Doesn’t Recognize New Thawte Code Signing Cert (mike.kaply.com) [...]

Leave a Reply:

Gravatar Image