Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128389 - mozilla-thunderbird-1.5-r2: problem importing pkcs12 certificate
Summary: mozilla-thunderbird-1.5-r2: problem importing pkcs12 certificate
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-01 08:21 UTC by Martin von Gagern
Modified: 2006-08-16 12:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2006-04-01 08:21:06 UTC
I tried to get Thunderbird working with a PKCS12 certificate from CAcert, but I could never select this certificate for my account.

I used the following steps:
 1. open Account Settings
 2. Security
 3. View Certificates
 4. Import
 5. select PKCS12 file
 6. enter master password for software security device
 7. enter wrong password for PKCS12 file
 8. acknowledge error message
 9. enter correct password
10. now I'm back to Certificate Listing, which is still empty!
11. repeat 4,5,6,9,10 without improvement
12. close Account Settings, open Preferences
13. repeat 3,4,5,6,9,10 without improvement

I decided to restart thunderbird, and now I get the following behaviour, which is reproducible:

 1. restart thunderbird
 2. Edit / Preferences
 3. Certificates
 4. Certificate is listed in "Your Certificates"
 5. Close Preferences, open Account Settings
 6. Choose Security
 7. View Certificates
 8. No certificate listed in "Your Certificates"
 9. Close Account Settings, open Preferences
10. View Certificates
11. No certificates listed in "Your Certificates"

I still cannot sign emails, cannot select the certificate for my account:

1. Open Account Settings
2. Select Signing Certificate
3. "Certificate Manager can't locate a valid certificate that can be used to digitally sign your messages"

I can reproduce this bug with thunderbird-bin.

Looks a lot like an upstream bug to me, but maybe there is some strange setup about directory permissions or whatever that is Gentoo-specific, however unlikely.

I know I already had certificates working once. I'm not sure it was on this system, but I'm sure it was using this PKCS12 file. And I checked that openssl can parse it, convert it, and the thing is still valid.
Comment 1 Martin von Gagern 2006-04-01 12:02:07 UTC
I just tried on another system, running mozilla-thunderbird-1.5-r2 as well. Here everything works fine, though the certificate was already installed. I'll try to figure out differences, but any hints where to look are very much welcome.
Comment 2 Jory A. Pratt 2006-04-19 17:56:00 UTC
Please report problem upstream if you are still having issues even in -bin.
Comment 3 Martin von Gagern 2006-08-16 12:22:49 UTC
I forgot to check with the -bin build and didn't report an upstream issue either.
But I just fixed the issue by overwriting cert8.db and key3.db from my profile with a pair of files from a virgin profile where I had checked if I could import certificates just before. So probably one of these files was corrupted somehow.