Thank you everyone for the replies. So does the root certificate need to be present in the "Trusted Root Certification Authorities Store"? I have tried that with no success. Also I wouldn't want to use the system stores. So where would the root certificate be used?
Is there a quick sample for mutual authentication on the client side that you can present (including the use of certificates)? Thanks. --- Sebastien Pouliot <[EMAIL PROTECTED]> wrote: > 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 > > __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
