[Mono-list] Mono.Security.Protocol.Tls

Matthijs ter Woord (meddochat) meddochat@zonnet.nl
Sun, 3 Apr 2005 09:25:57 +0200


Hi Sebastien,

Sorry for spelling your name wrong


Greets,

Matthijs ter Woord




----- Original Message ----- 
From: "Sebastien Pouliot" <spouliot@videotron.ca>
To: "Cem Ballim" <cemballim@yahoo.com>; <mono-list@lists.ximian.com>
Sent: Saturday, April 02, 2005 10:32 PM
Subject: RE: [Mono-list] Mono.Security.Protocol.Tls


> Hello Cem,
>
> I haven't used mutual authentication myself but your error,
CERT_E_CHAINING,
> occurs much before that.
>
> As Matthijs pointed out, you don't seem to have the root certificate
> installed on your system.
>
> Try "man certmgr" and the FAQ to fix this.
> http://www.mono-project.com/FAQ:_Security
>
> As for the
> > #warning "Client certificate selection is unfinished"
>
> this is (IIRC) more a "selection" problem than a functionality problem.
> Carlos (the SSL/TLS code author) would be able to confirm that.
>
> Sebastien Pouliot
> home: spouliot@videotron.ca
> blog: http://pages.infinit.net/ctech/poupou.html
>
>
> > -----Original Message-----
> > From: mono-list-admin@lists.ximian.com
> > [mailto:mono-list-admin@lists.ximian.com]On Behalf Of Cem Ballim
> > Sent: 1 avril 2005 10:09
> > To: mono-list@lists.ximian.com
> > Subject: [Mono-list] Mono.Security.Protocol.Tls
> >
> >
> > Hello,
> >
> > Is there any sample for mutual authentication via Tls
> > using SslClientStream and SslServerStream?
> >
> > I have tried to implement this, but I am receiving the
> > following error from the client [SslClientStream s =
> > new SslClientStream (ns, "server",
> > true,Mono.Security.Protocol.Tls.SecurityProtocolType.Tls,xcertcoll)]
> > implementation:
> >
> > Error #-2146762486: CERT_E_CHAINING 0x800B010A
> > The authentication or decryption has failed.   at
> > Mono.Security.Protocol.Tls.SslClientStream.NegotiateHandshake()
> >    at
> > Mono.Security.Protocol.Tls.SslClientStream.BeginWrite(Byte[]
> > buffer, Int32 offset, Int32 count, AsyncCallback
> > callback, Object state)
> >    at
> > Mono.Security.Protocol.Tls.SslClientStream.Write(Byte[]
> > buffer, Int32 offset, Int32 count)
> >    at System.IO.StreamWriter.Flush(Boolean
> > flushStream, Boolean flushEncoder)
> >    at System.IO.StreamWriter.Flush()
> >
> > The server implementation is:
> > SslServerStream s = new SslServerStream (ns, xcert,
> > true,
> > true,Mono.Security.Protocol.Tls.SecurityProtocolType.Tls)
> >
> > Thank you,
> >
> > Cem
> >
> >
> >
> >
> >
> > __________________________________
> > Yahoo! Messenger
> > Show us what our next emoticon should look like. Join the fun.
> > http://www.advision.webevents.yahoo.com/emoticontest
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>