[Mono-bugs] [Bug 573326] WCF call in MonoTouch fails when BasicHttpSecurityMode is set to TransportWithMessageCredential

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 23 22:42:43 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=573326#c1


--- Comment #1 from Kevin Boucher <kevin.boucher at gmail.com> 2010-01-24 03:42:36 UTC ---
After looking at this forever, I ran:

netsh http show sslcert 

and realized I had the wrong port number!

At this point monotouch gives me this error:

Exception in async operation: System.Net.WebException: Error writing request:
The authentication or decryption has failed.
  at System.Net.WebConnectionStream.WriteHeaders () [0x00050] in
/Developer/MonoTouch/Source/mcs/class/System/System.Net/WebConnectionStream.cs:654 
  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 

I guess I either need to install the cert on the simulator/device or use a
valid CA?

-- 
Configure bugmail: http://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