[21647] in Athena Bugs
Re: sun4 9.1.25: mozilla fails to save certificate preference
daemon@ATHENA.MIT.EDU (Robert A Basch)
Thu Mar 20 20:14:14 2003
Date: Thu, 20 Mar 2003 20:14:11 -0500
Message-Id: <200303210114.UAA05271@abulia.mit.edu>
From: Robert A Basch <rbasch@MIT.EDU>
To: Camilla R Fox <cfox@MIT.EDU>
CC: Ron Hoffmann <hoffmann@MIT.EDU>, rbasch@MIT.EDU, bugs@MIT.EDU
In-reply-to: "[21643] in Athena Bugs"
I think I see the problem. Mozilla looks at the preference called
"security.default_personal_cert", which it expects to be set to
either "Select Automatically" or "Ask Every Time" (i.e. the choices
offered in the preferences editor); if the value is anything else,
it defaults to "Ask". However, as a comment in the code acknowledges,
the value might also be the "nickname" of a migrated certificate --
apparently, in Netscape, that preference could be set to such a
nickname -- and that is not currently supported in Mozilla. And
I imagine the "pre-existing" setting to an unrecognized value also
prevents you from over-writing it with the "Select" value.
To work around this, you should be able to delete the preference
setting, as follows:
1) Make sure you are not running Mozilla anywhere.
2) Edit ~/.mozilla/<profile>/<XXXXXXXX>.slt/prefs.js, where <profile>
is either your user name, or "default", and <XXXXXXXX> is a "random"
8-character string.
3) Delete the line beginning 'user_pref("security.default_personal_cert",'.
(The second argument is your certificate nickname).
4) Run Mozilla, and set the preference to "Select Automatically".
This time it should remember.
Bob