Google mozroots and certmgr. Although there is a bug I filed if your
app runs from, say Apache, you should be able to get running using the
official method of importing certs. This is the safest and suggested
way to interact with SSL, especially if you're distributing the app.

-Abe

On Wed, Jul 28, 2010 at 3:05 PM, Jensen Somers <[email protected]> wrote:
> On Wed, Jul 28, 2010 at 16:15, Sebastien Pouliot
> <[email protected]> wrote:
>> On Tue, 2010-07-27 at 22:52 +0200, Jensen Somers wrote:
>>> Error getting response stream (Trust failure): TrustFailure
>>
>> Google the above, fist link is:
>> http://www.mono-project.com/UsingTrustedRootsRespectfully
>>
>> More information in the wiki's Security FAQ
>>
>> Sebastien
>>
>>
>
> OK, after some trial and error I found that using
> ServicePointManager.CertificatePolicy = new Trusts (); where Trusts
> implements a validator seems to work. This is obsolete as of .NET 2.0
> however and has been replaced with a callback mechanism. Unfortunately
> that fails and keeps throwing authentication errors. Putting pragma
> statements around the call solved it for now as I can access and
> request all necessary information.
>
> Thanks for the tip!
>
> - Jensen
> _______________________________________________
> Mono-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to