On Apr 14, 11:09 am, Doug Turner <[EMAIL PROTECTED]> wrote:
> On Apr 13, 2008, at 10:19 PM, krithika wrote:
>
>
>
> > On Apr 14, 10:12 am, Doug Turner <[EMAIL PROTECTED]> wrote:
> >> no.
>
> >> You can check out this:https://bugzilla.mozilla.org/show_bug.cgi?id=378520
> >> andhttps://bugzilla.mozilla.org/show_bug.cgi?id=388550
>
> >> Doug Turner
>
> >> On Apr 13, 2008, at 10:04 PM, krithika wrote:
>
> >>> How do I disable the https certificate dialog popups ( which nsIPref
> >>> allows
> >>> embedded browser to accept all server certificates).I need this
> >>> because Iam running it in command line in a headless way.
>
> >>> Is there a trustall kind of nsIPref?
>
> >>> Thanks in Advance,
> >>> Krith
> >>> _______________________________________________
> >>> dev-embedding mailing list
> >>> [EMAIL PROTECTED]
> >>>https://lists.mozilla.org/listinfo/dev-embedding
>
> > Thanks for such a fast response.I am embedding gecko engine and using
> > it in headless mode.Is there any other means to achieve this if not
> > from preference?. Without https support my embedding will not be of
> > any use to me.
>
> The first bug has a javascript component that you can probably use or
> adapt to what you are doing.  it should suppress the security
> dialogs.  Keep in mind, that doing this will disabled the security of
> SSL (anyone can pretend to be whomever they want and your command line
> tool will not know the difference)
>
> Doug


Thanks.How do I do that via javascript.Can you give me some pointers.?

Regarding security

>Keep in mind, that doing this will disabled the security of
> SSL (anyone can pretend to be whomever they want and your command line
> tool will not know the difference)

Iam aware of this and my stuff will run on the server-side and for our
requirement it is ok to trust everything.


Thanks ,
Krithi
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to