[Mono-bugs] [Bug 346635] New: HttpWebRequest: SSL implementation differences

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 6 14:59:32 EST 2007


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: mono-bugs at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at ximian.com
          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.


More information about the mono-bugs mailing list