UserCertConflictException always gets thrown when importing user cert

RESOLVED FIXED in 3.1.1

Status

JSS
Library
RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: Jamie Nicolson, Assigned: Jamie Nicolson)

Tracking

Details

(Assignee)

Description

16 years ago
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.
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → 3.1.1
(Assignee)

Comment 1

16 years ago
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
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.