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

Reply via email to