[Mono-bugs] [Bug 75621][Nor] New - WebResponse TrustFailure

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 24 15:06:46 EDT 2005


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 ben.motmans at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75621

--- shadow/75621	2005-07-24 15:06:46.000000000 -0400
+++ shadow/75621.tmp.18555	2005-07-24 15:06:46.000000000 -0400
@@ -0,0 +1,57 @@
+Bug#: 75621
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.Security
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: ben.motmans at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: WebResponse TrustFailure
+
+Versions:
+mono/mcs r47612
+
+Test case:
+using System;
+using System.Net;
+
+public class Test
+{
+        public static void Main (string[] args)
+        {
+                WebRequest rq = HttpWebRequest.Create (new Uri
+("https://nexus.passport.com/rdr/pprdr.asp"));
+                using (WebResponse rp = rq.GetResponse ()) {
+                        Console.WriteLine ("ok");
+                }
+        }
+}
+
+Result:
+Unhandled Exception: System.Net.WebException: Error getting response stream
+(Trust failure): TrustFailure ---> System.IO.IOException: The
+authentication or decryption has failed.
+in <0x0027c> Mono.Security.Protocol.Tls.SslClientStream:NegotiateHandshake ()
+in <0x000b5> Mono.Security.Protocol.Tls.SslClientStream:BeginWrite
+(System.Byte[] buffer, Int32 offset, Int32 count, System.AsyncCallback
+callback, System.Object state)
+in <0x0001b> Mono.Security.Protocol.Tls.SslClientStream:Write
+(System.Byte[] buffer, Int32 offset, Int32 count)
+in <0x0003c> System.Net.WebConnection:Write (System.Byte[] buffer, Int32
+offset, Int32 size)--- End of inner exception stack trace ---
+
+in <0x00102> System.Net.HttpWebRequest:EndGetResponse (IAsyncResult
+asyncResult)
+in <0x00047> System.Net.HttpWebRequest:GetResponse ()
+in <0x00041> Test:Main (System.String[] args)
+
+Additional Information:
+The sample works fine on MS.Net 1.1


More information about the mono-bugs mailing list