[Mono-bugs] [Bug 591064] New: Problems with HTTPS since update to Version 1.5

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 25 05:53:12 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=591064

http://bugzilla.novell.com/show_bug.cgi?id=591064#c0


           Summary: Problems with HTTPS since update to Version 1.5
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: d.seeber at sentris.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-de)
AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10

Since the update to MonoTouch 1.5 we have serious problems with HTTPS.

Until Version 1.4.7 we used the
ServicePointManager.ServerCertificateValidationCallback to access HTTPS sites.
But since Version 1.5 the callback handler doesn't get called. Instead we get
the following Exception:

System.Net.WebException: Error writing request: The authentication or
decryption has failed.  at System.Net.WebConnectionStream.WriteHeaders ()
[0x0003c] in
/Developer/MonoTouch/Source/mcs/class/System/System.Net/WebConnectionStream.cs:653
at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) [0x00093]
in
/Developer/MonoTouch/Source/mcs/class/System/System.Net/WebConnectionStream.cs:622
at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error)
[0x00169] in
/Developer/MonoTouch/Source/mcs/class/System/System.Net/HttpWebRequest.cs:1124,
Error writing request: The authentication or decryption has failed.  

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
System.Net.WebException: Error writing request: The authentication or
decryption has failed.  at System.Net.WebConnectionStream.WriteHeaders ()
[0x0003c] in
/Developer/MonoTouch/Source/mcs/class/System/System.Net/WebConnectionStream.cs:653
at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) [0x00093]
in
/Developer/MonoTouch/Source/mcs/class/System/System.Net/WebConnectionStream.cs:622
at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error)
[0x00169] in
/Developer/MonoTouch/Source/mcs/class/System/System.Net/HttpWebRequest.cs:1124,
Error writing request: The authentication or decryption has failed.  

Expected Results:  
Working HTTPS communication without exceptions.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list