Hi All, I have an embedding browser app to load a url to a secure server which transfers its certificate to the browser. I expect that the borwser pops up the dialog to warn the user the new server certificate because the client hasn't known the certificate before. However, the browser doesn't pop up the dialog and fails silently. The embedding browser is based on mfcembed example except that I didn't use proflemgr, preference classes implemented in the example. I tested original mfcembed and mozilla. They did pop up the warning dialog even if the mfcembed duplicates the popup dialog. I had made sure that my embedding browser is running the same env as mozilla and mfcembed so that config files such as pippki.properties and newserver.properties are existing properly. As I debugged through the original mfcembed. I found that XPTC_InvokeByIndex calls nsNSSDialogs::UnknownIssuer which in turn eventually calls CBrowsrImpl::CreateBrowserWindow to create the popup warning dialog. However, when I tested against my embedding browser, it never reached the point in which XPTC_InvokeByIndex calls nsNSSDialogs: :UnknownIssuer. Could anyone see what I have missed out?
Thanks a lot
begin:vcard n:; x-mozilla-html:FALSE adr:;;;;;; version:2.1 note;quoted-printable:-------------=0D=0AThis e-mail is solely for the use of the intended recipient and may=0D=0Acontain information which is confidential or privileged. Unauthorised=0D=0Ause of its contents is prohibited. If you have received this e-mail in=0D=0Aerror, please notify the sender immediately via return e-mail and then=0D=0Adelete the original e-mail. x-mozilla-cpt:;-2080 end:vcard
