Last Comment Bug 96779 - UserCertConflictException always gets thrown when importing user cert
: UserCertConflictException always gets thrown when importing user cert
Status: RESOLVED FIXED
:
Product: JSS
Classification: Components
Component: Library (show other bugs)
: 3.1
: All All
: -- normal (vote)
: 3.1.1
Assigned To: Jamie Nicolson
: somni
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-23 22:24 PDT by Jamie Nicolson
Modified: 2001-09-25 14:45 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Jamie Nicolson 2001-08-23 22:24:12 PDT
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.
Comment 1 Jamie Nicolson 2001-09-25 14:45:12 PDT
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.

Note You need to log in before you can comment on or make changes to this bug.