https://bugzilla.novell.com/show_bug.cgi?id=346635
Summary: HttpWebRequest: SSL implementation differences
Product: Mono: Class Libraries
Version: SVN
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Found By: ---
Apparently Mono's HttpWebRequest checks the SSL certificate when creating the
request while the MS HttpWebRequest only does this request retrieving the
response.
Also, the WebException that we throw does not contain any useful information on
the cause of the failure:
Mono:
System.Net.WebException: Error writing request.
MS:
System.Net.WebException: The underlying connection was closed: Could not
establi
sh trust relationship for the SSL/TLS secure channel. --->
System.Security.Authe
ntication.AuthenticationException: The remote certificate is invalid according
t
o the validation procedure.
To reproduce, compile and run the attached source code.
--
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs