[Mono-list] Authentication or decryption failure when accessing secure SOAP service (mono 2.6.3 (Debian 2.6.3-2~dhx1))

Abe Gillespie abe.gillespie at gmail.com
Thu Jul 29 09:31:06 EDT 2010


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 <jensen.somers at gmail.com> wrote:
> On Wed, Jul 28, 2010 at 16:15, Sebastien Pouliot
> <sebastien.pouliot at gmail.com> 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  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


More information about the Mono-list mailing list