We are working with a company that runs its own CA and issues certificates to all of its employees, and I will be receiving digitally signed and/or encrypted email messages using S/MIME from various employees there. I primarily use Thunderbird as my MUA, so I had to setup the proper certificates within Thunderbird in order to exchange encrypted and/or digital signed email messages with the employees of this company.
Now, I did not want to have to configure each certificate received for each of the company’s employee – I just wanted to import the company’s CA’s certificate in Thunderbird (version 1.5.0.x) and set that as trusted for verifying certificates for email purposes. Upon receiving my first digital signed message, I tried to pull the certificates included with the S/MIME digital signature (PKCS#7 format) into Thunderbird, but there was no clear way to do so – I could view the signer’s certificate and the signature itself, but I did not see any way to pull the signer’s certificate directly into Thunderbird and configure for what purposes I trusted that certificate. More importantly for my goal, there was no way to even view the CA certificate included with the signature through Thunderbird.
So, I ended up doing the following to extract the CA certificate included with the S/MIME digital signature and import the CA certificate into Thunderbird.
- In Thunderbird, viewed the source of the email message containing the signature (Open message and View->Message Source).
- In Thunderbird, select and copied the contents of the signature (the MIME part of Content-Type: application/x-pkcs7-signature) from the message source.
- In favorite editor, pasted this into a text file that I named smime.p7s.
- On Windows, opened this file using the Certificates snap-in for MMC, which allowed browsing of the certificates contained within the S/MIME digital signature blob and exporting them. (To install the Certificates snap-in, Start->Run and type in “mmc” in the text box and hit enter. In MMC, go to File->Add/Remove Snap-in->Add->Certificates.)
- Using the Certificates snap-in, exported the CA’s certificate as a DER-encoded binary X.509 (Right click on the certificate, All Tasks->Export and follow the dialog)
- Back in Thunderbird, imported this into Thunderbirds certificate store (Tools->Options->Privacy->Security->View Certificates->Authorities->Import and follow the dialog).
Important note: If you have the Enigmail plugin set to Automatically Decrypt/Verify Messages, then it could conflict with the builtin S/MIME functionality of Thunderbird. I recommend unchecking that option (OpenPGP->Automatic Decrypt/Verify Messages).
After importing the CA certificate and trusting it for email purposes, Thunderbird then automatically pulled end user certificates issued by that CA into its store from digital signed email messages.
(For some reason, I feel there has to be an easier way to accomplish this. Please feel free to comment.)
-
Setting up my own certificates for S/MIME was quite a bit easier. To import my key pair (PKCS#12 format), select Tools->Options->Privacy->Security->View Certificates->Your Certificates->Import and follow the dialog. Then, to setup S/MIME for a particular account, Tools->Accounts-><select account and expand options>->Security and select the appriopriate certificates for digital signatures and encryption.
-
Every once in a while, one of my Thunderbird accounts for feeds stops updating the various subscribed feeds with new posts. Courtesy of this thread, to fix this problem, I exited Thunderbird and removed the “feeditems.rdf” file (I did not need to remove “feeds.rdf”) from the directory where Thunderbird stored the information for that troublesome feed account (the appropriate directory was somewhere like “<Profile Location>/Mail/News & Blogs-<index number>”.) Upon restarting Thunderbird, the subscribed feeds updated again.
-
The best reference for the advanced configuration options (i.e., about:config) in Thunderbird (and Firefox) that I have found is here, although the list of settings is incomplete (at least, for Thunderbird 1.5), so you may still have to search around for more information. Also note, the Firefox settings are distinct from the Thunderbird settings, so changes like those described here for Firefox will not be automatically applied to Thunderbird.