[Mono-bugs] [Bug 430504] New: [2.0 on Win] SslStream.BeginAuthenticateAsServer() does not work
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Sep 28 15:09:02 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=430504
Summary: [2.0 on Win] SslStream.BeginAuthenticateAsServer() does
not work
Product: Mono: Class Libraries
Version: 2.0
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: awunwpa7 at yahoo.com.ph
QAContact: mono-bugs at lists.ximian.com
Found By: Beta-Customer
Description of Problem:
The ssl authentication does not work correct in my environment. This concerns
only the server, whereas the client works.
If I use the MS framework for the server part, I'm able to authenticate with
both a MS and a MONO client. But as soon as MONO takes the server part, no
working connection results (neighter with a MS client, nor with a MONO one). So
the client functionality is quite the same with both frameworks.
The problem is that the asynchronous callback function of the server is never
called in MONO, so that the server can't move along. In contrast (with both
frameworks) the client's async callback gets invoked and so the client beliefs
that a working sll connection is available, but of course cannot receive any
data, since the server does not correspond anymore.
Steps to reproduce the problem:
1. Set up a client and a server, and let them connect via tcp.
2. Use a SslStream to authenticate client and server asynchronously. Let the
server use the BeginAuthenticateAsServer() function.
My call to this function is not spectacular and uses only simple parameters:
BeginAuthenticateAsServer(MyValidCert, false, SslProtocols.Default, false, new
AsyncCallback(asyncCallback), MyContext);
Actual Results:
Although the client does it's part, the server never calls it's own callback
routine.
Expected Results:
With the MS framework the server's callback is invoked in zero time and a
working ssl connection results. Tested a thousand times already.
How often does this happen?
Always (on Windows).
Additional Information:
Tested with MONO 2.0 rc1.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list