[Mono-bugs] [Bug 69805][Blo] New - SslClientStream - Server Certificate Validation
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 22 Nov 2004 13:41:55 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by meddochat@zonnet.nl.
http://bugzilla.ximian.com/show_bug.cgi?id=69805
--- shadow/69805 2004-11-22 13:41:55.000000000 -0500
+++ shadow/69805.tmp.19293 2004-11-22 13:41:55.000000000 -0500
@@ -0,0 +1,52 @@
+Bug#: 69805
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details: .NET Framework v1.1
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: Mono.Security
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: meddochat@zonnet.nl
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: SslClientStream - Server Certificate Validation
+
+Description of Problem:
+ I get an exception while using SslClientStream to connect to
+https://www.sourceforge.net and ftp.netwinsite.com (using secure ftp).
+after modifying the Mono.Security.dll a bit so it shows the real
+exception, i figured out i get the following exception:
+
+System.IO.IOException: The authentication or decryption has failed.
+ at Mono.Security.Protocol.Tls.SslClientStream.NegotiateHandshake()
+ at Mono.Security.Protocol.Tls.SslClientStream.BeginRead(Byte[] buffer,
+Int32
+offset, Int32 count, AsyncCallback callback, Object state)
+ at Mono.Security.Protocol.Tls.SslClientStream.Read(Byte[] buffer, Int32
+offse
+t, Int32 count)
+ at Indy.Sockets.Tls.IOHandlerTls.SetPassThrough(Boolean AValue) in
+d:\project
+s\dotnet\Indy.Sockets.Tls\Indy.Sockets.Tls\IOHandlerTls.cs:line 244
+
+
+Steps to reproduce the problem:
+1. Compile the source in the attached file to an executable and execute
+the binary
+
+Actual Results:
+ you'll get an exception and some debugging information. i changed
+mono.security so that i see the exception which really occurs.
+
+Expected Results:
+you shouldn't get an exception
+
+How often does this happen?
+ always
+
+Additional Information: