Re: How to add custom badCertHandler

2006-04-11 Thread Kate X
"Christian Biesinger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Kate X wrote: >> Would anybody give me a hint of how to add my custom badCertHandler, or >> anyother solution for this problem? > > You can either register a global badCertHandler by implementing > nsIBadCertLis

Re: How to add custom badCertHandler

2006-04-10 Thread Christian Biesinger
Kate X wrote: Would anybody give me a hint of how to add my custom badCertHandler, or anyother solution for this problem? You can either register a global badCertHandler by implementing nsIBadCertListener with a contract ID of "@mozilla.org/nsBadCertListener;1". Or, in Gecko 1.8 and later, y

Re: How to add custom badCertHandler

2006-04-10 Thread Kate X
Thanks for reply. I see what you mean. For now, on our server we just generate this certificate for testing, so it is not real valid cert. Using firefox, if I permanently accept the certificate, the warning won't popup again. can I do the same thing in my client application? Thanks, "Nelson B"

Re: How to add custom badCertHandler

2006-04-09 Thread Nelson B
Kate X wrote: > Hi, Now I am kind of stuck at this: > We are building application using xpcom components. I am trying to add SSL > support for our client, and I am using nsIHttpChannel interface to request a > HTTP/HTTPS page. For HTTP works fine, when trying to open HTTPS page, first > it will