Last Comment Bug 96779 - UserCertConflictException always gets thrown when importing user cert
: UserCertConflictException always gets thrown when importing user cert
Product: JSS
Classification: Components
Component: Library (show other bugs)
: 3.1
: All All
-- normal (vote)
: 3.1.1
Assigned To: Jamie Nicolson
: somni
Depends on:
  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:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image 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 User image Jamie Nicolson 2001-09-25 14:45:12 PDT
I removed the check. It looks like NSS > 3.3 will silently ignore the second

Fixed in mozilla/security/jss/org/mozilla/jss/manage/PK11Finder.c on
JSS_3_1_BRANCH ( 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.