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: [EMAIL PROTECTED] blog: http://pages.infinit.net/ctech/poupou.html > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Cem Ballim > Sent: 1 avril 2005 10:09 > To: [email protected] > 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
