Closed Bug 96779 Opened 24 years ago Closed 24 years ago

UserCertConflictException always gets thrown when importing user cert

Categories

(JSS Graveyard :: Library, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jamie-bugzilla, Assigned: jamie-bugzilla)

Details

The test on line 947 of PK11Finder.c is if(certExists). Actually, certExists tells whether the associated key exists, which it will for a user cert. So generally importing user certs will fail.
Status: NEW → ASSIGNED
Target Milestone: --- → 3.1.1
I removed the check. It looks like NSS > 3.3 will silently ignore the second certificate. Fixed in mozilla/security/jss/org/mozilla/jss/manage/PK11Finder.c on JSS_3_1_BRANCH (1.5.4.2) and trunk (1.7). Michelle verified that she can now import a cert into CMS. To be really sure that this was the right fix, CMS should try it out with hardware, CA cert renewal, and all the other wacky situations they run into.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.