Hi, I'm back... ...and the good news is that as a result of an unrelated issue, I've found what's needed to make this work in 1.9.0. We recently switched from using NS_InitXPCOM2 to XRE_InitEmbedding at startup time, because it was suggested that NS_InitXPCOM2 could be disappearing in 1.9.2. However our startup sequence computes the profile directory a bit after this call, so an XRE_NotifyProfile was needed as well. Once this was added then the bad certificate scenario began working in 1.9.0 similar to how it was working in 1.9.1.
Thanks again for your response, Grant "Nelson B Bolyard" <[email protected]> wrote in message news:[email protected]... > On 2009-07-31 14:41 PDT, Grant Gayed wrote: > > Hi Nelson, thanks for the quick response, > > > > I think it is looking for a certificate object. I don't have a full stack, > > but here's a partial list of the calls that lead up to the C_FindObjects() > > invocation (firefox 3.0.9): > > > > find_objects (NSSToken *,nssSession > > *,CK_ATTRIBUTE_PTR,CK_ULONG,PRUint32,PRStatus *) <-- calls C_FindObjects() > > ... > > PK11_FindCertFromNickname > > CERT_FindCertByNickname > > SEC_CertNicknameConflict > > nsNSSCertificate::defaultServerNickname > > nsCertOverrideService::RememberValidityOverride > > It's trying to save a certificate, and it is asking "Is there already a > certificate in the DB with this same label (a.k.a. nickname)? " > and in this case, the answer is: no. > > Is this the same stack on both code versions? > If so, it simply means that one of your test setups has a cert already > in the cert DB that the other does not. -- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

