mail-archives/mono-bugs/2008-September/080080.html

171 строка
5.3 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:03:35 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 430504] New: [2.0 on Win] SslStream.BeginAuthenticateAsServer() does not work
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20430504%5D%20New%3A%20%5B2.0%20on%20Win%5D%0A%20SslStream.BeginAuthenticateAsServer%28%29%20does%20not%20work&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="080104.html">
<LINK REL="Next" HREF="080203.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 430504] New: [2.0 on Win] SslStream.BeginAuthenticateAsServer() does not work</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20430504%5D%20New%3A%20%5B2.0%20on%20Win%5D%0A%20SslStream.BeginAuthenticateAsServer%28%29%20does%20not%20work&In-Reply-To="
TITLE="[Mono-bugs] [Bug 430504] New: [2.0 on Win] SslStream.BeginAuthenticateAsServer() does not work">bugzilla_noreply at novell.com
</A><BR>
<I>Sun Sep 28 15:09:02 EDT 2008</I>
<P><UL>
<LI>Previous message: <A HREF="080104.html">[Mono-bugs] [Bug 430488] HttpApplication.PipeLine assumes IAsyncResult. AsyncState is always IHttpAsyncHandler
</A></li>
<LI>Next message: <A HREF="080203.html">[Mono-bugs] [Bug 430504] [2.0 on Win] SslStream.BeginAuthenticateAsServer() does not work
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#80080">[ date ]</a>
<a href="thread.html#80080">[ thread ]</a>
<a href="subject.html#80080">[ subject ]</a>
<a href="author.html#80080">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=430504">https://bugzilla.novell.com/show_bug.cgi?id=430504</A>
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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">awunwpa7 at yahoo.com.ph</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="080104.html">[Mono-bugs] [Bug 430488] HttpApplication.PipeLine assumes IAsyncResult. AsyncState is always IHttpAsyncHandler
</A></li>
<LI>Next message: <A HREF="080203.html">[Mono-bugs] [Bug 430504] [2.0 on Win] SslStream.BeginAuthenticateAsServer() does not work
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#80080">[ date ]</a>
<a href="thread.html#80080">[ thread ]</a>
<a href="subject.html#80080">[ subject ]</a>
<a href="author.html#80080">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>